Answered by:
Debugging asp.net application on iis 6.0

Question
-
User-2079098232 posted
Hello all
I am having trouble setting up debugging on IIS 6.0
My setup is:
- Windows Server 2003 running on a VM (Machine name: DEV01)
- Visual Studio Standard 2005
- IIS 6.0 on the same machine as VS2005
- Project web.config debug = true
- Virtual Directory is pointing to my C:\Projects\Website file location - File Permissions are DEV01\Adminstrators - FULL CONTROL
- IIS Virtual Directory : Enable ASP server side debugging checked
- ASP.NET project is set to use custom server : http://localhost/MyProject
When I attach to the w3wp.exe , i get the message that the breakpoints will never be hit, and yes, they dont get hit.
What settings have is missed out?
Thanks
Thursday, September 3, 2009 8:50 AM
Answers
-
User-1363023537 posted
See if you could get help from
http://www.visualwin.com/New-User/
http://social.msdn.microsoft.com/forums/en-US/vsdebug/thread/4c1f5ed7-a0e7-423d-a517-68ba0780c141/
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, September 4, 2009 2:12 AM
All replies
-
User-1363023537 posted
In web.config make sure you have set debug = true
<system.web>
<compilation debug="true"/>
</system.web>
SatalajThursday, September 3, 2009 11:24 AM -
User-2079098232 posted
In web.config make sure you have set debug = true
<system.web>
<compilation debug="true"/>
</system.web>
SatalajPlease read my post carefully- you will see that I have set the debug value. Also , if the debug value is not set , you will get a different error from the compiler
Thursday, September 3, 2009 11:32 AM -
User-1363023537 posted
Are you able to attach it to any other process running on that machine DEV01 and terminate that process ?
It may be issue related to debugger user group. Do you have same account name password for that VM.
Thursday, September 3, 2009 11:42 AM -
User-2079098232 posted
I havent modified the debugger user group. Can you tell me what you think needs to be done? Also, how do you modify the user group on Windows 2003
Thursday, September 3, 2009 11:49 AM -
User-1363023537 posted
See if you could get help from
http://www.visualwin.com/New-User/
http://social.msdn.microsoft.com/forums/en-US/vsdebug/thread/4c1f5ed7-a0e7-423d-a517-68ba0780c141/
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, September 4, 2009 2:12 AM -
User354637377 posted
refer this article http://www.morgantechspace.com/2013/08/debug-aspnet-application-which-hosted.html
Saturday, October 26, 2013 1:36 AM