November Happy Hour will be moved to Thursday December 5th.

Upgrading site from CMS 5 to 6

Vote:
 

Im trying to upgrade a site from CMS 5.2.375.236 to cms 6.0.530 but Deployment Center doesn't succed. I get the following error:


An unhandled error has occured:
Object reference not set to an instance of an object.
When executing

At C:\Program Files (x86)\EPiServer\CMS\6.0.530.0\Upgrade\System Scripts\Migrate Data (SqlServer).ps1:100 char:27
+ Set-EPiLongStringSettings <<<< -DestinationDirectory $wizard.SelectedApplication.PhysicalPath

=
Get-EPiIsBulkInstalling

At C:\Program Files (x86)\EPiServer\CMS\6.0.530.0\Upgrade\System Scripts\Migrate Data (SqlServer).ps1:100 char:27
+ Set-EPiLongStringSettings <<<< -DestinationDirectory $wizard.SelectedApplication.PhysicalPath
System.NullReferenceException: Object reference not set to an instance of an object.
at EPiServer.Install.CMS.Common.EPiServerCMSWrapper.InitalizeEPiServer(String webConfigPath)
at EPiServer.Install.CMS.Common.EPiServerCMSWrapper.Initialize(String destinationPath, String virtualDirectory)
at EPiServer.Install.CMS.Common.EPiServerCMSWrapper.Initialize(String destinationPath, String virtualDirectory)
at EPiServer.Install.CMS.Modules.CmdLets.SetLongStringSettings.ProcessRecord()
at System.Management.Automation.Cmdlet.DoProcessRecord()
at System.Management.Automation.CommandProcessor.ProcessRecord()

 

 

#53873
Sep 23, 2011 15:12
Vote:
 

I got help by Episerver support on this one. Posting the answer if someone else comes across the same problem.

 

When upgrading to cms 6 existing xforms-data is migrated to dynamic datastore. To do that the site is initialized and in this case imagevault was installed and caused an error on the initialization. (probably because  the installed version of imagevault wasn't compatible with cms6)

So the following was done to upgrade:

1. Remove ImageVault dll's from the bin folder

2. Upgrade to cms 6

3. Upgrade to cms 6 R2

4. Put the imagevault dlls back into bin folder.

#54570
Oct 21, 2011 9:27
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.