Skip to main content

Running your ASP.NET application on IIS


Running your ASP.NET application on IIS


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. 
  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:
  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: 
  5. Click the button Create: 
  6. And you now have made this website an application: 
  7. Select the ASP.NET tab and make sure it is set to version 2.0 of ASP.NET. 
  8. Point your browser at and you get your web application: 

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