473,383 Members | 1,798 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,383 software developers and data experts.

Debugger privileges for ASP.NET

Colleagues,

I'm new to Web apps, so forgive the density of this question. I believe I've
followed all the pertinent instructions, but I am not allowed to debug my
very first ASP.NET application. I am the sole user of this computer, and am,
obviously, the administrator. I have granted \\THISMACHINE\ASPNET debugger
privileges; it doesn't help. I followed the instructions to the point of
creating the absolutely minimal ASP application, with no data access layer
or other complications; still no luck.

Any advice?

Tony
Nov 18 '05 #1
6 1770
Enclosing my conversation with Claude yesteday regarding a similar problem.
try the bottom to top approach.. ie start at bottom and read your way
through
you might find it easier to finid the post and reading your way through as
well... good luck

aaaah i know why.
think its trying to lauch the debugging as aspnet user (not sure if thats
the case).
no you dont need to reboot unless you changed or added user to to groups.
(even then log off is good enough)
just check to see if aspnet user belong to the groups.. lemme just check
msdn

http://msdn.microsoft.com/library/de...ndebugging.asp

if i find any more info will message you in just about a moment
think under debuggers you will have another user ie IWAM_MachineName

have a look at this as well
http://msdn.microsoft.com/library/de...quirements.asp

