Try our conversational search powered by Generative AI!

upgrading CMS 6


I'm trying to upgrade a CMS 6 installation to CMS 7.5 but whithout success. This is what I get:


Verifying whether specific add-ons should be updated before site upgrade.

An unhandled error has occured:

Virtual path to protected packages is invalid: ''.

When executing

At C:\Program Files (x86)\EPiServer\CMS\7.5.394.2\Upgrade\System Scripts\Upgrad

e Site To 7R2 (SqlServer).ps1:18 char:35

+ $addOnsToBeUpdated = Get-EPiAddOns <><><>< -ApplicationPath $siteRoot -ApiPath

$apiRoot `



At C:\Program Files (x86)\EPiServer\CMS\7.5.394.2\Upgrade\System Scripts\Upgrade Site To 7R2 (SqlServer).ps1:18 char:35

+ $addOnsToBeUpdated = Get-EPiAddOns <><><>< -ApplicationPath $siteRoot -ApiPath $apiRoot `

System.Configuration.ConfigurationErrorsException: Virtual path to protected packages is invalid: ''.

at EPiServer.Packaging.Configuration.PackagingConfiguration..ctor(IHostingEnvironment environment, EPiServerPackagingSection packagingSection, EPiServerFrameworkSection frameworkConfiguration, String binPath)

at EPiServer.Packaging.CommandLine.PackagingHelper.InitConfiguration()

at EPiServer.Packaging.CommandLine.PackagingHelper..ctor(String applicationPath)

at EPiServer.Packaging.CommandLine.PackagingCommands.GetInstalled(Object cmdLet)

at EPiServer.Install.Packaging.Cmdlets.GetAddOnsCmdLet.ProcessRecord()

at System.Management.Automation.Cmdlet.DoProcessRecord()

at System.Management.Automation.CommandProcessor.ProcessRecord()


Can someone please suggest I way forward?

Best regards


Nov 03, 2015 14:50

You can check out the guide

Basically start with upgrading to 6 R2 then continue to 7 then 7.5.

Use deployment center and not nuget packages for upgrade. Best to keep a fresh demo site close to steal some settings from.

Looks like you have a problem with vpp. Tried to upgrade directly to 7.5? Used nuget instead of deployment center?

At 7.5 you also need to migrate vpp files to new media files. There is a tool that does that.

Feb 05, 2016 21:20
* 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.