473,796 Members | 2,376 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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\A SPNET 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 1783
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_MachineNam e

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******@metie r.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******@metie r.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******@metie r.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*****@theana lysiscorp.com> wrote in message
news:eH******** ******@TK2MSFTN GP09.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\A SPNET 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_MachineNam e

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*****@theana lysiscorp.com> wrote in message
news:ek******** ******@TK2MSFTN GP11.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_MachineNam e

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.Diagnost ics.Debugger.Br eak();

....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
2723
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 must be the right one). I CAN login as any of the other users. When I do this and choose 'privileges' I get the overview: User - Host - Password - Global Privileges - Grant - Action I can see the user with all privileges, but the cell under...
4
99027
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
11508
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 when I use a DBA account to revoke these privileges I get the following message: "ORA-01927: cannot REVOKE privileges you did not grant" Any idea how to revoke these accesses?
0
10586
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 could tell, with no warnings or error messages. In nearly all respects, the database appears to be running as expected. I have the book "PHP and mySQL Web Development" by Luke Welling and Laura Thomson, and have been working through the examples...
0
1997
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 must be the right one). I CAN login as any of the other users. When I do this and choose 'privileges' I get the overview: User - Host - Password - Global Privileges - Grant - Action I can see the user with all privileges, but the cell under...
2
2205
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 package and to PUBLIC are used for authorization checking when static SQL is bound. Privileges granted through groups are >>>>not!!!!<<<< used for authorization checking when static SQL is bound. The user with a valid authID who binds a package...
4
12888
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
4472
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 completes procedure and returns result server: Microsoft SQL Server 2000 - 8.00.818 (Intel X86) Microsoft Corporation Enterprise Edition on Windows NT 5.0 (Build 2195: Service Pack 4) and I don't know how do determine Client's version.
0
4654
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 call to CreateProcessAsUser always returns a 1314 error: 'A required privilege is not held by the client.' I realize from the doc's that the calling process must have SE_TCB_NAME privilaege to assign new privileges to the new process and I have done...
0
10228
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10006
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9052
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7547
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6788
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5441
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5573
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4116
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.