Content

Problem description / Issue description

The following error message could be shown in your browser after the SharedObjects first run:

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: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[SecurityException: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security.]
System.Diagnostics.EventLog.FindSourceRegistration(String source, String machineName, Boolean readOnly) +665
System.Diagnostics.EventLog.SourceExists(String source, String machineName) +104
System.Diagnostics.EventLog.SourceExists(String source) +12
UtilsServer.Management.Logger.SafeLog(Message message) in E:\WORKSPACE\SharedObjects\SharedObjects.v1.1.0\UtilsServer.Management\Logger\Logger.cs:167
UtilsServer.Web.Global.Application_Start(Object sender, EventArgs e) in E:\WORKSPACE\SharedObjects\SharedObjects.v1.1.0\UtilsServer.Web\Global.asax.cs:85
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.5420; ASP.NET Version:2.0.50727.5420

As you can see in the following screenshot

SharedObjectsError

Solution

The problem could be solved by changing two things:

1) Identity of the SharedObjects application pool to Network Service

2) SharedObjects physical path credentials to Application user


Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: October 18, 2018