5.2.375.7 language problems

 

I've just installed v5.2.375.7 and have created a new website.

This works fine on one of the dev-computers, but on another this error is present when trying to open any page other than edit/admin:

Exception details: TypeInitializationException: The type initializer for 'EPiServer.Globalization.SystemLanguage' threw an exception.

Stack trace:

[TypeInitializationException: The type initializer for 'EPiServer.Globalization.SystemLanguage' threw an exception.]
   at EPiServer.Globalization.SystemLanguage.get_Instance()
   at EPiServer.PageBase.InitializeCulture()
   at ASP.content_portal_startpage_aspx.__BuildControlTree(content_portal_startpage_aspx __ctrl) in c:\Projects\MyNewProject\source\MyNewProject\MyNewProject\source\MyNewProject\source\B2B\Content\Portal\StartPage.aspx:line 1
   at ASP.content_portal_startpage_aspx.FrameworkInitialize() in c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\MyNewProject\3c84508f\db4b1221\App_Web_tc8yicdb.1.cs:line 0
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at ASP.content_portal_startpage_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\MyNewProject\3c84508f\db4b1221\App_Web_tc8yicdb.1.cs:line 0
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

[Inner exception TypeInitializationException: The type initializer for 'EPiServer.Globalization.LanguageSelection' threw an exception.]
   at EPiServer.Globalization.LanguageSelection..ctor()
   at EPiServer.Globalization.SystemLanguage..ctor()
   at EPiServer.Globalization.SystemLanguage..cctor()

 

Anyone has any clue what might be wrong here?

I've tried reinstalling EpiServerCMS twice now as to me it looks like something is not registered correctly...

#26515 Dec 09, 2008 11:55
  •  

    FYI: The solution was to add all assemblyBinding's to web.config (copied from the example site's web.config).

    #26529 Dec 10, 2008 11:13
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
Please login to post a reply