K
Ken Varn
I am fairly new to ASP.NET, and am not sure about a problem that I am having
and how to resolve it.
My web page needs to make a call to Process.GetCurrentProcess() for some
logging class that I am using in my web page. However, when the call is
made I get an exception indicating that Access is denied for the call. I
noticed that the documentation on GetCurrentProcess mentions something about
using PermissionState.Unrestricted, but I don't quite understand what is
expected to make this work. As of right now, my site does not do
impersonation in web.config and I would prefer to not have to set it for
various reasons. Could someone tell me what I need to do to allow this call
to go through?
--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.
EmailID = varnk
Domain = Diebold.com
-----------------------------------
and how to resolve it.
My web page needs to make a call to Process.GetCurrentProcess() for some
logging class that I am using in my web page. However, when the call is
made I get an exception indicating that Access is denied for the call. I
noticed that the documentation on GetCurrentProcess mentions something about
using PermissionState.Unrestricted, but I don't quite understand what is
expected to make this work. As of right now, my site does not do
impersonation in web.config and I would prefer to not have to set it for
various reasons. Could someone tell me what I need to do to allow this call
to go through?
--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.
EmailID = varnk
Domain = Diebold.com
-----------------------------------