BrianPeek.com

A Compendium of Random Uselessness
in Search

Vista RTM and Visual Studio

While it is completely unsupported by Microsoft, I ran into a few issues dealing with IIS and ASP.NET projects in Visual Studio 2003 along with Visual Studio 2005.  Note that through all of this (and in general) I run with UAC turned off.

First off, it's required that the IIS6 Compatibility Layer be installed otherwise none of this will work.

After installing both VS2003 andd VS2005 (in that order), I was unable to install anything dealing with IIS from the "Programs and Features" control panel.  After several hours of trying various things, I finally found the solution.  I had to uninstall the .NET Framework v1.1, after which I could install any of the IIS options available to me.

I then re-installed .NET Framework v1.1 and ran into the second issue.  Every time I attempted to open an ASP.NET 2.0 project, it would ask me if I wanted to configure the server to use ASP.NET 2.0, even though the application directory was already setup to do so.

At the Visual Studio command prompt, I noticed that the Root version of .NET was version 1.1 .  After several attempts at aspnet_regiis in various combinations, I was able to get things working correctly by doing the following:

  1. VS2003 command prompt: aspnet_regiis -u
  2. VS2005 command prompt: aspnet_regiis -ua
  3. VS2003 command prompt: aspnet_regiis -i
  4. VS2005 command prompt: aspnet_regiis -i

It appears whichever framework is installed last becomes the root, and for the life of me, I could not figure out a way to change that without resorting to the above.

At this point, everything was fine in ASP.NET 2.0, however any ASP.NET 1.1 project would crash IIS upon attempting to load the project via the VS2003 IDE.  This was solved by installing the .NET Framework 1.1 SP1 patch.

After all of that, both VS2003 and VS2005 are living happily beside each other, though I am still unable to get server-side debugging working with VS2003.  For help getting sever-side debugging working in VS2005, see my post below.

Published Nov 20 2006, 05:02 PM by Brian Peek

Comments

 

Andrew Yau said:

I just migrated to Windows Vista, and now I need to install VS2003 with ASP .NET, when I try to install VS2003, it doesn't allow me to select Web Development Component, did you have it checked when you install VS2003 or you did something to have ASP .NET working afterward?
December 30, 2006 6:13 PM
 

Brian Peek said:

Do you have the IIS6 Metabase compatibility stuff installed?
December 30, 2006 7:30 PM
 

Brian Peek said:

Yes I do...
January 10, 2007 10:52 PM

Leave a Comment

(required)  
(optional)
(required)  
Add

About Brian Peek

Brian is a Microsoft C# MVP who has been actively developing in .NET since its early betas in 2000, and who has been developing solutions using Microsoft technologies and platforms for even longer. Along with .NET, Brian is particularly skilled in the languages of C, C++ and assembly language for a variety of CPUs. He is also well-versed in a wide variety of technologies including web development, document imaging, GIS, graphics, game development, and hardware interfacing. Brian has a strong background in developing applications for the health-care industry, as well as developing solutions for portable devices, such as tablet PCs and PDAs. Additionally, Brian has co-authored the book "Debugging ASP.NET" published by New Riders, and is currently co-authoring a book titled "10 Coding4Fun Projects with .NET for Programmers, Hobbyists, and Game Developers" to be published by O'Reilly in late 2008. Brian also writes for MSDN's Coding4Fun website, contributing articles on a monthly basis.
Copyright (C) 2008 Brian Peek
Powered by Community Server (Commercial Edition), by Telligent Systems