Could not load file or assembly 'CMS.ResourceManager, Version=4.1.3518.21041, 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=4.1.3518.21041, 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=4.1.3518.21041, 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=4.1.3518.21041, 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=4.1.3518.21041, 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.Controls.DataPager..ctor() +583
   CMS.Controls.CMSRepeater.get_PagerControl() +36
   CMSWebParts_cmsrepeater.set_PagerPosition(PagingPlaceTypeEnum value) +69
   ASP.cmstemplates_rubikon_twocoleditable_aspx.__BuildControlrptGallery() +111
   ASP.cmstemplates_rubikon_twocoleditable_aspx.__BuildControlcntMain(Control __ctrl) +105
   System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container) +12
   ASP.cmstemplates_rubikon_main_master.__BuildControlplcMain() +116
   ASP.cmstemplates_rubikon_main_master.__BuildControlform1() +411
   ASP.cmstemplates_rubikon_main_master.__BuildControlTree(cmstemplates_rubikon_main_master __ctrl) +35
   ASP.cmstemplates_rubikon_main_master.FrameworkInitialize() +37
   System.Web.UI.UserControl.InitializeAsUserControlInternal() +35
   System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +8762175
   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.8009; ASP.NET Version:2.0.50727.8015