Vista RC1 and Visual Studio Debugging

Posted September 9, 2006 1:29 AM Categories: Personal | .NET
I have installed a Vista RC1 and Office 2007 Beta 2 on a new partition and am attempting to use it as my primary OS.  So far, so good.  It has come a long way since the first builds I started testing.  There's certainly more work to be done, but it's looking more and more like a final product.

On a tangent, symlinks are fantastic.  I know, welcome to UNIX circa 1985.  I am able to symlink my Firefox profile directory, Outlook config and .pst files, and a variety of other things from my XP parition to the Vista parition to share the data easily between the two operating systems.

But, I post to note a few quirks with Visual Studio 2005 and debugging web applications.  By default, I was getting lots of errors about authentication, not being able to debug, and a host of other things.  The fix was quite simple.

1) In the "Internet Options" control panel, go to the Security tab.  Add "http://localhost" to your list of "Trusted Sites"
2) Again, for "Trusted Sites", clilck the "Custom Level..." button.  Change the value of User Authentication to "Automatic login with current username and password".
3) In the new IIS manager, ensure that the web application directory is both:
    a) in the "Classic .NET AppPool".
    b) has "Windows Authentication" enabled in the Authentication section.

Voila.  Debugging without issue on the server.

YMMV, of course.  Note that I'm running with <gasp!> UAC turned off.

Comments (18) -

Dan Potter
Dan Potter
9/9/2006 12:48:15 PM #

Vista has symlinks?! Sold!!! ;)

ian darke
ian darke
10/13/2006 8:31:49 PM #

Thanks!!!.. I've been trying to get debugging working for hours to no avail. Switching to the Classic .NET AppPool was the last piece of the puzzle for me.

Derrick Brundage
Derrick Brundage
10/13/2006 10:59:57 PM #

Thank you!  I've wasted several hours this week trying to get my VS 2005 web application working under Vista RC 2.  

Your instructions finally enabled me to get the application running properly.  Now I can enjoy my weekend and feel like I accomplished something.

Tim Marshall
Tim Marshall
11/16/2006 5:01:47 PM #

You rule!!!  That last step about changing the apppool just ended 4 hours of misery working with the debugger!!!

Thank You!

Valentin Billotte
Valentin Billotte
12/7/2006 5:38:43 AM #

I love you Smile
never thought about changing the apppool

vote Brian for President !

Mflagstad
Mflagstad
1/10/2007 5:41:17 PM #

ok - What version of IIS are you using - I'm having a heck of a time here. We have VS 2003, VS 2005, IIS 5.1 - I can run my 03 apps just fine, inlcuding debugging. I converted an 03 application to 05 and I am getting all sorts of errors. Any suggestions?

brian
brian
1/10/2007 11:43:34 PM #

This is all based on IIS7 in Vista.  I'm not sure as to your problem with 5.1 and VS2005...any specific errors?  Feel free to post up in the forum to make replying a bit easier

Sunil
Sunil
1/12/2007 3:32:16 PM #

Thnx!! worked for me!

Morten
Morten
1/22/2007 12:04:06 PM #

I'm still looking for at way to make this work WITHOUT running in the Classic .NET Pool.

Todd
Todd
3/30/2007 11:54:14 AM #

Thanks Brian.

This has really help.  Nice job with the details.

Neil G
Neil G
4/12/2007 6:54:16 AM #

You are a GOD!

2 days of googeling(and hair pulling) , and it was the app pool!

Why isnt this mentioned elsewhere??????


Skip
Skip
5/11/2007 4:26:37 PM #

Of COURSE it's in the right-click-Advanced Settings-Application Pool-dropdown (whatever the hell that means), how stupid of me not to have realized it with such an intuitive and well-documented application!  Thx1M for the tip--now maybe I can actually write some code.

Mathieu
Mathieu
6/21/2007 7:50:32 AM #

Brian,

Excellent solution! the apppool did the trick for me too.

cheers,

matheiu

Brian Peek
Brian Peek
8/15/2007 4:23:47 PM #

Thank you so much!! Changing the Internet Explorer options worked perfect for me!!

John

Shawn
Shawn
8/27/2007 10:56:49 PM #

Gotta add on to the praise.  This has been four hours of hell... fixed by reading one very short but informative blog post.  Thanks for sharing this information.  I owe you one.

Damian
Damian
9/8/2007 7:42:22 PM #

Thanks a lot Brian. That worked.

Mark
Mark
8/1/2008 10:26:47 PM #

Brian, it worked a treat, thank you very much!

darnell
darnell
11/11/2008 5:36:00 PM #

thank you Brian! i have been forced by our IT department to develop on Vista and really appreciate your help, it worked lovely.

thanks again.

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

My Info

  • View Brian Peek's profile on LinkedIn

Sponsored Ad

My Book

Sponsored Ad

Calendar

<<  May 2012  >>
MoTuWeThFrSaSu
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910

View posts in large calendar