Wednesday, August 15, 2007

A while back, I've posted about the problem with Visual Studio 2005 complaining about the site being configured for use with ASP.NET 1.1. I've lived with this problem since then, but today I had enough...

Here is the solution that works for me:

  1. Open Internet Information Services (IIS) Manager
  2. Select the root node
  3. Open Handler Mappings
  4. Remove each entry that points to ASP.NET 1.1

The entries from poing 4. are the handlers for files such as .aspx, .asmx and so on. Notice that there exist an entry for each of those files that maps to ASP.NET 2.0.

I'm not an IIS expert so I don't know if those deleted entries were necessary, but I haven't noticed any negative impact of not having them.

Before doing any changes to IIS I would suggest making a backup of all its configuration files, unless you are not afraid - like me (hence no screen shots and no concrete names for entries to delete :-) ).

Wednesday, August 15, 2007 7:46:45 PM (Central European Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [2]  | 
Tuesday, September 04, 2007 7:34:36 PM (Central European Standard Time, UTC+01:00)

I uninstalled v1.1.4322 by running asp_netregiis -u in the v1.1.4322 directory. This seemed to work and is an option if you don't need to do v1.1 development
Anonymous
Monday, September 10, 2007 10:03:14 PM (Central European Standard Time, UTC+01:00)
Thanks for the tip. Instead of deleting the handlers, I went to the Ordered listing of handlers, and moved the 1.1 handlers down below the 2.0 handlers. That fixed it right up.
Pete
Name
E-mail
Home page

Comment (Some html is allowed: a@href@title, strike) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview