Try our conversational search powered by Generative AI!

Upgrade fails for release

Vote:
 
I get the following when trying to upgrade from 6.0 to 6.0 R2:
 
An unhandled error has occured:
You cannot call a method on a null-valued expression.
When executing

At C:\Program Files (x86)\EPiServer\Framework\6.2.267.1\Install\System Scripts\
Install Site (SqlServer).ps1:182 char:143
+ $frameworkConfigPath = Join-Path $properties.Site.SitePath $webConfigDoc.Se
lectSingleNode("/configuration/episerver.framework").GetAttribute <<<< ("config
Source")

True
=
Get-EPiIsBulkInstalling
An error has occured and the transaction will be rolled back
Rolledback

An unhandled error has occured:
You cannot call a method on a null-valued expression.
When executing

At C:\Program Files (x86)\EPiServer\Framework\6.2.267.1\Install\System Scripts\
Install Site (SqlServer).ps1:182 char:143
+ $frameworkConfigPath = Join-Path $properties.Site.SitePath $webConfigDoc.Se
lectSingleNode("/configuration/episerver.framework").GetAttribute <<<< ("config
Source")

=
Get-EPiIsBulkInstalling

At C:\Program Files (x86)\EPiServer\Framework\6.2.267.1\Install\System Scripts\Install Site (SqlServer).ps1:182 char:143
+ $frameworkConfigPath = Join-Path $properties.Site.SitePath $webConfigDoc.SelectSingleNode("/configuration/episerver.framework").GetAttribute <<<< ("configSource")
System.Management.Automation.ParentContainsErrorRecordException: You cannot call a method on a null-valued expression.
#49925
Apr 06, 2011 2:29
Vote:
 

Because we run non-EPiServer content together with our site in this case, <episerver.framework> and <episerver.shell> are surrounded by <location> tags with the inheritInChildApplications="false" set to make sure sub-paths don't get any of the episerver stuff.

This causes any upgrade to fail, in the unlikely event that someone else gets the same problem as us.

#49926
Apr 06, 2011 2:43
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.