locked
Please help me How to host web site on IIS with all Asp.net forms along with the Database for it. RRS feed

  • Question

  • User-1868929400 posted

    Hi All,

    Please Help me to find information regarding How to Host Asp.net web site on Local IIS server along with Database which is in MS SQL server with .bak file extension.

    Thanks,

    Regards,

    Jayesh(From India,Mumbai)

    Wednesday, June 21, 2017 12:13 PM

Answers

  • User-1509636757 posted

    along with Database which is in MS SQL server with .bak file extension.

    Please refer to this step by step guide along with images on Restoring the Database to SQL Server Here are those steps in short, please note that there can be some minor changes here and there to these steps (for example, using SQL Server Authentication instead of Windows in Step 1):

    1.  Click Start, select All Programs, click Microsoft SQL Server 2008 and select SQL Server Management Studio. This will bring up the Connect to Server dialog box. Ensure that the Server name YourServerName and that Authentication is set to Windows Authentication. Click Connect.
    2. On the right, right-click Databases and select Restore Database. This will bring up the Restore Database window.
    3. On the Restore Database screen, select the From Device radio button and click the … box. This will bring up the Specify Backup screen.
    4. On the Specify Backup screen, click Add. This will bring up the Locate Backup File.
    5. Select the DBBackup folder and chose your BackUp File.
    6. On the Restore Database screen, under Select the backup sets to restore: place a check in the Restore box, next to your data and in the drop-down next to To database: select DbName.
    7. And That is actually all to be done!

    How to Host Asp.net web site on Local IIS server

    Here is similar in detailed step by step guide on how you can host your asp.net application as a virtual directory inside localhost website: Deploy ASP.Net Website on IIS in Our Local Machine Here are the steps in short:

    1. Type inetmgr in the run command
    2. Right-click on Default Web Site and Add Application.
    3. Enter Alias name then select an Application pool and Physical path.
    4. And that's all it!
    5. Now right-click on your application and browse.

    In case, if IIS is not installed on your machine, then here is an article right from installation of IIS to hosting of website: How to host asp.net application on the web server (IIS)

    Here is another article on how you can host an ASP.NET application on IIS on a server OS environment: Deploying a website on IIS

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, June 21, 2017 1:20 PM

All replies

  • User-1509636757 posted

    along with Database which is in MS SQL server with .bak file extension.

    Please refer to this step by step guide along with images on Restoring the Database to SQL Server Here are those steps in short, please note that there can be some minor changes here and there to these steps (for example, using SQL Server Authentication instead of Windows in Step 1):

    1.  Click Start, select All Programs, click Microsoft SQL Server 2008 and select SQL Server Management Studio. This will bring up the Connect to Server dialog box. Ensure that the Server name YourServerName and that Authentication is set to Windows Authentication. Click Connect.
    2. On the right, right-click Databases and select Restore Database. This will bring up the Restore Database window.
    3. On the Restore Database screen, select the From Device radio button and click the … box. This will bring up the Specify Backup screen.
    4. On the Specify Backup screen, click Add. This will bring up the Locate Backup File.
    5. Select the DBBackup folder and chose your BackUp File.
    6. On the Restore Database screen, under Select the backup sets to restore: place a check in the Restore box, next to your data and in the drop-down next to To database: select DbName.
    7. And That is actually all to be done!

    How to Host Asp.net web site on Local IIS server

    Here is similar in detailed step by step guide on how you can host your asp.net application as a virtual directory inside localhost website: Deploy ASP.Net Website on IIS in Our Local Machine Here are the steps in short:

    1. Type inetmgr in the run command
    2. Right-click on Default Web Site and Add Application.
    3. Enter Alias name then select an Application pool and Physical path.
    4. And that's all it!
    5. Now right-click on your application and browse.

    In case, if IIS is not installed on your machine, then here is an article right from installation of IIS to hosting of website: How to host asp.net application on the web server (IIS)

    Here is another article on how you can host an ASP.NET application on IIS on a server OS environment: Deploying a website on IIS

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, June 21, 2017 1:20 PM
  • User-1868929400 posted

    Respected Kaushal Sir,

    Thanks for the information for my request regarding hosting Asp.net website.

    Thanks,

    Regards,

    Jayesh(From India,Mumbai)

    Thursday, June 22, 2017 3:59 AM