SaaS CMS has officially launched! Learn more now.

Get this error on Epi CMS 11,


Following is the error we get, while we updated one of the block model, not sure on why EPiServer.Initialization.Internal.ModelSyncInitialization doesnt initialize, Did any one go through this error before? 

Server Error in '/' Application.

The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)

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: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)

[InitializationException: Initialize action failed for Initialize on class EPiServer.Initialization.Internal.ModelSyncInitialization, EPiServer, Version=, Culture=neutral, PublicKeyToken=8fe83dea738b45b7]
   EPiServer.Framework.Initialization.InitializationEngine.InitializeModules() +482
   EPiServer.Framework.Initialization.InitializationEngine.ExecuteTransition(Boolean continueTransitions) +153
   EPiServer.Framework.Initialization.InitializationEngine.Initialize() +40
   EPiServer.Framework.Initialization.<>c.<FrameworkInitialization>b__7_0(InitializationEngine e) +9
   EPiServer.Framework.Initialization.InitializationModule.EngineExecute(HostType hostType, Action`1 engineAction) +461
   EPiServer.Framework.Initialization.InitializationModule.FrameworkInitialization(HostType hostType) +170
   EPiServer.Global..ctor() +44
   FirstPREMIER.EPiServerApplication..ctor() +42
   ASP.global_asax..ctor() in c:\Users\Local Admin\AppData\Local\Temp\Temporary ASP.NET Files\vs\d0631526\b19775f0\App_global.asax.pnkn-9gg.0.cs:0
Apr 07, 2021 19:12

Can you tell what you have changed in the block model? code snippet of possible. did you change the type of any existing property?

Apr 08, 2021 0:24

"while we updated one of the block model"

How did you do that?

Apr 08, 2021 8:30

Restart the application, if this does work revert the change and re-do it. Make sure your deployment mechanism isn't leaving files behind

Apr 08, 2021 8:35
* 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.