Running your ASP.NET application on IIS
Downloads (starts ½ way through):
- Watch a video demonstrating the below configuration
- The below article in PDF format
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.
- 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.
- 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.
- 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:
- 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:
- Click the button Create:
- And you now have made this website an application:
- Select the ASP.NET tab and make sure it is set to version 2.0 of ASP.NET.
- Point your browser at http://www.windwardreports.com/RunReportASP/ReportForm.aspx and you get your web application:
- That’s it. Your web app is now running on IIS.