"
Does the reduced privileges of the ASPNET account, used to run the ASP.NET worker process, cause problems for the exception manager when I'm using it within an ASP.NET Web application?
...
To overcome this problem, the RTM release of the Exception Manager creates Event sources at installation time when administrative rights means that there is no problem creating Event sources
...."
saucer(思归) 你好,谢谢指点先!
我用了ExceptionManagermentApplicationBlock,遇到了这个错误: System.Security.SecurityException: Requested registry access is not allowed.
我参照你在http://expert.csdn.net/Expert/topic/2247/2247480.xml?temp=2.381533E-02中推荐的这篇文章http://support.microsoft.com/?id=329291,
创建ASPNET用户成功,并且用他提供的例子能够将信息以ASPNET写入事件查看器。
但是回头再用ExceptionManagermentApplicationBlock,仍然是相同错误:
Exception Details: System.Security.SecurityException: Requested registry access is not allowed.
Source Error:
Line 659: if (!EventLog.SourceExists(applicationName))
Line 660: {
Line 661: EventLog.CreateEventSource(applicationName, logName);
Line 662: }
Line 663: }
我实在是搞不懂了,能不能帮我看看呀,再次谢谢,代码附上