Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 5.x > Installation and deployment > Could not load file or assembly 'CMS.ResourceManager View modes: 
User avatar
Member
Member
reddiaz-gmail - 11/15/2011 10:27:51 AM
   
Could not load file or assembly 'CMS.ResourceManager
Hi guys,

Would like to find out the cause of the following error...

Could not load file or assembly 'CMS.ResourceManager, Version=5.5.3803.23626, Culture=neutral, PublicKeyToken=834b12a258f213f9' or one of its dependencies. The system cannot find the path specified.

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.FileNotFoundException: Could not load file or assembly 'CMS.ResourceManager, Version=5.5.3803.23626, Culture=neutral, PublicKeyToken=834b12a258f213f9' or one of its dependencies. The system cannot find the path specified.

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.3803.23626, 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:

[FileNotFoundException: Could not load file or assembly 'CMS.ResourceManager, Version=5.5.3803.23626, Culture=neutral, PublicKeyToken=834b12a258f213f9' or one of its dependencies. The system cannot find the path specified.]
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) +891
CMS.PortalControls.CMSPortalManager.LoadContent(Boolean reloadData) +1152
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


Our website is currently hosted at discountasp, is the error a server related issue?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 11/16/2011 3:36:33 AM
   
RE:Could not load file or assembly 'CMS.ResourceManager
Hi,

Could you please let us know which version of Kentico CMS are you using? I just want to be sure that there is no version mismatch.

Also, what steps are leading to this error message?
Could you please enable the debug mode as described in 2) of the error message so we can see more details?

Also, could you please check whether the CMS.ResourceManager.dll file is present in the BIN folder and what is it's version?

Best regards,
Juraj Ondrus