How to Give an ASP.NET app access to local server registery?

  • Thread starter Thread starter Rob R. Ainscough
  • Start date Start date
R

Rob R. Ainscough

How can I permit my ASP.NET web app access to the Event Log?

I sometimes use the application Event log to write out debug info when I'm
testing -- but I get an error:

"Requested registry access is not allowed."

Is there anyway around this?

Rob.
 
2 Solutions

1) Give registry access permission to the ASPNET user
2) Create a user with registry access and impersonate
 
Tasos,

Thanks, I tried 1) -- no go. I used 2) and it worked.

Rob.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top