Ask a Question related to ASP.NET Security, Design and Development.
-
Meena #1
Continued: Debugging a web service
Thanks a lot Chris! Here is my situation in detail.
I have already created a domain account and I have
configured mymachine.config (<processmodel>section) so
that ASP.NET process runs with that account. On my local
system where I have my web server and my asp.net web
service application , I have logged in as a local
administrator. Additionally , I have configured my domain
account to be part of Debugger Users group on my local
system( I could not do it on the domain controller as I
cannot see that group there. Is it because .NET is not
installed on my domain controller ?)
Next my IIS is configured for Integrated Windows
Authentication and No anonymous login. Since I am using
Windows mode of authentication in my machine.config , I
see that enabling anonymous access does not make my
ASP.NET process to work. I had a hard time to figure this
out.
So with this in place I am happliy runnning my ASP.nET
process fine , hotsing my asp.net webservice , reading
from a remote database and whenever I want to debug I
manually attach to the process aspnet_wp.exe.
Chris , can i retain all my settings this way ( in IIS and
machine.config ) and still make my debugging work ? I do
not understand why I am not able to debug when I am a
local adminisrtor and also the account running ASP.NET is
assigned to Debugger Users .
Thanks in advance ,
Meenacould be with>-----Original Message-----
>Are you running as an admin? Debugger user? The problemis this (which you>debugging into a process owned by another user. What I douser):>actually have to do in order to debug as a non-adminregistry using>
>- Set up my user name and password encrypted in thepassword for aspnet_wp>aspnet_setreg
>- Change my machine.config to use my user name andaccount for>- Configure IIS to use a separate, low privileged domainallows me to debug>anonymous access
>- Configure my web site to use impersonation
>
>Since I use anonymous on IIS and forms on ASP.NET, thisstill passing>as a non-admin (it's my process, so I can do that) whileneeds to do, and no>credentials that only allow the process to do what it2000>more.
>
>--
>Chris Jackson
>Software Engineer
>Microsoft MVP - Windows XP
>Windows XP Associate Expert
>--
>"Meena" <meena@isiusa.com> wrote in message
>news:10eea01c38387$e65464e0$a601280a@phx.gbl...>> Hi ,
>>
>> I have an ASP.NET web service running on a Windowswanted>> Server (WHICH IS NOT A DOMAIN CONTROLLER). Since Ito>> to access a remote database on my intranet , I set up my
>> ASp.NET worker process(aspnet_wp.exe) to run under a
>> domain account(<domainname>\meenaaspnet). Everything is
>> workimg fine. I can access my remote database also.
>> However when I try to debug my program (using F11) it
>> gives me this error.
>>
>> "Error while trying to run project:Unable to start
>> debugging on a web server. Catastrophic failure"
>>
>> I can however run my application if I choose the option..>>> Start without debugging.
>> What do I do?
>
>.
>
Meena Guest
-
Debugging output does not appear when use Debugging IPAddresses
I recently absorbed the task of supporting our CF MX 6.1 server. We have an app that we need to debug - the developer asked us to add her IP... -
"The Debugging service is not available" error
Does anyone know what this error is? I've been getting intermittently on one of my CFMX boxes. This just started recently with no code changes. ... -
Opening URL continued
Hi, my previous problem was; "I'm using Director MX on Windows 2000. I have several links to websites in my project and when I play the movie... -
Help needed in debugging Web Service
Hi, I have a c# solution(say a) which has a web project. Also in this solution, there is a web reference to my web service. My web service is... -
Frames Continued - Why I Hate them OR why I Still Use Them.
This is intended to be a continuation of the discussion below which was called: "Frames Survey - How many use them and how many don't?" I'm trying...



Reply With Quote

