Welcome to MSDN Blogs Sign in | Join | Help

Visual Web Developer Team Blog

Your official information source from the Visual Web Developer team.

News

  • These postings are provided "AS IS" with no warranties, and confer no rights. Use of included code samples are subject to the terms specified Terms of Use
Solution / Hotfix: Developing web applications using Visual Studio 2005 and IIS7

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

Posted: Wednesday, June 20, 2007 10:00 PM by WebDevTools

Comments

DotNetKicks.com said:

You've been kicked (a good thing) - Trackback from DotNetKicks.com

# June 21, 2007 9:21 AM

rstrahl said:

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>...

# June 22, 2007 2:29 AM

WebDevTools said:

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)

# June 22, 2007 2:53 AM

ScottGu's Blog said:

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

# June 28, 2007 2:05 AM

ASP.NET said:

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

# June 28, 2007 2:13 AM

BusinessRx Reading List said:

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

# June 28, 2007 2:39 AM

Welcome to The Metaverse said:

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

# July 17, 2007 2:18 PM

Noticias externas said:

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

# July 17, 2007 3:17 PM

help!! said:

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?

# July 17, 2007 10:33 PM

WebDevTools said:

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

# July 17, 2007 10:45 PM

help!! said:

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

# July 18, 2007 8:27 AM

Bill said:

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

# August 14, 2007 12:17 PM

Bill_H said:

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

# August 14, 2007 1:46 PM
New Comments to this post are disabled
Page view tracker