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()>>>>>>>>>
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?