Security Exception

Hi! I get an error on the first visit each day on my episerversite - Server Error in '/' Application.. But if I refresh the browser the error is gone. It says the following: System.Security.SecurityException: Requested registry access is not allowed Why is episerver trying to write to the Registry? And why does it fail? Could it be the user IUSR_servername that doesn't have enough privilegies to perform this operation? Does anybody have any ideas?
Mar 25, 2008 19:30
Hi, It seems that you have installed EPiServer as a non administrator, and because that an event source needed by EPiServer, and called "EPiServer Scheduler" was not created. The easiest way for you to solve the problem will be to create a console application add the following three lines: System.Diagnostics. EventLog _eventLog = new System.Diagnostics.EventLog("Application", ".", "EPiServer Scheduler"); _eventLog.WriteEntry( "Installed OK"); _eventLog.Dispose(); and run it once as an administrator. Then everything should be just fine. To check that, in the event viewer, under the application you should find a new entry with the newely created source and the description "Installed OK". Also see Regards Per
Mar 25, 2008 19:31
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.