J
James Bailey
When I try to debug an ASP.NET application, VS.NET pops up saying "Error
while trying to run project: Unable to start debugging on the web server."
and "Click Help for more information." When I look at the IIS logs, the
DEBUG verb is returning a 401 error.
Here's what I've tried:
1. Checked that I have 'Administrators' and 'Debugger Users' groups.
2. 'Integrated Windows authentication' is enabled in IIS.
3. ACLs are set for the directories in question. (It occurs on all web
apps, new or existing.)
4. Web.config is well-formed and debugging is set to true.
5. I've run "aspnet_regiis -i" a few times.
6. Restarted server.
7. Enabled security auditing, but no entries are logged.
8. Narrowed down the error to a 401;1 error: Error in logon. However, no
failures are being logged, as is stated in #7.
The oddest thing is that I was using it for awhile, and then it quit working
in the middle of the afternoon. I can't think of anything that I changed.
It's acting like I had installed URLScan, which I haven't, and it's blocking
the "DEBUG" verb.
This isn't the first time something has broken on me. I think this is the
third time, and it's been something different each time. Is ASP.NET that
difficult to keep debugable?
Anyway, thanks for any help. I'm not afraid to get down and dirty, but I
can't find any information on how to fix this; I can only find the
workaround where you attach to the aspnet_wp.exe process, which I'd prefer
not to have to do.
while trying to run project: Unable to start debugging on the web server."
and "Click Help for more information." When I look at the IIS logs, the
DEBUG verb is returning a 401 error.
Here's what I've tried:
1. Checked that I have 'Administrators' and 'Debugger Users' groups.
2. 'Integrated Windows authentication' is enabled in IIS.
3. ACLs are set for the directories in question. (It occurs on all web
apps, new or existing.)
4. Web.config is well-formed and debugging is set to true.
5. I've run "aspnet_regiis -i" a few times.
6. Restarted server.
7. Enabled security auditing, but no entries are logged.
8. Narrowed down the error to a 401;1 error: Error in logon. However, no
failures are being logged, as is stated in #7.
The oddest thing is that I was using it for awhile, and then it quit working
in the middle of the afternoon. I can't think of anything that I changed.
It's acting like I had installed URLScan, which I haven't, and it's blocking
the "DEBUG" verb.
This isn't the first time something has broken on me. I think this is the
third time, and it's been something different each time. Is ASP.NET that
difficult to keep debugable?
Anyway, thanks for any help. I'm not afraid to get down and dirty, but I
can't find any information on how to fix this; I can only find the
workaround where you attach to the aspnet_wp.exe process, which I'd prefer
not to have to do.