Try our conversational search powered by Generative AI!

Upgrading EPiServer 9 - error in Edit Mode

Vote:
 

I just updated my EPiServer project to the currently latest release EPiServer.CMS.Core Core 9.0.3 (update 82) without any problem. But when entering Edit Mode the whole page just goes blank apart from the top navigation (where you switch between Edit mode and Admin mode etc).

This javascript error shows up the console:

dojo.js:15 GET https://localhost:8888/EPiServer/CMS/9.2.0.0/ClientResources/epi-cms/widget/_ItemSelectorBase.js 404 not found

and then a few secondary failures due to above (I guess):

Error: scriptError
at _f (dojo.js:15)
at HTMLScriptElement. (dojo.js:15)(anonymous function) @ widgets.js:2(anonymous function) @ dojo.js:15_9 @ dojo.js:15req.signal @ dojo.js:15(anonymous function) @ dojo.js:15
widgets.js:2 Error: scriptError
at _f (dojo.js:15)
at HTMLScriptElement. (dojo.js:15)(anonymous function) @ widgets.js:2_2f2 @ dojo.js:15_2ec @ dojo.js:15_30a.reject @ dojo.js:15_2cd @ dojo.js:15_2cb @ dojo.js:15dojo.Deferred._2cc.reject.errback @ dojo.js:15(anonymous function) @ widgets.js:2(anonymous function) @ dojo.js:15_9 @ dojo.js:15req.signal @ dojo.js:15(anonymous function) @ dojo.js:15

Any clue how to fix this?

(Note: I upgraded from EPiServer.CMS.Core 8.6.0).

#139448
Oct 02, 2015 11:17
Vote:
 

In my project tree, if I go to modules/_protected/CMS/ and open the CMS.zip file, I can verify that the _ItemSelectorBase.js is not there (CMS.zip\9.2.0.0\ClientResources\epi-cms\widget).
Other resources in the zip-file is working correctly, for example _HyperLinkFieldItem.js in the same widget folder...

Is EPiServer.CMS.UI 9.2.0 shipped without this file? Do I have something special that requires this resources, being incompatible with 9.2.0? (not that I know of at least)

#139451
Oct 02, 2015 12:48
Vote:
 

Ah, now I found out why this happens: I had the Language Manager add-on installed (v 1.4.0.8000). 

Anyone knows when there will be a release of Language Manager supporting CMS 9+ ?

#139452
Oct 02, 2015 14:09
Vote:
 

The language manager, or "EPiServer Languages", for CMS 9 has been made and is currently in QA. So it should be out real soon.

#139461
Oct 02, 2015 15:58
Vote:
 

Great!

#139466
Oct 02, 2015 16:18
Vote:
 

In theory all depending assemblies should be released togather. 9Upgrades costs to business)


Regards
/K

#139469
Oct 02, 2015 16:50
Vote:
 

This poses a real problem to me. We are about to release a new version of our website with the newest version of Episerver installed, but our users who have the language manager installed can't use the CMS because of this error. When will the new version of the language manager be released? And in the meantime, is there a workaround for this?

#140339
Edited, Oct 16, 2015 10:57
Vote:
 

Rene, it's released, but it's in the ordinary EPiServer Nuget Feed, not the AddOn feed.

#140340
Oct 16, 2015 11:01
Vote:
 

Hello Rene

The latest version of the language manager (CMS 9 compatible) was released to the EPiServer Nuget feed a couple of days ago.

David

#140341
Oct 16, 2015 11:01
Vote:
 

Hey thanks for your replies. 

I installed the latest stable version and now I get the following runtime error:


The assembly EPiServer.Labs.LanguageManager, Version=1.4.3.9000, Culture=neutral, PublicKeyToken=null cannot be registered for module EPiServer.Labs.LanguageManager since it has already been registered by module Episerver.Labs.LanguageManager.

[InvalidOperationException: The assembly EPiServer.Labs.LanguageManager, Version=1.4.3.9000, Culture=neutral, PublicKeyToken=null cannot be registered for module Episerver.Labs.LanguageManager since it has already been registered by module EPiServer.Labs.LanguageManager.]   EPiServer.Shell.Modules.ModuleTable.CheckAssembliesAlreadyRegistered(ShellModule module) +492   EPiServer.Shell.Modules.ModuleTable.Add(ShellModule newModule) +208   EPiServer.Shell.Modules.ModuleTable.AddRange(IEnumerable`1 modules) +94   EPiServer.Shell.ShellInitialization.Initialize(InitializationEngine context) +205   EPiServer.Framework.Initialization.ModuleNode.Execute(Action a, String key) +56   EPiServer.Framework.Initialization.InitializationEngine.InitializeModules() +244

[InitializationException: Initialize action failed for Initialize on class EPiServer.Shell.ShellInitialization, EPiServer.Shell, Version=9.1.0.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7]   EPiServer.Framework.Initialization.InitializationEngine.InitializeModules() +750   EPiServer.Framework.Initialization.InitializationEngine.Initialize(HostType hostType) +158   EPiServer.Framework.Initialization.InitializationModule.Initialize(HostType hostType) +947   EPiServer.Framework.Initialization.InitializationModule.FrameworkInitialization(HostType hostType) +103   EPiServer.Global..ctor() +108   Roompot.Website.EPiServerApplication..ctor() in D:\Projects\Roompot\src\Roompot.Website\Global.asax.cs:69   ASP.global_asax..ctor() in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a95ebaa6\606ba452\App_global.asax.0.cs:0

#140343
Oct 16, 2015 11:55
Vote:
 

You probably have the old one installed or some old files wasn't deleted when you uninstalled it. Might be best to uninstall both versions and remove all files related to languagemanager, and then reinstall the new one.

#140344
Oct 16, 2015 12:02
Vote:
 

Thanks. I also had to remove some references from config files to get it to work. 

#140347
Oct 16, 2015 12:26
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.