Ensure Secret Server Runs in Full Trust Mode

If you get an 'Required permissions cannot be acquired' exception, it may mean that Secret Server is not running in full trust mode.  To ensure that Secret Server runs in full trust, take the following steps:

  • Check your IIS Trust Level.
    • In IIS 7 this can be done by clicking on the Secret Server site, then selecting the .NET Trust Levels property.
    • Make sure this is set to Full.
  • Update the application pool to load the user profile.
    • Open the Advanced Settings on the IIS App Pool running Secret Server.
    • Change the 'Load User Profile' property to true.
  • If that fails, make sure the default web config is set to full trust as well
    • Go to the C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG folder and edit the web.config file. 
    • Verify that the trust level is set to full.  (You should see the following line: <trust level="Full" originUrl=""/>). 
    • Change this to say 'Full' if it is set to a different level.

Article ID: 143, Created On: 2/15/2011, Modified: 6/10/2011