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. System.Security.SecurityException: Requested registry access is not allowed.

System.Security.SecurityException: Requested registry access is not allowed.

Scheduled Pinned Locked Moved Web Development
windows-adminhelpcsharpdotnetsysadmin
5 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.
  • T Offline
    T Offline
    tadhg88
    wrote on last edited by
    #1

    Hi all, I know this is a pretty common problem and there are lots of hits on google for the problem but I have spent the last few days goin through all these hits and nothing seems to work, the server is new and it is running Windows Server 2003, IIS 6 and .Net Framework 1.1 any help, advise or anything would really be appreciated. Thanks in advance Tim

    S 1 Reply Last reply
    0
    • T tadhg88

      Hi all, I know this is a pretty common problem and there are lots of hits on google for the problem but I have spent the last few days goin through all these hits and nothing seems to work, the server is new and it is running Windows Server 2003, IIS 6 and .Net Framework 1.1 any help, advise or anything would really be appreciated. Thanks in advance Tim

      S Offline
      S Offline
      SHatchard
      wrote on last edited by
      #2

      I remember this exception from when I was creating entries in the event log in an application, is this something which you are doing? I think specifically its adding items to a new event log (ie not application, security, etc) and you need specific permissions to create this. If this is not something which your application does then please post back.

      T 1 Reply Last reply
      0
      • S SHatchard

        I remember this exception from when I was creating entries in the event log in an application, is this something which you are doing? I think specifically its adding items to a new event log (ie not application, security, etc) and you need specific permissions to create this. If this is not something which your application does then please post back.

        T Offline
        T Offline
        tadhg88
        wrote on last edited by
        #3

        thanks for your reply yes the application is tryin to write to the event log using Microsoft dlls the error is specifically related to the following 3 dlls Microsoft.Practices.EnterpriseLibrary.Data.dll Microsoft.Practices.EnterpriseLibrary.Configuration.dll Microsoft.Practices.EnterpriseLibrary.Common.dll from what i understand of the error bein dispayed these are trying to write to the event log but do not have the permissions needed thanks again Tim

        S 1 Reply Last reply
        0
        • T tadhg88

          thanks for your reply yes the application is tryin to write to the event log using Microsoft dlls the error is specifically related to the following 3 dlls Microsoft.Practices.EnterpriseLibrary.Data.dll Microsoft.Practices.EnterpriseLibrary.Configuration.dll Microsoft.Practices.EnterpriseLibrary.Common.dll from what i understand of the error bein dispayed these are trying to write to the event log but do not have the permissions needed thanks again Tim

          S Offline
          S Offline
          SHatchard
          wrote on last edited by
          #4

          When I had this problem i followed the steps in this knowledge base article http://support.microsoft.com/default.aspx?scid=kb;en-us;329291[^] And all seemed to be fine.

          T 1 Reply Last reply
          0
          • S SHatchard

            When I had this problem i followed the steps in this knowledge base article http://support.microsoft.com/default.aspx?scid=kb;en-us;329291[^] And all seemed to be fine.

            T Offline
            T Offline
            tadhg88
            wrote on last edited by
            #5

            i actually found this article and managed to do the First Approach but i was unable to run the InstallUtil EventLogSourceInstaller.dll part of the Second Approach do u know what directory u need to be in to run it and can u do it use normal command prompt Thanks Tim

            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