Exception upgrading EPiServer 6 R2 to 7

Vote:
 

Hi,

I am performing an upgrade of EPiServer from 6.1.379.0 to version 7.0.859.1.

However, soon after I run the installer I get the following error:

An error has occured and the transaction will be rolled back
Rolledback
Object reference not set to an instance of an object.
Object reference not set to an instance of an object.

An unhandled error has occured:
Object reference not set to an instance of an object.
When executing
At C:\Program Files (x86)\EPiServer\Framework\7.0.859.1\Install\System Scripts\
Install Site (SqlServer).ps1:319 char:4
+ New-EPiDirectory -DirectoryPath $packagingRootPath
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

True
=
Get-EPiIsBulkInstalling

An unhandled error has occured:
Object reference not set to an instance of an object.
When executing
At C:\Program Files (x86)\EPiServer\Framework\7.0.859.1\Install\System Scripts\
Install Site (SqlServer).ps1:319 char:4
+ New-EPiDirectory -DirectoryPath $packagingRootPath
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

=
Get-EPiIsBulkInstalling
At C:\Program Files (x86)\EPiServer\Framework\7.0.859.1\Install\System Scripts\Install Site (SqlServer).ps1:319 char:4
+ New-EPiDirectory -DirectoryPath $packagingRootPath
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
System.NullReferenceException: Object reference not set to an instance of an object.
at EPiServer.Install.FileSystem.Installers.NewDirectoryInstaller.Install(IDictionary stateSaver)
at EPiServer.Install.InstallationManager.Install(Installer installer)
at EPiServer.Install.FileSystem.Cmdlets.NewDirectoryCmdlet.ProcessRecord()
at System.Management.Automation.Cmdlet.DoProcessRecord()
at System.Management.Automation.CommandProcessor.ProcessRecord()

Does anybody know what I can do to fix this?

#122662
Jun 09, 2015 16:10
Vote:
 

The path to my VPP was not correct. That is why I got this error. It is fixed now.

#122663
Jun 09, 2015 16:31
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.