Could not load file or assembly 'CMS.ResourceManager, Version=5.5.4136.59, 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.5.4136.59, 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.5.4136.59, 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.5.4136.59, 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.5.4136.59, 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.GetString(String stringName) +0
   CMS.UIControls.UniGrid..ctor() +129
   ASP.cmsadmincontrols_ui_unigrid_unigrid_ascx..ctor() +23
   ASP.cmsadmincontrols_ui_uniselector_uniselector_ascx.__BuildControluniGrid() +26
   ASP.cmsadmincontrols_ui_uniselector_uniselector_ascx.__BuildControlpnlGrid() +140
   ASP.cmsadmincontrols_ui_uniselector_uniselector_ascx.__BuildControlTree(cmsadmincontrols_ui_uniselector_uniselector_ascx __ctrl) +388
   ASP.cmsadmincontrols_ui_uniselector_uniselector_ascx.FrameworkInitialize() +22
   System.Web.UI.UserControl.InitializeAsUserControlInternal() +35
   System.Web.UI.UserControl.InitializeAsUserControl(Page page) +14
   ASP.cmsmodules_newsletters_controls_mysubscriptions_ascx.__BuildControlusNewsletters() +53
   ASP.cmsmodules_newsletters_controls_mysubscriptions_ascx.__BuildControlplcMain() +93
   ASP.cmsmodules_newsletters_controls_mysubscriptions_ascx.__BuildControlTree(cmsmodules_newsletters_controls_mysubscriptions_ascx __ctrl) +70
   ASP.cmsmodules_newsletters_controls_mysubscriptions_ascx.FrameworkInitialize() +22
   System.Web.UI.UserControl.InitializeAsUserControlInternal() +35
   System.Web.UI.UserControl.InitializeAsUserControl(Page page) +14
   ASP.cmswebparts_newsletters_mysubscriptionswebpart_ascx.__BuildControlucMySubsriptions() +53
   ASP.cmswebparts_newsletters_mysubscriptionswebpart_ascx.__BuildControlTree(cmswebparts_newsletters_mysubscriptionswebpart_ascx __ctrl) +12
   ASP.cmswebparts_newsletters_mysubscriptionswebpart_ascx.FrameworkInitialize() +22
   System.Web.UI.UserControl.InitializeAsUserControlInternal() +35
   System.Web.UI.UserControl.InitializeAsUserControl(Page page) +14
   ASP.meteolevicoterme_cmstemplates_newsletter_aspx.__BuildControlMySubscription1() +53
   ASP.meteolevicoterme_cmstemplates_newsletter_aspx.__BuildControlplcMySubscription() +77
   ASP.meteolevicoterme_cmstemplates_newsletter_aspx.__BuildControlContent2(Control __ctrl) +211
   System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container) +12
   ASP.meteolevicoterme_cmstemplates_root_master.__BuildControlplcMain() +116
   ASP.meteolevicoterme_cmstemplates_root_master.__BuildControlform1() +252
   ASP.meteolevicoterme_cmstemplates_root_master.__BuildControlTree(meteolevicoterme_cmstemplates_root_master __ctrl) +35
   ASP.meteolevicoterme_cmstemplates_root_master.FrameworkInitialize() +37
   System.Web.UI.UserControl.InitializeAsUserControlInternal() +35
   System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +8773167
   System.Web.UI.Page.get_Master() +51
   System.Web.UI.Page.ApplyMasterPage() +15
   System.Web.UI.Page.PerformPreInit() +45
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +282


Version Information: Microsoft .NET Framework Version:2.0.50727.8813; ASP.NET Version:2.0.50727.8951