Click to See Complete Forum and Search --> : Cannot Debug ASP.NET
ttohme
July 14th, 2003, 03:22 PM
Hi guys,
I can't seem to debug my APS.NET app, I get this following message:
Unable to start debugging on the webserver. Access is denied. Would you like to disable furture......
I check MSDN on this problem and they said it was about permissions right, Well I am logged in as Administrator, and I added ASPNet user to the Administrators group and I still cannot debug it.
Any idea would be really appreciated.
Thanks
coolbiz
July 14th, 2003, 04:31 PM
First of all, REMOVE ASPNET account from your ADMINISTRATORS group. This is a really BAD idea. No matter how much you want it to work, never resort to this method.
During debugging, ASPNET account needs at least MODIFY access to the "Temporary ASP.NET Files" folder. This folder is located in %SYSTEMROOT%\Microsoft.NET\Framework\fw_version\Temporary ASP.NET Files
I can't remember if it needs access to another directory. Hopefully someone can clarify this. So change the access (propogate to sub-folders too).
Good Luck,
-Cool Bizs
ttohme
July 14th, 2003, 05:05 PM
So how do I grant ASPNET MOdify Access to the ASP.NET temp files?
DO I share the foder and grant ASPNET permissions?
THanks
coolbiz
July 14th, 2003, 08:52 PM
I am assuming you're running NT-based PC (NT/2K/XP). If so, open up the PROPERTIES page of the folder and go to the SECURITY tab. You should be able to add the user from there.
-Cool Bizs
ttohme
July 14th, 2003, 08:57 PM
I'm running W2K and there is no Security Tab, there is General, Web Sharing and Sharing.
Thanks
coolbiz
July 15th, 2003, 01:33 PM
You might have to change the FOLDER OPTIONS to disable the "Use Simple File Sharing" option.
-Cool Bizs
Nadji
July 20th, 2003, 01:27 PM
Have you set the Enable ASP.NET Debugging to true. You can do that by selecting the Properties windows (from the explorer windows) of the project you want to debug, then select Configuration Properties than Debugging and set to true the Enable ASP.NET Debugging property.
Good luck.
Nadji
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.