Why is IIS not serving aspx pages?

AJM picture AJM · Jun 17, 2009 · Viewed 51.4k times · Source

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

Answer

Jacob picture Jacob · Jun 17, 2009

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.