By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,977 Members | 1,610 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,977 IT Pros & Developers. It's quick & easy.

Requested registry access is not allowed.

P: n/a
Does anyone have any advise on how I can fix the error message shown below?
Thanks in advance for any ideas,
Shane
Server Error in '/' Application.
--------------------------------------------------------------------------------

Security Exception
Description: The application attempted to perform an operation not allowed
by the security policy. To grant this application the required permission
please contact your system administrator or change the application's trust
level in the configuration file.

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

Source Error:
Line 42: {
Line 43:
Line 44: Logger.Write("Application_Start");
Line 45:
Line 46: // Initializes various security providers
Source File:
C:\Inetpub\customers\interface\framework\aspnet\ba seApplication.cs Line:
44

Stack Trace:
[SecurityException: Requested registry access is not allowed.]
Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) +440
System.Diagnostics.EventLog.CreateEventSource(Stri ng source, String
logName, String machineName, Boolean useMutex) +443
System.Diagnostics.EventLog.WriteEntry(String message, EventLogEntryType
type, Int32 eventID, Int16 category, Byte[] rawData) +347
System.Diagnostics.EventLog.WriteEntry(String source, String message,
EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData) +68
System.Diagnostics.EventLog.WriteEntry(String source, String message,
EventLogEntryType type, Int32 eventID, Int16 category) +21
System.Diagnostics.EventLog.WriteEntry(String source, String message,
EventLogEntryType type, Int32 eventID) +15
System.Diagnostics.EventLog.WriteEntry(String source, String message,
EventLogEntryType type) +11

Microsoft.Practices.EnterpriseLibrary.Logging.Dist ributor.DistributorEventLogger.WriteToLog(Exceptio n exception, Severity severity)

Microsoft.Practices.EnterpriseLibrary.Logging.Dist ributor.DistributorEvents.LogProcessLogException(L ogEntry logEntry, Exception ex)

Microsoft.Practices.EnterpriseLibrary.Logging.Dist ributor.LogDistributor.ProcessLog(LogEntry log)

Microsoft.Practices.EnterpriseLibrary.Logging.Dist ributor.InProcLogDistributionStrategy.SendLog(LogE ntry logEntry)

Microsoft.Practices.EnterpriseLibrary.Logging.LogW riter.SendMessage(LogEntry
logEntry)
Microsoft.Practices.EnterpriseLibrary.Logging.LogW riter.Write(LogEntry log)
Microsoft.Practices.EnterpriseLibrary.Logging.Logg er.Write(LogEntry log)
Microsoft.Practices.EnterpriseLibrary.Logging.Logg er.Write(Object
message, String category, Int32 priority, Int32 eventId, Severity severity,
String title, IDictionary properties)
Microsoft.Practices.EnterpriseLibrary.Logging.Logg er.Write(Object message)

PointMethod.Customers.Interface.Web.IFS.framework. aspnet.baseApplication.Application_Start(Object
sender, EventArgs e) in
C:\Inetpub\customers\interface\framework\aspnet\ba seApplication.cs:44


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032
Feb 5 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.