.net debugging problem!!!

Status
Not open for further replies.

prinz

Journeyman
when i am trying to run an asp web application project in .net the fillowing message is displayed

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 'Debugger Users' group on the server. Would you like to disable future attempts to debug ASP.NET pages for this project?

OS Windows xp professional sp2 IIS installed

Microsoft Visual Studio .NET 2003

whats the problem?!!! help me...
 
Last edited:

RCuber

The Mighty Unkel!!!
Staff member
As I had formated my HDD I could not recreate this error. But try the following.

Open MMC > Local users and groups > Groups.

There must be a entry for "Debugger User" , Open it , there will be a button called ADD. click on that and add your windows user account and click OK. Apply the changes and restart system. Most probabally this should fix the problem. Please let me know if you are facing this error even after this.
 

rakeshishere

HELP AND SUPPORT
Try this:
1. In the Internet Explorer, "Tools" Menu, select "Internet Options".

2. Switch to "Security" Tab.

3. Click on "Internet" (The Globe Icon. Its actually the default selected).

4. Click on "Custom Level" in the bottom.

5. Scroll down to find the "User Authentication" section.

6. Select "Automatic logon with current username and password".

7. Click "Ok" twice to exit.

This should solve the issue.

In case this Doesnt solve,Check the Below link

*msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vsdebug.asp
 
OP
P

prinz

Journeyman
thanks for your replies... but its not working...

" Error while trying to run project: Unable to start debugging on the web server. Access is denied.
Would you like to diable future attempts to debug ASP.NET pages for this project? "
 

gaurav_indian

CG Artist
prinz said:
thanks for your replies... but its not working...

" Error while trying to run project: Unable to start debugging on the web server. Access is denied.
Would you like to diable future attempts to debug ASP.NET pages for this project? "
hmm I had the same problem and i solved it very easily.
Is it the first time you are running Web Application? or it was debugging it successfully and recently gave this error?

You have to install the .net again becuase your IIS is either corrupt or its not configured.Do these things first.

1.) Uninstall your Visual Studio.net and .net framework.
2.) Now from your Windows CD install ISS.
3.) You need to install the Frontpage configuration also.
4.) Now install the .net framework and Visual Studio.net

If you are not getting what i am saying there is a readme file with Visual Studio.net and check it.
 

RCuber

The Mighty Unkel!!!
Staff member
If you are trying just to run the app then run it with out debugging. use Ctrl+F5 . Is this a project which was already created and you tried to copy it and run it on your local or you created it from within VS.NET ?
 

gaurav_indian

CG Artist
charangk said:
If you are trying just to run the app then run it with out debugging. use Ctrl+F5 . Is this a project which was already created and you tried to copy it and run it on your local or you created it from within VS.NET ?
Yeah if its copied then.Go to Inetpub-->www root->Your project right click it and enable the sharing.But we want more details about your problem.
 

maindola

Broken In
Go to control panel -> Administrative tools -> Comp Mgmt -> Local User and Grp -> Groups

right click Debugger Users and go to property
Add ur id as member of this grp.
 

rajasekar

Right off the assembly line
register the asp.net dll with iis....
find the following dll: aspnet_isapi.dll (mostly in .net framework directory)...
then
START --> RUN
enter the following command...regsvr32.exe followed by the path of the dll...


regsvr32.exe C:\...\aspnet_isapi.dll


then press enter..dialog box appear when registration complete...
 
OP
P

prinz

Journeyman
charangk said:
If you are trying just to run the app then run it with out debugging. use Ctrl+F5 . Is this a project which was already created and you tried to copy it and run it on your local or you created it from within VS.NET ?


hi, charangk, no its not a project already created... even when i try to run a new project without any coding and design (blank) the same message will be displayed...!!!



gaurav_indian said:
Yeah if its copied then.Go to Inetpub-->www root->Your project right click it and enable the sharing.But we want more details about your problem.

hi, gaurav, what you are saying... i cant understand "Yeah if its copied then.Go to Inetpub-->www root->Your project right click it and enable the sharing" pls explain... what more details about the problem you want... pls mention the details you want...

OS - windows xp service pack 2
Microsoft Visual Studio 2003
FAT 32
Celeron D processor
512 MB RAM
IIS installed
!!!....

::cyborg:: said:
dude is ur drive ntfs the web server when not secured is also not able too start web server

hi, cyborg... my file system is FAT32. i cant understand what you are saying!!!... pls explain...

maindola said:
Go to control panel -> Administrative tools -> Comp Mgmt -> Local User and Grp -> Groups

right click Debugger Users and go to property
Add ur id as member of this grp.

hi, maindola... thanks... but its already added.. and still the problem exists...

rajasekar said:
register the asp.net dll with iis....
find the following dll: aspnet_isapi.dll (mostly in .net framework directory)...
then
START --> RUN
enter the following command...regsvr32.exe followed by the path of the dll...


regsvr32.exe C:\...\aspnet_isapi.dll


then press enter..dialog box appear when registration complete...

hi, rajasekar, thanks, when i am trying to register the following message is displayed

" C:\...\aspnet_isapi.dll was loaded, but the DllRegisterServer entry point was not found.
This file can not be registered."
 
Last edited:

gaurav_indian

CG Artist
prinz said:
hi, gaurav, what you are saying... i cant understand "Yeah if its copied then.Go to Inetpub-->www root->Your project right click it and enable the sharing" pls explain... what more details about the problem you want... pls mention the details you want...

OS - windows xp service pack 2
Microsoft Visual Studio 2003
FAT 32
Celeron D processor
512 MB RAM
IIS installed
!!!....
I mean if the project has been copied from other system to your system and you are trying to run it in your system without checking its sharing property then thats why problem exists.
Its a very small problem.I have got this problem many times.Clean uninstall and reinstalling it will solve your problem.
 
OP
P

prinz

Journeyman
hi, gaurav... i have reinstalled still the problem exists!!!

Cause: You may be a member of the Debugger Users group, but you don't have the permissions to debug the aspnet worker process because you are not the aspnet user account or the member of Administrators group. Add your user account to the Administrators group on the machine to resolve this issue.

pls... explain... how can i add my user account to the Administrators group on the machine.

After installing Microsoft Visual Studio .NET i have two new accounts named
1. aspnet_wp account

Limited account
Password Protected

2. SQLDebugger

Limited account
Password Protected

what should i do to fix the problem... pls help me...
when i am trying to run the project the following message is displayed

"Error while trying to run the project: Unable to start debugging on the web server. Access is denied. Would you like to disable future attempts to debug ASP.NET pages for this project?:( :( :(

no replies!!!... pls... help me...

pls... somebody solve this problem...
 
Last edited:

RCuber

The Mighty Unkel!!!
Staff member
Prinz did u add yourself to Debug uses group??

Please also tell if you have tried running the application using Ctrl+F5 i.e., Run without debugging.
 
Status
Not open for further replies.
Top Bottom