Last post Jul 17, 2009 11:40 AM by (O |M |E (G /A
Apr 11, 2007 01:46 PM|MEight|LINK
Can't quite figure out how to get this to work. It sounds like I am having permissions problems. Read through several articles but nothing worked so far. This is my configuration and what I have done.
Windows XP Pro, Visual Studio.Net 2003, IIS 5.1, Local debugging and hosting
I had to re-install IIS again after Visual Studio.Net 2003 due to IIS not working the first time! Ran into a quick error of not being able to start due to permissions. So I typed this in at a dos command prompt: %windir%\Microsoft.Net\Framework\v1.1.4322\aspnet-regiis.exe
-i (This fixed the problem and allowed me to create a web application in VS.Net 2003) But when I try to launch the application F5 (in debug / release) I get the following error message:
Error While Trying to run project: Unable to start debugging on the web server. You do not have permissions to debug the server. Verify that you are a member of the 'Debgger Users' group on the server.
(1) In IIS, I clicked the properties of the default website and checked the Directory Security Tab & Edit and verified I am using Integrated Windows Authentication.
(2) In IIS, I clicked the properties of the default website and checked the WebSite Tab and verified that the HTTP Keep-Alives Enabled is checked.
(3) I added http://localhost to IE7's trusted sites list (Tools/InternetOptions/SecurityTab)
I'm suspecting that the problem is with Users and Groups permissions. (Control Panels/Administrative Tools/Computer Management)
(4) I tried Adding "Administrator", "Power User" and "Debugger Users" groups to the users "ASPNET", "ISUR_N2" and "M8" (my user account). But I still get the error message!
Am I doing this incorrectly?
Please help! Thank you.
Apr 14, 2007 04:26 AM|praveenas|LINK
Try changing the application pool for the Application from default to classic asp.
May 03, 2007 02:42 PM|MEight|LINK
How do I change the application pool? I'm using IIS 5.1
Also what does it mean when it states to verify that I am a member of the "Debugger Users" group on the server? What server? IIS?
I have configured all users from the "Computer Management" utility so that they all belong to "Debugger Users", but still no go.
May 04, 2007 11:26 AM|RamG|LINK
Try to go to Administrative Tools and then to Local Security Policy. And then add EVERYONE to the policy Impersonate a client after authentication(found within Local Policies/User Rights Assignment). Restart your IIS and try to debug the application.
Hope this helps
May 04, 2007 03:10 PM|ravivb.net|LINK
May 04, 2007 03:14 PM|ajayg|LINK
Check your web.config file too, do you have the allow debugging attribute set to true.
Also your ASPNET user does not seem to have access rights to IIS.
Feb 13, 2008 12:27 AM|vaibhav.phalak|LINK
Did you get any solution to your problem ???
I 'm also getting the same error and also tried all the stuff which u hv explained in 4 points.
But problem is still persisting.
Do suggest me a remedy . Thank you.
Mar 09, 2008 10:19 PM|MEight|LINK
Sorry for the late reply. Didn't see your message until now.
Bad news. I never found a (acceptable) solution to my problem. Since it was vital to get it to work. I actually re-formatted my computer with a clean OS and re-installed all the software. It worked fine after that. (Not a good solution at all. A last resort).
Mar 11, 2008 10:13 AM|rahul_itpro|LINK
I had a similar problem and i have rectified this thing by changing the integrated windows security checkbox.
To do this goto IIS5.1 management console and then go to your website/virtual directory in IIS under websites folder.
Then right click and goto properties of virtual directory/website. Then goto Directory Security tab and then click Edit button under anonymous control and authentication control and then make sure to check the last checkbox which states Integrated windows
This has solved my problem and hope this will help you.
May 19, 2008 10:58 PM|tobydodds|LINK
VS2003 on XP Pro, .Net 1.1
I was stuck on this for a long time as well. All it took in the end was lowering my security levels in IE.
Tools > Internet Options > Security > Trusted Sites > setting lowered to Low
Works! Sure wish I'd come to this solution sooner.
Jun 04, 2008 10:42 PM|PennyFox|LINK
well, u don't need to re-install OS,
simply close your VS, re-install IIS and that should work(if u tried the solution the others guys posted and doesn't work).
Jul 23, 2008 05:53 AM|Vbindu|LINK
I am Facing the Same Problem.I am not able to get through any Solution
I am using Windows 2003 ,with VS 2003 and IIS 6.0
Jul 17, 2009 11:40 AM|(O |M |E (G /A|LINK
The solution in my case was:
In IE8, go to: Tools > Internet Options > Security > Trusted Sites > click Default Level and set Securuty level to Low.
Altough before solving my issue i had to do this:
* Permissions to: my user, ASPNET, IUSR, IWAM, to the "Debugger Users" group
* Permissions to the folders in C:\inetpub\wwwroot, to this users
* In IE8, go to: Tools > Internet Options > Security > Trusted Sites > click Custom Level > find the User Authentication section and select Automatic Logon with current user name and password
* set debug="true" in the web.config
Hola a todos.
La solución a este problema en mi caso fue la siguiente:
En IE8, ir a: Tools > Internet Options > Security > Trusted Sites > click en Default Level y setear la seguridad en Low.
Aunque antes de llegar a esta solucion, hice todo esto:
* Permisos a: mi Usuario, ASPNET, IUSR, IWAM, al grupo "Debugger Users"
* Permisos a las carpetas en C:\inetpub\wwwroot, a estos usuarios
* En IE8, ir a: Tools > Internet Options > Security > Trusted Sites > click en Custom Level > buscar la parte de User Authentication y seleccionar la opcion Automatic Logon with current user name and password
* web.config con debug="true"