Trust Settings for MCMS Web Applications
MCMS and SharePoint (WSS/SPS) are configured to run under different security trust models. SharePoint can run under Minimal, Medium, or a custom trust level, while MCMS has to run under full trust. Since SharePoint takes the primary host role in a virtual server, its web.config
file is located in the root of the website, so any web application below the root will inherit the security trust of SharePoint. To resolve this, you will need to modify the MCMS web application’s web.config
file to grant it Full
trust, overriding the trust level settings of the SharePoint web.config
file in the root.
Open the web.config
file of your MCMS web application and add the following code to grant it full trust:
<configuration>
<system.web>
<pages smartNavigation="false" validateRequest="false" />
<customErrors mode="RemoteOnly" />
<authentication mode="Windows" />
<trust level="Full" originUrl="" /></system.web>
</configuration>