• Tips for updating Episerver

    Description Below are some tips for upgrading Episerver  Resolution Look at the upgrade documentation, especially the breaking changes. Ensure your project is set to use the correct .net version. For instance in Episerver version 11 .net 4.6.x or higher is needed or the upgrade will fail with an error like the following error. Could not install package 'EPiServer.CMS.Core 11.3.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5.2'...

  • The content has to belong to EPiServer.Commerce.Catalog.Provider.CatalogContentProvider

    Description When upgrading from older Commerce versions, for example R1SP2 or 7.5,the error "The content has to belong to EPiServer.Commerce.Catalog.Provider.CatalogContentProvider" might be experienced. It can be difficult to find the content id causing the issue.Related forum thread Resolution Her eis a descrption on how to troubleshoot this error, find the erroneous content and then delete the content. Create an empty cms/commerce front site with the episerver VS ...

  • Required steps for deployment after removing packages

    Description In some cases you may remove a package without errors in your Visual Studio solution but after deployment you find errors like the following.  Could not load file or assembly 'episerver.cms.addons.blocks' or one of its dependencies. The system cannot find the file specified.  You may also find derelict packages in /modules/_protected or /bin folders. See below for required steps when removing Episerver packages and deploying. Resolution Use the Remove additional fi...

  • Could not load file or assembly System.Web.Razor or one of its dependencies.

    Description After copying an Episerver solution to a new environment the following error may occur in the Log4Net logs.  2017-12-05 12:53:09,615 [1] ERROR EPiServer.Framework.Initialization.InitializationEngine: Type lookup failed detail #1 LoaderException (limit 20): System.IO.FileLoadException: Could not load file or assembly 'System.Web.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does...

  • Updating Episerver Nuget Packages with the Package Manager Console

    Description Below are some nuget commands related to updating Episerver packages. The commands can be run from Visual Studio's Package Manager Console(Tools > Nuget Package Manager > Package Manager Console). Resolution   Show all updates available for solution get-package -Updates See all available assembly versions get-package EPiServer.CMS.Core -ListAvailable -AllVersions Install specific package version install-package PackageName -Version X   (where X is the version...

  • InvalidOperationException: Collection was modified

    Description This article describes an intermittent exception on startup caused by async registration of localization providers for modules because XForms translates text too early.  The error in stack trace is seen below. [InvalidOperationException: Collection was modified; enumeration operation may not execute.]System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) +56System.Collections.Generic.Enumerator.MoveNextRare() +14277518EPiServer.Framework.Localization.P...

  • Errors on migration page on upgrade (Migration failed)

    Description If you get the error message: 1. Migrates published Catalog Content has failed with exception 'System.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired. or 2. Failed to clean up meta keys: Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding. The statement has been terminated Resolution What you can try is to change these two settings: For exception 1 what you can try is to decr...

  • WebSocket Protocol Issue When Upgrading

    When upgrading your Episerver CMS UI to the latest versions, you may run into a websocket protocol error. This article provides links on this change and how to resolve the issue.  can't establish a connection to the server at wss://yoursite.com/EPiServer/Shell/socket/endpoint/.socket = new WebSocket(this._path); Resolution Below are some resources for what this change is and how to resolve issues when upgrading. http://world.episerver.com/documentation/Items/Developers-Guide...

  • Installing Commonly Used IIS Features Using Powershell

    This article provides a set of powershell commands which will install commonly used IIS features. Resolution Run powershell as an administrator and run the following commands to install a set of commonly used IIS features. Import-Module servermanager Install-WindowsFeature Web-App-Dev -IncludeAllSubFeature Install-WindowsFeature Web-Common-Http -IncludeAllSubFeature Add-WindowsFeature Web-Stat-CompressionAdd-WindowsFeature Web-Dyn-CompressionAdd-WindowsFeature Web-Static-Con...

  • How to Setup an Older (Prior to Version 9) Episerver Site Without Deployment Center

    Description The Visual Studio extension makes it easy to create new Episerver solutions and projects from scratch. However, if you were to have the latest version of the extension, it would by default setup a version of Episerver that is more recent. For example, version 10.0.1.202 released on 10/25/16 will create a 10.0.1 site and database schema matching that version. When developing Episerver sites, we highly encourage developers to be on latest when possible, but sometimes there is a ...

  • How To Find the Episerver CMS Version

    DescriptionThis article illustrates the different methods to locate Episerver CMS Platform version information. ResolutionThe image below shows the following options to find the version number.In Admin mode, click the Config tab > Plug-in Manager.View the title of the editor/admin mode browser window.Alternatively, view the version number of the EPiServer.dll file in the bin folder.This link shows corresponding version numbers and their release "Name". The version numbers a...