Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Security exception while trying to wrtite Event Log

Security exception while trying to wrtite Event Log

Scheduled Pinned Locked Moved ASP.NET
csharphelpasp-netcomwindows-admin
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Alex Getman
    wrote on last edited by
    #1

    Hi Gurus! I developing a C# asp.net application. I want my application write something to it's own event log, but when I trying to do this I got folllowing error - "Requested Registry Access Is Not Allowed" Error Message When ASP.NET Application Tries to Write New EventSource in the EventLog I found some solutiong here - http://support.microsoft.com/?id=329291 but it not helps in my case... I have done all modifications to my code exactly like in former article, but I still recieve this error... I hope someone could help me. Thanx. xedom developers team

    S 1 Reply Last reply
    0
    • A Alex Getman

      Hi Gurus! I developing a C# asp.net application. I want my application write something to it's own event log, but when I trying to do this I got folllowing error - "Requested Registry Access Is Not Allowed" Error Message When ASP.NET Application Tries to Write New EventSource in the EventLog I found some solutiong here - http://support.microsoft.com/?id=329291 but it not helps in my case... I have done all modifications to my code exactly like in former article, but I still recieve this error... I hope someone could help me. Thanx. xedom developers team

      S Offline
      S Offline
      Steven Campbell
      wrote on last edited by
      #2

      The "modifications" mentioned in the article are not modifications -- they are instructions on how to work around the problem without changing your code. Which of the 2 suggested solutions did you try? I had the same problem, and the "edit the registry" solution worked fine.


      my blog

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups