Skip to main content
Windward

Running your ASP.NET application on IIS

Overview

Running your ASP.NET application on IIS

Resolution

Downloads (starts ½ way through):

Configuring your Application

We are now going to move our ASP.NET sample application to IIS. This example uses IIS 5.0 on Windows XP.

 

  1. We assume you already have IIS and .NET 2.0 installed on your system. The example below shows installing the web application on IIS 5.1 running on Windows XP. IIS 6.0 on Windows 2003 is a little different.
  2. You need to register .NET 2.0 on your system if you have not done so yet. If you have other .NET 2.0 web apps running, then this has already been done. If you aren’t sure, run it again – it doesn’t hurt to run it twice. You need to run the program “aspnet_regiis.exe –i” which resides in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727. 
    Installing_the_ASP14_.jpg
  3. Copy the files and folders from our web app to C:\Inetpub\wwwroot. In this example I created a folder named WindwardASP because I already have a windward folder. So we copy this:
    Installing_the_ASP15_.jpg
    to: 
    Installing_the_ASP16_.jpg
  4. Bring up the Internet Information Services program (found in Administrative Tools). If it is already up, right click on the “Default Web Site” and click Refresh. Then right click on WindwardASP and select properties: 
    Installing_the_ASP17_.jpg
  5. Click the button Create: 
    Installing_the_ASP18_.jpg
  6. And you now have made this website an application: 
    Installing_the_ASP19_.jpg
  7. Select the ASP.NET tab and make sure it is set to version 2.0 of ASP.NET. 
    Installing_the_ASP20_.jpg
  8. Point your browser at http://www.windwardreports.com/RunReportASP/ReportForm.aspx and you get your web application: 
    Installing_the_ASP21_.jpg

  9. That’s it. Your web app is now running on IIS.
  • Was this article helpful?