November Happy Hour will be moved to Thursday December 5th.

Installing Episerver CMS 11.15.0 addresses issues with .zip folders in Shell being "corrupted"

Vote:
 
Hi
Today I was about to upgrade Episerver CMS for my client from Episerver CMS 11.3.1 to Episerver CMS 11.15.0.
This worked out great in our stage/test environment but when going to production we received the following error:

Event code: 3005 

Event message: An unhandled exception has occurred. 

Event time: 2020-06-10 18:02:25 

Event time (UTC): 2020-06-10 16:02:25 

Event ID: 1bcc8f76ec1445f58f432c804fbd0336 

Event sequence: 1 

Event occurrence: 1 

Event detail code: 0 

 

Application information: 

    Application domain: /LM/W3SVC/2/ROOT-1-132362785108475093 

    Trust level: Full 

    Application Virtual Path: / 

    Application Path: IHAVEREMOVEDMYCLIENTSAPPLICATION

    Machine name: IHAVEREMOVEDMYCLIENTMACHINE 

 

Process information: 

    Process ID: 5852 

    Process name: w3wp.exe 

    Account name: ihaveremovemyclientsaccountname

 

Exception information: 

    Exception type: TargetInvocationException 

    Exception message: Exception has been thrown by the target of an invocation.

   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)

   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)

   at System.Activator.CreateInstance(Type type, Boolean nonPublic)

   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)

   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)

   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture)

   at System.Web.HttpRuntime.CreateNonPublicInstance(Type type, Object[] args)

   at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)

   at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)

Initialize action failed for Initialize on class EPiServer.Shell.ShellInitialization, EPiServer.Shell, Version=11.23.8.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7

   at EPiServer.Framework.Initialization.InitializationEngine.InitializeModules()

   at EPiServer.Framework.Initialization.InitializationEngine.ExecuteTransition(Boolean continueTransitions)

   at EPiServer.Framework.Initialization.InitializationModule.EngineExecute(HostType hostType, Action`1 engineAction)

   at EPiServer.Framework.Initialization.InitializationModule.FrameworkInitialization(HostType hostType)

   at EPiServer.Global..ctor()

   at ASP.global_asax..ctor()

Number of entries expected in End Of Central Directory does not correspond to number of entries in Central Directory.

   at System.IO.Compression.ZipArchive.ReadCentralDirectory()

   at System.IO.Compression.ZipArchive.get_Entries()

   at EPiServer.Web.Hosting.CaseInsensitiveZipArchive..ctor(ZipArchive zipArchive)

   at EPiServer.Web.Hosting.FileAndVppZipArchiveReader.OpenArchive()

   at EPiServer.Web.Hosting.ZipArchiveVirtualPathProvider.get_Archive()

   at EPiServer.Web.Hosting.ZipArchiveVirtualPathProvider.FileExists(String virtualPath)

   at EPiServer.Web.Hosting.ZipArchiveVirtualPathProvider.FileExists(String virtualPath)

   at EPiServer.Web.Hosting.ZipArchiveVirtualPathProvider.FileExists(String virtualPath)

   at EPiServer.Shell.Modules.ModuleFinder.ReadManifest(String manifestVirtualPath)

   at EPiServer.Shell.Modules.ModuleFinder.GetModuleInDirectory(String routeBasePath, String moduleResourcePath, IEnumerable`1 configuredAssemblyNames, AutoDiscoveryLevel discoveryMode, String configuredName)

   at EPiServer.Shell.Modules.ConfigModuleProvider.<>c__DisplayClass7_0.<GetConfiguredModules>b__0(ModuleDetails i)

   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()

   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()

   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

   at EPiServer.Shell.Modules.ConfigModuleProvider.GetConfiguredModules(ModuleOptionsBase moduleInfo)

   at EPiServer.Shell.Modules.ConfigModuleProvider.GetModules()

   at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext()

   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

   at EPiServer.Shell.Modules.ShellModule.MergeDuplicateModules(IEnumerable`1 modules)

   at EPiServer.Shell.ShellInitialization.Initialize(InitializationEngine context)

   at EPiServer.Framework.Initialization.Internal.ModuleNode.Execute(Action a, String key)

   at EPiServer.Framework.Initialization.Internal.ModuleNode.Initialize(InitializationEngine context)

   at EPiServer.Framework.Initialization.InitializationEngine.InitializeModules()

Request information: 

    Request URL: https://ihaveremovedmyclientsaddress:443/da/Produkter/pozzo/24291/ 

    Request path: /da/Produkter/pozzo/24291/ 

    User host address: 157.55.39.219 

    User:  

    Is authenticated: False 

    Authentication Type: 

    Thread account name: ihaveremovemyclientsaccountname

 

Thread information: 

    Thread ID: 12 

    Thread account name: ihaveremovemyclientsaccountname

    Is impersonating: False 

    Stack trace:   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)

   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)

   at System.Activator.CreateInstance(Type type, Boolean nonPublic)

   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)

   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)

   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture)

   at System.Web.HttpRuntime.CreateNonPublicInstance(Type type, Object[] args)

   at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)

   at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)

It seems to be a problem with one of the .zip files in /modules/_protected/ catalogue when the upgrade initialization takes place.

I have tried the following below with no better luck in solving the issue:

  • Reuploaded the "corrupted files"
  • Checked permissions on catalogue levels for /modules/
  • Emptied the current files for the project and added all the files as a fresh stat on the IIS
  • Checked the archive of the .zip files whom seems to be corrupted, but they don't according to 7zip

I can't imagine this being addressed in the Episerver CMS 11.15 framework as an issue, just rather something with the enviornment to where I am publishing the files to... But cannot really address the real issue.

Regards

Eric

#224102
Jun 11, 2020 6:09
* 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.