Wednesday, January 14, 2004 - Posts

"IIS Not Running ASP.Net 1.1"

Folks:

Recently,  a student of mine installed VS.Net 2003 on their XP Pro box, then eagerly started developing a new ASP.Net web app and received the message:

 "Visual Studio .Net has detected that the specified Web Server is not Running ASP.Net 1.1”. 

Initially, I questioned how that could happen, since VS.Net 2003 comes with the 1.1 framework.  Then after some investigation (but without rebuilding my PC to verify this) I've come up with the following scenario that might make cause the problem:

  1. I developer installed XP Pro (or Server 2003) and does not explicitly set the IIS option at install time.
  2. They then install VS.Net 2003, which installs the 1.1 framework.
  3. They try to create a ASP.Net web app and receive a nasty gram to the effect “http :Internal Server error, server not found“.
  4. Realizing that IIS is not on there PC, they pull the OS install disk out and run setup, installing  the web server. 
  5. This installs the 1.0 framework on the box, but does not configure the web server and ASP.net for side by side execution of the framework.

Luckily, there's a fix:

  1. If this has happened to you, you may need to run aspnet_regiis with the -r option to replace the current version of IIS and script maps.
  2. If this has happened to you and you DON'T need side by side execution of the framework., please download the 1.1 framework follow the instruction documented at : http://www.asp.net/download-1.1.aspx?tabindex=0&tabid=1
  3. If this has happened to you and you need side by side execution of the framework., please see: http://www.asp.net/faq/SideBySide.aspx

I welcome your feedback...

 

with 0 Comments