Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > VS2008 / IIS - cannot debug

Thread Tools

VS2008 / IIS - cannot debug

Posts: n/a

I've just swapped a project over from VS2005 / .net 2.0 to VS2008 / .net
3.5, but I can no longer debug in Visual Studio.

My project is setup to use IIS7 (I'm running on Vista), rather than the
Internal Web Server.

However, when I hit F5, I get a HUGE dialog box telling me "unable to start
debugging on the web server". If I hit CTRL-F5, I can see that I actually get
a HTTP 500.19 error which says...

"The requested page cannot be accessed because the related configuration
data for the page is invalid"

Error Code: 0x80070005
Config Error: Cannot read configuration file tue to insufficient permissions

I've read the following KB article :
and checked the permissions of both my project's web.config and the IIS
applicationhost.config, and both have computername\IIS_IUSRS listed in
securitiy with Read access.

Can someone enlighten me as to what else might be going on. The app code is
on the same machine as my IIS, so I don't think it's a UNC problem!?


Tnx, Dan
Reply With Quote
Posts: n/a

Allow anonymous access to your site from iis.
and do enable debugging for the site

Best of luck

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Publish a Site from VS2008 Machine to XP PRO IIS machine Joe ALVES ASP .Net 0 04-16-2009 05:04 PM
Publication VS2008 vers IIS (XP PRO) Joe ALVES ASP .Net 2 04-16-2009 05:03 PM
IIS7, VS2008 debug mode and Cache.Insert thread results NullReferenceException Max2006 ASP .Net 3 02-23-2009 07:36 AM
Cannot debug Javascript with VS2008 SP1 Rory Becker ASP .Net 0 08-19-2008 10:30 AM
VS2008 - Localhost debug ... Michael Tissington ASP .Net 19 05-15-2008 10:52 AM