Access Denied

G

Guest

Hi
from ASP.NET page i try to read the Application of Event Viewer. I use the
EventLog Class. When i try to instance the object all working fine, but when
i try to read the Application there ia an Exception with the next error
message:

System.ComponentModel.Win32Exception: Access is denied

I have already changed the UserName attribute in the ProcessModel section of
machine.config and changed the permission in the registry key
\CurrentControlSet\Services\EventLog\Application

There is a solution for this problem?

Thanks in adavance
Best regards


Enrico Zerilli
(e-mail address removed)
http://blogs.dotmark.net/enf/
 

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

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,059
Latest member
cryptoseoagencies

Latest Threads

Top