Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Help upgrading from 6 R2 to 7

Vote:
 

Hi - I really need some help :) I am trying to upgrade an 6 R2 site, to a 7 on my local enviorment using the deployment center. And it fails.

An unhandled error has occured:The path is not of a legal form.When executing

At C:\Program Files (x86)\EPiServer\Framework\7.0.859.1\Install\System Scripts\Install Module Package.ps1:157 char:16+ Add-EPiXmlBlock <><><><  -TargetFilePath $packagesConfigPath -ElementXPath "/packages" -XmlBlock $packageRegistrationXml
True=Get-EPiIsBulkInstalling
An unhandled error has occured:The path is not of a legal form.When executing
At C:\Program Files (x86)\EPiServer\Framework\7.0.859.1\Install\System Scripts\Install Module Package.ps1:157 char:16+ Add-EPiXmlBlock <><><><  -TargetFilePath $packagesConfigPath -ElementXPath "/packages" -XmlBlock $packageRegistrationXml
=Get-EPiIsBulkInstalling
At C:\Program Files (x86)\EPiServer\Framework\7.0.859.1\Install\System Scripts\Install Module Package.ps1:157 char:16+ Add-EPiXmlBlock <><><><  -TargetFilePath $packagesConfigPath -ElementXPath "/packages" -XmlBlock $packageRegistrationXmlSystem.ArgumentException: The path is not of a legal form.   at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)   at System.IO.Path.GetFullPathInternal(String path)   at System.IO.DirectoryInfo.Init(String path, Boolean checkHost)   at System.IO.DirectoryInfo..ctor(String path)   at EPiServer.Install.Common.TempPath..ctor(Char hostDrive)   at EPiServer.Install.Common.FileBackup..ctor(FileInfo file)   at EPiServer.Install.Xml.Installers.XmlInstallerBase..ctor(InstallationManager installationManager, String targetFilePath, Dictionary`2 namespaces)   at EPiServer.Install.Xml.Installers.AddXmlBlockInstaller..ctor(InstallationManager installationManager, String targetFilePath, String elementXPath, XmlNodeList xmlNodes, Dictionary`2 namespaces)   at EPiServer.Install.Xml.XmlInstallationManager.AddXmlBlock(String targetFilePath, String elementXPath, String xmlBlock, Dictionary`2 namespaces)   at EPiServer.Install.Xml.Cmdlets.AddXmlBlockCmdlet.ProcessRecord(XmlInstallationManager xmlInstallationManager)   at EPiServer.Install.Xml.Cmdlets.XmlInstallationCmdlet.ProcessRecord()   at System.Management.Automation.Cmdlet.DoProcessRecord()   at System.Management.Automation.CommandProcessor.ProcessRecord()

Looking at the ps lines in question

$packageRegistrationXml = ""
Add-EPiXmlBlock -TargetFilePath $packagesConfigPath -ElementXPath "/packages" -XmlBlock $packageRegistrationXml

Can anyone help me get a bit wiser on this issue?

#122429
Jun 02, 2015 14:42
Vote:
 

So found another post here.

It turns out that VPP on a share is a no go, copy files locally and change the path int EPiServer.config and it will work...

This... was... painfull, now 7->7.5 YAY!

#122430
Jun 02, 2015 15:06
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.