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 ?
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 ?