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