Could not load file or assembly 'CMS.ResourceManager, Version=5.0.3784.23941, Culture=neutral, PublicKeyToken=834b12a258f213f9' or one of its dependencies. Access is denied.

Server Error in '/' Application.

Could not load file or assembly 'CMS.ResourceManager, Version=5.0.3784.23941, Culture=neutral, PublicKeyToken=834b12a258f213f9' or one of its dependencies. Access is denied.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileLoadException: Could not load file or assembly 'CMS.ResourceManager, Version=5.0.3784.23941, Culture=neutral, PublicKeyToken=834b12a258f213f9' or one of its dependencies. Access is denied.

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

  <%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'CMS.ResourceManager, Version=5.0.3784.23941, Culture=neutral, PublicKeyToken=834b12a258f213f9' could not be loaded.


WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Stack Trace:


[FileLoadException: Could not load file or assembly 'CMS.ResourceManager, Version=5.0.3784.23941, Culture=neutral, PublicKeyToken=834b12a258f213f9' or one of its dependencies. Access is denied.]
   CMS.GlobalHelper.ResHelper..cctor() +0

[TypeInitializationException: The type initializer for 'CMS.GlobalHelper.ResHelper' threw an exception.]
   CMS.GlobalHelper.ResHelper.LocalizeString(String inputText) +0
   CMS.Controls.CMSAbstractMenuProperties.get_ZeroRowsText() +46
   CMSWebParts_Navigation_cmsmenu.get_ZeroRowsText() +48
   CMSWebParts_Navigation_cmsmenu.SetupControl() +976
   CMSWebParts_Navigation_cmsmenu.OnContentLoaded() +12
   CMS.PortalControls.CMSWebPartZone.OnContentLoaded() +135
   CMS.PortalControls.CMSAbstractLayout.OnContentLoaded() +125
   CMS.PortalControls.CMSAbstractLayout.LoadContent(PageInfo pageInfo, Boolean reloadData, Boolean allowOrphanedZones) +1058
   CMS.PortalControls.CMSPagePlaceholder.LoadContent(PageInfo pageInfo, Boolean reloadData) +1098
   CMS.PortalControls.CMSPortalManager.LoadContent(Boolean reloadData) +960
   CMS.PortalControls.CMSPortalManager.CMSPortalManager_Init(Object sender, EventArgs e) +76
   System.Web.UI.Control.OnInit(EventArgs e) +99
   System.Web.UI.Control.InitRecursive(Control namingContainer) +333
   System.Web.UI.Control.InitRecursive(Control namingContainer) +210
   System.Web.UI.Control.InitRecursive(Control namingContainer) +210
   System.Web.UI.Control.InitRecursive(Control namingContainer) +210
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378


Version Information: Microsoft .NET Framework Version:2.0.50727.5485; ASP.NET Version:2.0.50727.5491