Using .aspx With IIS 5.0

I’m posting this here mostly so I can refer back to it later if I ever have the need to. I recently had to setup a Windows server running IIS 5.0 at work. It will be hosting a web application that will be used to verify all orders.

Anyway, I had IIS up and running but couldn’t get it to execute pages with a .aspx extension. It would just offer up the .aspx file for download instead of executing it and displaying in the browser. Turns out this is due to the ASP.NET ISAPI extension not being registered with IIS. To register the extension with IIS, open a command prompt and issue the following commands:

  1. cd C:winntMicrosoft.NetFrameworkv2.0.50727
  2. aspnet_regiis -i

In that example, I registered the ASP.NET 2.0 framework with IIS. If you want to use a different version of .NET, replace v2.0.50727 with whatever version you want to use. The various versions installed will be listed in the C:winntMicrosoft.NetFramework folder.

After running the apsnet_regiis command, my .aspx files loaded right away. I discovered all this at the Channel9 MSDN forums.

0

Apache httpd 2.2.0

The Apache httpd server version 2.2.0 has been released. You can see the official announcement in the mailing list archives.

The Apache Software Foundation and The Apache HTTP Server Project are pleased to announce the release of version 2.2.0 of the Apache HTTP Server (“Apache”).

We consider this release to be the best version of Apache available, and encourage users of all prior versions to upgrade.

Apache HTTP Server 2.2.0 is available for download from:
http://httpd.apache.org/download.cgi

Apache 2.2 offers numerous enhancements, improvements, and performance boosts over the 2.0 codebase. For an overview of new features introduced since 2.0 please see:
http://httpd.apache.org/docs/2.2/new_features_2_2.html


The upgrade went very well for me. I was already running 2.0.55 though. The only thing I had to do was recompile PHP, which wasn’t a problem. I haven’t noticed any problems at all so far, as expected.

0