Im trying to upgrade to EPiServer 7.5 from EPiServer 7. I have followed the upgrade guide http://world.episerver.com/Documentation/Items/Upgrading/EPiServer-CMS/75/Upgrading/ and evrything has went well, until step 13 "select Upgrade/Disable Add-ons after Product Upgrade" in EPiServer Deployment Center.
When i try to complete the step i end up with this error:
Started a transacted install
An unhandled error has occured:Cannot bind argument to parameter 'Path' because it is null.When executing
At C:\Program Files\EPiServer\CMS\7.5.394.2\Upgrade\System Scripts\Upgrade Add-On Packages.ps1:104 char:14+ if (Test-Path <<<< $packagesToInstallPath)
False=Get-EPiIsBulkInstallingAn error has occured and the transaction will be rolled backRolledback
At C:\Program Files\EPiServer\CMS\7.5.394.2\Upgrade\System Scripts\Upgrade Add-On Packages.ps1:104 char:14+ if (Test-Path <<<< $packagesToInstallPath)System.Management.Automation.ParentContainsErrorRecordException: Cannot bind argument to parameter 'Path' because it is null.
Is there anybody that have a clue how to soleve this or have any suggestions of what the problem is about?
Please check the section episerver.framework/appData in your web.config/EPiServerFramework.config. The value of basePath attribute should contain a path to your appdata folder where your blobs (VPP files in previous epi versions) and add-on repositories are deployed. You can see it as former VPP folder of your site. This path can be relative.
<appData basePath="C:\EPiServer\VPP\YourSite" />
<appData basePath="..\appdata" />
A bit of speculation on what maybe could cause the problem if the above is not the case:
Is it possible that there is a mismatch of the EPiServer.Install.Common.1 assembly in the GAC or even wrong version of the EPiServer Shared msi installed?
Thanks for the quick answers. I think that the appData path is correct. But will expriment with both your hints and tell you the outcome.
I have now tried the appData path with both relative and absolute path. Non of them changed the error message. I also uninstalled all EpiServer programs, and reinstalled the latest Deployment Center. But still have the same error.
I can't figure out what the error message want me to do, and how i fix it. So any help is more then welcome.
Could you check the version of EPiServer.Install.Common.1 assembly in the GAC?
I have the version 1.1.1997.0
We have exactly the same issue. How did you solve the problem?
We have not solved it yet. Please tell me if you hav any idea or get any help about how to solve it.
It's hard to tell exactly what exactly has gone wrong based on the above. Lack of a basePath value in the episerver.framework/appData web.config section really seemed like the most probable cause.
I would recommend that you contact EPiServer Support for more in-depth troubleshooting of this problem.
I debugged the upgrade script and assemblies and found that the configuration file (web.config) didn't contain <sites> node anymore.
After adding the node back, the Add-ons upgrade completed successfully.
Seems like the steps described in Upgrading-to-EPiServer-75-CMS are not in the correct order.
I am having this issue as well, if anyone has found a resolution. I have a sites node.