tags:

views:

588

answers:

4

I'm deploying an ASP.NET application to Windows Server 2003 under IIS

IIS is serving html pages fine but I get a page not found when I try and serve IIS pages

+5  A: 

By default, IIS has ASP support disabled in IIS6.

A server running a member of the Microsoft® Windows® Server 2003 family supports application server functionality, with Microsoft ASP.NET as an option that you can enable when configuring the application server role. To deploy ASP.NET Web applications to a production server, you must be sure to enable the ASP.NET and Internet Information Services (IIS) roles on the production server before you distribute the application.

See here for instructions to enable it: http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/9fc367dd-5830-4ba3-a3c9-f84aa08edffa.mspx?mfr=true

Rob Allen
A: 
  1. Make sure the right .NET framework is installed properly
  2. Make sure the ASP.NET extension is enabled
  3. Under website properties, ASP.NET tab, make sure the right version is set.
pbz
+7  A: 

You may need to "register" IIS for ASP.NET applications. As an administrator, run the command "%systemroot%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -i". In addition, you may need to convert your web site to an application through the IIS management console.

Jacob
A: 

Other possible reason could be Web Service Extensions, where ASP.NET version could have been disabled. My other post here explains steps to solve this.

pencilslate