Enabling .NET 4 applications in IIS 6

I struggled with this long enough, and ended up guessing the right answer; maybe this will save someone else the trouble. On a Windows Server 2003 box, IIS 6, trying to get it to server .aspx pages from a virtual folder.  I could get .html files to serve just fine, but trying to hit an .aspx file kept returning a 404 Not Found Error.  I had to Open the 'Web Service Extensions' folder in IIS Manager, then 'Add a new Web service extension...' to add the .NET 4 application handling.  I used the following:

  • Extension Name: - "ASP.NET 4.0"
  • Rquired Files, Add - "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll"

Once I saved the new extension, I had to click it again and 'Allow' it.  After that, .aspx pages starting serving up just like they should! 

The content of this field is kept private and will not be shown publicly.

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Comments

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.