Symptoms

When third-party assemblies try to access some sensitive properties, user code might be blocked. When this issue occurs, “8gaol” event entries are logged in SharePoint Unified Logging System (ULS) logs. 

Cause

To help maintain security, third-party assemblies are prevented from accessing some sensitive properties.

Resolution

To resolve this issue, install one of the following updates:

To enable trusted third-party assemblies to access the sensitive properties in the Web.config file, add them to the assembly list.

For example, assume that you find the following message in ULS logs: 

8gaol  Unable to access this sensitive property : <sensitive property name> from outer untrusted assembly <3rd party assembly full name>. Trusted assembly list: <assembly list for accessing sensitive properties>

In this case, follow these steps: 

  1. Add a new AllowAccessSensitivePropertiesAssemblies section under SharePoint SafeMode in the Web.config file:<SharePoint>    <SafeMode>       <AllowAccessSensitivePropertiesAssemblies>       </AllowAccessSensitivePropertiesAssemblies>        </SafeMode>    </SharePoint>

  2. For each third-party assembly, add an entry that has an assembly full name in the AllowAccessSensitivePropertiesAssemblies section:<AllowAccessSensitivePropertiesAssemblies>    <AllowAccessSensitivePropertiesAssembly Assembly="XXX, Version=XXX, Culture=XXX, PublicKeyToken=XXXX"/></AllowAccessSensitivePropertiesAssemblies>

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.