access denied when accessing event log in asp.net app.

V

Vikram

getting following error while accessing event log for reading


Win32Exception (0x80004005): Access is denied]

[InvalidOperationException: Cannot open log System on machine .. Windows has
not provided an error code.]
System.Diagnostics.EventLog.OpenForRead() +589
System.Diagnostics.EventLog.get_EntryCount() +34
System.Diagnostics.EntriesEnumerator.MoveNext() +20
ServerMonitoring.ServerMonitor.ReadEventLog(Int16 intDAys) +736
ServerMonitoring.ServerMonitor.btnEventLog_Click(Object sender, EventArgs
e) +43
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108

System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePo
stBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1262


In have provided admin rigths to the guest a/c, net service a/c and asp.net
a/c but still the problme presist.
Webserver is win 2003

Any solution ?
 

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,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top