Solution / Hotfix: Developing web applications using Visual Studio 2005 and IIS7

Solution / Hotfix: Developing web applications using Visual Studio 2005 and IIS7

  • Comments 13

Bradley Millington on our team posted a while back on required configuration steps for developing web applications using Visual Studio 2005 & IIS7 on Vista.

This is an update to that post with information to address issues that you may still encounter resulting in the following errors when doing F5 debugging with web applications on IIS7:

  • "An authentication error occurred while communicating with the web server. Please see Help for assistance."
  • "Debugging failed because integrated Windows authentication is not enabled. Please see Help for assistance."
  • "Authentication error occurred while communicating with the web server. Try disabling 'Digest authentication'. Please see Help for further assistance."

The Visual Studio team has just released a downloadable hotfix, which fixes problems resulting in such errors, and also enables the ability for Visual Studio 2005 to F5 debug web applications on IIS7 in Vista Home versions.

To recap, the following steps should be done to properly configure your IIS7/Vista environment for building ASP.NET web applications using Visual Studio 2005:

  1. Install Visual Studio 2005 SP1
  2. Install Visual Studio 2005 Update for Vista
  3. Install Visual Studio 2005 hotfix for F5 authentication errors
  4. Configure required IIS7 components
  5. Run Visual Studio using the "Run As Administrator" option on the right-click menu

Mike Volodarsky from the IIS team also has a great blog post discussing this topic.

Looking forward to your feedback!

Omar Khan
Group Program Manager
Visual Studio Web Tools

Leave a Comment
  • Please add 5 and 4 and type the answer here:
  • Post
  • You've been kicked (a good thing) - Trackback from DotNetKicks.com

  • Omar, is there any chance that there will be an updated release of VS 2005 that has all of these patches and updates rolled into it? Installing VS on a Vista machine is a royal pain in the butt and takes a half a day as it is now <s>...

  • Hi Rick,

    I agree that an updated release with patches rolled into it will be a great convenience.  Doing such a release however requires a fairly large testing effort and effectively is like doing an SP2.  At the moment we don't have such a 'rollup' release planned, but I'll definately communicate the desire of having it to the relevant parties within Visual Studio.

    --Omar (Visual Studio Web Tools)

  • People who use VS 2005 to debug ASP.NET applications running in IIS7 on Windows Vista can encounter one

  • People who use VS 2005 to debug ASP.NET applications running in IIS7 on Windows Vista can encounter one

  • People who use VS 2005 to debug ASP.NET applications running in IIS7 on Windows Vista can encounter one

  • Ever since the launch of ASP back in the late 90's, I've wanted to have integrated debugging support

  • Ever since the launch of ASP back in the late 90&#39;s, I&#39;ve wanted to have integrated debugging

  • hey, when im trying to install the hotfix u all have right here. im using visual web developer and running it on vista home premium. i got the error when im installing which is upgrade patch cannot be installed by the windows installer service, anybody can help me on that?

  • "Help!!" - could you send me an email directly at omark-at-microsoft-dot-com, and I'll see if we can diagnose your issue.

  • i have send you the email!! Hope you could solve my problem!! Thanks a lot!

  • Omar:

    We have been trying desperately to follow your three part blog on setting up multiple WAP projects using the development server. After setting the primary project to use a specific port on the development server, per your instructions, when we try to set the first subproject to the same port on the development server (actually using the IIS per your instructions), we keep getting an error :Could not find server at 'http://localhost:8080/admin' on the local machine". Ideas?

    TIA,Bill

  • Omar:

    After this hotfix,we are now throwing the error "The HttpResponse.WriteSubstitution method is not supported by IIS integrated pipeline mode." in our base page class that uses Scott's "MyBase.Render(New RewriteFormHtmlTextWriter(writer))" method to support actionless forms from URL rewriting. Ideas?

    TIA,

    Bill

Page 1 of 1 (13 items)