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

Discussion in 'ASP .Net' started by Vikram, Apr 5, 2006.

  1. Vikram

    Vikram Guest

    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 ?
    Vikram, Apr 5, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Henrik_the_boss
    Replies:
    0
    Views:
    2,647
    Henrik_the_boss
    Nov 5, 2003
  2. Kay
    Replies:
    1
    Views:
    376
    Bruce Barker
    Jan 11, 2006
  3. JimLad
    Replies:
    0
    Views:
    614
    JimLad
    Jan 26, 2010
  4. Jaloha
    Replies:
    0
    Views:
    168
    Jaloha
    Jul 2, 2004
  5. Tom Wingert
    Replies:
    0
    Views:
    330
    Tom Wingert
    Jan 12, 2006
Loading...

Share This Page