473,386 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

unable to start debug from non administrative account in VS.net200

hello,
I created an asp.net web app in C# from a non administrative account in
Visual Studio 2003, .net 1.1. when i try to run the application in debug mode
from Debug start menu option, i get an error saying "Error while trying to
run project : unable to start debugging on web server. Access is Denied".
i searched for the solution on various web sites (msdn too) and the only
thing i could figure out is " I Can actually Debug the asp.net web app from
visual studio .net 2003 started from a non-administrative account, ( if the
user belongs to debugger users group)". The useraccount [abcd] that i use to
develop asp.net web apps in visual studio does belong to debugger users,
however i cannot debug the apps and i recieve the error message as given
above .

I even tried to give read/write and execute permissions and execute scripts
rights to the virtual folder in iis 5.0 ,yet invain. I see the same error
popping up .

i even clicked the help button to check for possible reasons and the
solution to the error message: I 'ld not find anythign useful except for the
recomended change in machine.config file "editing the <Process model> to
username and password" . however that solution is to debug aspnet_wp.exe
(aspnet worker process) but i oly need to debug asp.net apps and not the
asp.net worker process.

Let me also tell that aspnet worker process runs under aspnet account which
i cannot debug from my [abcd] user account.

do i always need to debug the application by opening the visual studio.net
2003 IDE as administrator. ?

i dont know i this the correct place to ask this question as i am new here...

please reply ..

NAGY
Nov 19 '05 #1
2 2052
Hi,

No, you don't need to be an admin to debug. The first step - becoming a
member of Debugger Users is ok. But you also need to do other things.

Try adding yourself (the NOT admin account) to the IIS_WPG group. You have
to be a member of that group to run web applications if you are not an
administrator. And you are running them when you are debugging.

You could also add that account to the VS Developers group. That should
allow it to create web applications.

-Lenard

"NAGY" <NA**@discussions.microsoft.com> wrote in message
news:88**********************************@microsof t.com...
hello,
I created an asp.net web app in C# from a non administrative account in
Visual Studio 2003, .net 1.1. when i try to run the application in debug
mode
from Debug start menu option, i get an error saying "Error while trying to
run project : unable to start debugging on web server. Access is Denied".
i searched for the solution on various web sites (msdn too) and the only
thing i could figure out is " I Can actually Debug the asp.net web app
from
visual studio .net 2003 started from a non-administrative account, ( if
the
user belongs to debugger users group)". The useraccount [abcd] that i use
to
develop asp.net web apps in visual studio does belong to debugger users,
however i cannot debug the apps and i recieve the error message as given
above .

I even tried to give read/write and execute permissions and execute
scripts
rights to the virtual folder in iis 5.0 ,yet invain. I see the same error
popping up .

i even clicked the help button to check for possible reasons and the
solution to the error message: I 'ld not find anythign useful except for
the
recomended change in machine.config file "editing the <Process model> to
username and password" . however that solution is to debug aspnet_wp.exe
(aspnet worker process) but i oly need to debug asp.net apps and not the
asp.net worker process.

Let me also tell that aspnet worker process runs under aspnet account
which
i cannot debug from my [abcd] user account.

do i always need to debug the application by opening the visual studio.net
2003 IDE as administrator. ?

i dont know i this the correct place to ask this question as i am new
here...

please reply ..

NAGY

Nov 19 '05 #2
hello Lenard Gunda,
Thank you for the reply but i cannot find the IIS_WPG group (wonder y??)..
the Operating system i use is windows 2000 server sp4 and all updates
necessary. iis 5.0 .


"Lenard Gunda" wrote:
Hi,

No, you don't need to be an admin to debug. The first step - becoming a
member of Debugger Users is ok. But you also need to do other things.

Try adding yourself (the NOT admin account) to the IIS_WPG group. You have
to be a member of that group to run web applications if you are not an
administrator. And you are running them when you are debugging.

You could also add that account to the VS Developers group. That should
allow it to create web applications.

-Lenard

"NAGY" <NA**@discussions.microsoft.com> wrote in message
news:88**********************************@microsof t.com...
hello,
I created an asp.net web app in C# from a non administrative account in
Visual Studio 2003, .net 1.1. when i try to run the application in debug
mode
from Debug start menu option, i get an error saying "Error while trying to
run project : unable to start debugging on web server. Access is Denied".
i searched for the solution on various web sites (msdn too) and the only
thing i could figure out is " I Can actually Debug the asp.net web app
from
visual studio .net 2003 started from a non-administrative account, ( if
the
user belongs to debugger users group)". The useraccount [abcd] that i use
to
develop asp.net web apps in visual studio does belong to debugger users,
however i cannot debug the apps and i recieve the error message as given
above .

I even tried to give read/write and execute permissions and execute
scripts
rights to the virtual folder in iis 5.0 ,yet invain. I see the same error
popping up .

i even clicked the help button to check for possible reasons and the
solution to the error message: I 'ld not find anythign useful except for
the
recomended change in machine.config file "editing the <Process model> to
username and password" . however that solution is to debug aspnet_wp.exe
(aspnet worker process) but i oly need to debug asp.net apps and not the
asp.net worker process.

Let me also tell that aspnet worker process runs under aspnet account
which
i cannot debug from my [abcd] user account.

do i always need to debug the application by opening the visual studio.net
2003 IDE as administrator. ?

i dont know i this the correct place to ask this question as i am new
here...

please reply ..

NAGY


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Tom wilson | last post by:
I've been through everything with this error and cannot get the debugger to work remotely. The only thing I can trace it down to is that RPC is not communicating between servers. So after many,...
2
by: Tomer | last post by:
Hi, i try to debug a simple ASP.NET project on a windows server2003 and i receive a msg that saya's i dont have permissions and to check if i am in a debugger group. I following the IIS (version...
2
by: TomS | last post by:
I have WinXP Home Edition and VC++ 2002. I have execute command: Debug->Start without debbuging or Debug->Start and VC++ send messages: Access is denied. Verify taht you are administrator or a...
1
by: Reza Sadeghi | last post by:
Hi I am getting this error when I tried to browse any asp.net in visual studio.net. I can build the project but when I try to run and debug the project I get error message that "Unable to start...
2
by: TM | last post by:
When I run an ASP.Net application I am getting the following error: "Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged."...
11
by: Claude seraphin | last post by:
I'am having this message while trying to rune my asp.net app on win3k server. I have set debug="true" in <compilation section in my web.config . Can anyone help me? Thanks in advance
16
by: Serdar Kalaycý | last post by:
Hi everybody, My problem seems a bit clichè but I could not work around. Well I read lots of MSDN papers and discussions, but my problem is a bit different from them. When I tried to run the...
2
by: Amy L. | last post by:
Hopefully someone may have some thoughts on this. I am unable to debug ASP .Net credentials on my laptop when I am not logged into my local domain. When I am at home I log in with my normal...
5
by: Dave Y | last post by:
Hello, When I try to run my aspx web page using Start>Debug I receive the following error: "Error while trying to run project : Unable to start debugging on the web server. Would you like to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.