--
Regards,
HD
Once a Geek.... Always a Geek
"Claude seraphin" <se******@metier.fr> wrote in message
I did rebuild as you suggested but still the last error. Should i reboot my
system?
"Hermit Dave" <he************@CAPS.AND.DOTS.hotmail.com> wrote in message
thats about all you need to do.
but just do a rebuild project (Build >> Rebuild Project_Name) first and then
try Start >> Debug (also you should have a page set up as a start page ..
solution explorer >> page >> right click >> set as start up page or
something
--
Regards,
HD
Once a Geek.... Always a Geek
"Claude seraphin" <se******@metier.fr> wrote in message
>
> "Hermit Dave" <he************@CAPS.AND.DOTS.hotmail.com> wrote in message >> have you set Build >> Configuration Manager active settings to Debug
>> also have you enabled debugging for asp.net under Project >> "Proejct
>> Name
>> Properties >> Configuaration >> Debuging
>>
>> if yes.. have you check to see whether you are under Administrators
>> and
>> Debuggers group on the server ?
>>
>> --
>> Regards,
>> HD
>> Once a Geek.... Always a Geek
>> "Claude seraphin" <se******@metier.fr> wrote in message
>> > 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
>> >
>> >
>>
>
> Well , now i'am getting :error while trying to run project: Unable to
> start
> debugging
>
> Asp debugging is disabled because asp process is running as a user that
> does
> not have debugging permissons.
>
> I admit it is an improvement compare to my first message and i got here
> thanks to your guidance by enabling debugging in
> Project >> "Proejct Name
>> Properties >> Configuaration >> Debuging
>
> I'm logged on as administrator and this account belongs to the
> debuggers
> group. i have just checked this.
>
>

have you set Build >> Configuration Manager active settings to Debug
also have you enabled debugging for asp.net under Project >> "Proejct Name
Properties >> Configuaration >> Debuging

if yes.. have you check to see whether you are under Administrators and
Debuggers group on the server ?


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



--

Regards,

HD
"Tony Nassar" <tn*****@theanalysiscorp.com> wrote in message
news:eH**************@TK2MSFTNGP09.phx.gbl... Colleagues,

I'm new to Web apps, so forgive the density of this question. I believe I've followed all the pertinent instructions, but I am not allowed to debug my
very first ASP.NET application. I am the sole user of this computer, and am, obviously, the administrator. I have granted \\THISMACHINE\ASPNET debugger
privileges; it doesn't help. I followed the instructions to the point of
creating the absolutely minimal ASP application, with no data access layer
or other complications; still no luck.

Any advice?

Tony

Nov 18 '05 #2
Dave, et al.,

ASPNET is the user who needs debugging privileges, and the configuration
file must allow debugging, but it does so by default for new Web
applications. In any case, I *did* add ASP to the Debugging user group; it
makes no difference. I can only think that there's something wrong with my
installation, but that kind of thing could take forever to untangle. Does
someone know how to find out how many, and which, ASP servers are running,
and what properties they have?

Tony
aaaah i know why.
think its trying to lauch the debugging as aspnet user (not sure if thats
the case).
no you dont need to reboot unless you changed or added user to to groups.
(even then log off is good enough)
just check to see if aspnet user belong to the groups.. lemme just check
msdn

http://msdn.microsoft.com/library/de...ndebugging.asp
if i find any more info will message you in just about a moment
think under debuggers you will have another user ie IWAM_MachineName

have a look at this as well
http://msdn.microsoft.com/library/de...quirements.asp
--

Nov 18 '05 #3
web.config <compilation language="c#" debug="true">
Build >> Confirguration Manager >> Debug Build
Project >> Project_Name Properties >> Configuration Properties >> Debugging
Enable ASP.NET debugging = true Save all
Rebuild the project

Debug >> start (you need to set an aspx page as a start page for the
project - under solutions explorer, right click the page and set as start
page)
This is how i got my application debug in local and remote servers

(Your problems may have somethings to do with impersonation but i am not
aware of those)
The links to two msdn article are probably good place to start.
--

Regards,

HD
"Tony Nassar" <tn*****@theanalysiscorp.com> wrote in message
news:ek**************@TK2MSFTNGP11.phx.gbl...
Dave, et al.,

ASPNET is the user who needs debugging privileges, and the configuration
file must allow debugging, but it does so by default for new Web
applications. In any case, I *did* add ASP to the Debugging user group; it
makes no difference. I can only think that there's something wrong with my
installation, but that kind of thing could take forever to untangle. Does
someone know how to find out how many, and which, ASP servers are running,
and what properties they have?

Tony
aaaah i know why.
think its trying to lauch the debugging as aspnet user (not sure if

thats the case).
no you dont need to reboot unless you changed or added user to to groups. (even then log off is good enough)
just check to see if aspnet user belong to the groups.. lemme just check
msdn

http://msdn.microsoft.com/library/de...ndebugging.asp

if i find any more info will message you in just about a moment
think under debuggers you will have another user ie IWAM_MachineName

have a look at this as well

http://msdn.microsoft.com/library/de...quirements.asp

--


Nov 18 '05 #4
Since I'm the sole user of the computer, and I certainly do have both
administrative and debugging privileges already, there doesn't seem to be
any reason why I should have to do all the things I was advised to do above,
but I went and did them anyway. I also reinstalled the .NET runtime (if you
press the "Help" button in the dialog informing you that you don't have
debugging privileges [even though I do, %$@@ it!], you'll be told that
installing IIS *after* VS.NET will cause problems), to no avail. I created a
Page_Load() method with this call in it:
System.Diagnostics.Debugger.Break();

....and then I *was* allowed to debug the process after the debugger attached
to it. This would not be possible if I did not have the right to debug
aspnet_wp.exe; obviously, then, I do. Thanks for all the contributions, but
I'll have to get by with this trick. I would guess that something is wacky
about my installation (of ASP.NET? of IIS? of VS.NET? Who knows?), but I've
spent enough time on this problem.
Nov 18 '05 #5
The user who needed to be added to the "Debugger Users" group was IUSR_xxxx
(xxxx being the machine name). I got lucky. That tweak isn't documented
anywhere.
Nov 18 '05 #6
All,

For what it's worth at this point, I did finally, inadvertently, solve the
problem. I had already tried adding EVERYONE to "Debugger Users," to
absolutely no avail. The user who needed to be assigned the "Debug Programs"
privelege through "Local Security Policies" was not "Anthony Nassar," nor
was is VUSR_xxxx (where xxxx is the machine name). No, it was IUSR_xxxx.
This is *not* consistent with the settings on my machine at work, where I
*do* debug ASP, nor is it documented anywhere. It's possible my settings at
home are simply messed up, but this works for now.

Tony
Nov 18 '05 #7

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

Similar topics

3
by: Marc | last post by:
Hello, I have 3 users in my MySQL server. One of them has Grant access (actually: all privileges). I cannot login as this user using phpMyAdmin - my password is not accepted (though I' m sure it...
4
by: Amardeep Verma | last post by:
Hi, I have a quick question. Which role/privileges are required before a user can give the statement "GRANT ALL PRIVILEGES"? Thanking you in Advance Have a nice day
2
by: Denis Martineau | last post by:
Some user accounts have been created some time ago and we have just found out that they were given privileges they should not have. However, I have no idea which account was used to create them and...
0
by: Charles Cantrell | last post by:
I have recently set up mySQL on a Mandrake release of Linux (Version 7 of Mandrake, I believe), using the binary 4.0.13 standard release. The set up and start up all were normal, as far as I...
0
by: Marc | last post by:
Hello, I have 3 users in my MySQL server. One of them has Grant access (actually: all privileges). I cannot login as this user using phpMyAdmin - my password is not accepted (though I' m sure it...
2
by: virgilio | last post by:
Hi all, "Administrator Guide Implementation" DB2 8.2, chapter 7, section "Indirect privileges through a package" states: (highlight >>>>!!!<<<<) "Privileges granted to individuals binding the...
4
by: Feldman Alex | last post by:
Hi all, I need to know the user privileges (does user have administrator privileges) .. Which c# api's should i use? Thanks a lot
12
by: mednyk | last post by:
T-SQL Debugger Doesn't Allow Stepping Through Stored Procedures And there is no other procedure with the same name owned by dbo or any other users. There is no error messages also, it just...
0
by: EricBlair | last post by:
Hello, I wrote a windows service that is supposed to start an interactive GUI app. I realize a service will not readily do this so I've pieced together the code below to bypass that. However, the...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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: 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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.