Try our conversational search powered by Generative AI!

Error when upgrading from 6 (R1) to 6 R2..

Vote:
 

Hey.

I'm trying to upgrade from EPiServer 5  (latest) to EPiServer 6 R2 . But when I run the second update from R1 to R2 of version 6 I get the attached error.

I have tried to rearrange everything in the web.config and also importing the <episerver> part into the web.config without any difference in the outcome from the Deployment Center Upgrade.

Can someone please give me some light in this?

 

Regards,

</Jonas>

 

Deployment Center Output:

Started a transacted install
productPath: C:\Program Files (x86)\EPiServer\Framework\6.2.267.1\
Executing database script "C:\Program Files (x86)\EPiServer\Framework\6.2.267.1\Upgrade\Database\sql\0006_0000_0318_0113to0006_0002_0127_0000.sql"
Executing database script "C:\Program Files (x86)\EPiServer\Framework\6.2.267.1\Upgrade\Database\sql\0006_0002_0128_0000to0006_0002_0130_0000.sql"
Executing database script "C:\Program Files (x86)\EPiServer\Framework\6.2.267.1\Upgrade\Database\sql\0006_0002_0131_0000to0006_0002_0138_0000.sql"
Executing database script "C:\Program Files (x86)\EPiServer\Framework\6.2.267.1\Upgrade\Database\sql\0006_0002_0139_0000to0006_0002_0228_0000.sql"
Executing database script "C:\Program Files (x86)\EPiServer\Framework\6.2.267.1\Upgrade\Database\sql\0006_0002_0229_0000to0006_0002_0256_0000.sql"
installedVersion: 6.0.318.113
frameworkVersion: 6.2.267.1
Skipping web config modification of EPiServer Framework (6.0.318.113 < 6.0.318.
113)
Applying web config modification for EPiServer Framework 6.1.79.0
Applying web config modification for EPiServer Framework 6.2.267.1
Copied EPiServer.Shell.resources.dll
Copied EPiServer.Shell.UI.resources.dll
Copied EPiServer.Shell.resources.dll
Copied EPiServer.Shell.UI.resources.dll
Copied EPiServer.Shell.resources.dll
Copied EPiServer.Shell.UI.resources.dll
Copied EPiServer.Shell.resources.dll
Copied EPiServer.Shell.UI.resources.dll
Copied EPiServer.Shell.resources.dll
Copied EPiServer.Shell.UI.resources.dll
Copied EPiServer.Shell.resources.dll
Copied EPiServer.Shell.UI.resources.dll
Copied EPiServer.Shell.resources.dll
Copied EPiServer.Shell.UI.resources.dll
Copied EPiServer.Shell.resources.dll
Copied EPiServer.Shell.UI.resources.dll
Copied EPiServer.Shell.resources.dll
Copied EPiServer.Shell.UI.resources.dll
Copied EPiServer.Shell.resources.dll
Copied EPiServer.Shell.UI.resources.dll
Copied EPiServer.Shell.resources.dll
Copied EPiServer.Shell.UI.resources.dll
Copied EPiServer.ApplicationModules.dll
Copied EPiServer.Data.Cache.dll
Copied EPiServer.Data.dll
Copied EPiServer.Events.dll
Copied EPiServer.Framework.dll
Copied EPiServer.Licensing.dll
Copied EPiServer.Shell.dll
Copied EPiServer.Shell.UI.dll
Copied System.ComponentModel.Composition.dll
Copied System.Web.Mvc.dll
Assembly redirect for  1.0.0.0-6.2.267.1
Adding/Updating assembly redirect for EPiServer.ApplicationModules
Assembly redirect for  1.0.0.0-6.2.267.1
Adding/Updating assembly redirect for EPiServer.Data.Cache
Assembly redirect for  1.0.0.0-6.2.267.1
Adding/Updating assembly redirect for EPiServer.Data
Assembly redirect for  1.0.0.0-6.2.267.1
Adding/Updating assembly redirect for EPiServer.Events
Assembly redirect for  1.0.0.0-6.2.267.1
Adding/Updating assembly redirect for EPiServer.Framework
Assembly redirect for  1.0.0.0-6.2.267.1
Adding/Updating assembly redirect for EPiServer.Licensing
Assembly redirect for  1.0.0.0-6.2.267.1
Adding/Updating assembly redirect for EPiServer.Shell
Assembly redirect for  1.0.0.0-6.2.267.1
Adding/Updating assembly redirect for EPiServer.Shell.UI
Assembly redirect for  1.0.0.0-2009.22.10.0
Adding/Updating assembly redirect for System.ComponentModel.Composition
Assembly redirect for  1.0.0.0-2.0.0.0
Adding/Updating assembly redirect for System.Web.Mvc
Copied ElektroPost.Licensing.dll
Copied EPiServer.BaseLibrary.dll
Copied EPiServer.Blog.dll
Copied EPiServer.Cms.Shell.UI.dll
Copied EPiServer.Configuration.dll
Copied EPiServer.dll
Copied EPiServer.Enterprise.dll
Copied EPiServer.ImageLibrary.dll
Copied EPiServer.Implementation.dll
Copied EPiServer.Legacy4.dll
Copied EPiServer.LinkAnalyzer.dll
Copied EPiServer.Log.Analyzers.dll
Copied EPiServer.Log.Core.dll
Copied EPiServer.Lucene.dll
Copied EPiServer.Scheduler.dll
Copied EPiServer.Scheduler.WKTL.dll
Copied EPiServer.UI.dll
Copied EPiServer.Web.WebControls.dll
Copied EPiServer.WebDav.dll
Copied EPiServer.WebParts.dll
Copied EPiServer.WorkflowFoundation.dll
Copied EPiServer.XForms.dll
Copied EPiServer.XmlRpc.dll
Copied log4net.dll
Copied Microsoft.Web.Services3.dll
Copied System.Web.DataVisualization.dll
Copied contentChannelText.xml
Copied languageDA.xml
Copied languageDE.xml
Copied languageEN.xml
Copied languageES.xml
Copied languageFI.xml
Copied languageFR.xml
Copied languageJA.xml
Copied languageNL.xml
Copied languageNO.xml
Copied languagePT.xml
Copied languageSV.xml
Copied languageZH.xml
Copied newtext.xml
Copied newtext_OnlineCenter.xml
Copied newtext_OnlineCenter_sent_to_translation.xml
Copied newtext_sent_to_translation.xml
Copied OnlineCenter_DA.xml
Copied OnlineCenter_DE.xml
Copied OnlineCenter_EN.xml
Copied OnlineCenter_ES.xml
Copied OnlineCenter_FI.xml
Copied OnlineCenter_FR.xml
Copied OnlineCenter_JA.xml
Copied OnlineCenter_NL.xml
Copied OnlineCenter_NO.xml
Copied OnlineCenter_PT.xml
Copied OnlineCenter_SV.xml
Copied OnlineCenter_ZH.xml
Copied tinyMCE.da.lang.xml
Copied tinyMCE.de.lang.xml
Copied tinyMCE.en.lang.xml
Copied tinyMCE.es.lang.xml
Copied tinyMCE.fi.lang.xml
Copied tinyMCE.fr.lang.xml
Copied tinyMCE.ja.lang.xml
Copied tinyMCE.nl.lang.xml
Copied tinyMCE.no.lang.xml
Copied tinyMCE.pt.lang.xml
Copied tinyMCE.sv.lang.xml
Copied tinyMCE.zh.lang.xml
Copied workflowFoundation.xml
Copied workflowFoundation_DA.xml
Copied workflowFoundation_DE.xml
Copied workflowFoundation_EN.xml
Copied workflowFoundation_ES.xml
Copied workflowFoundation_FI.xml
Copied workflowFoundation_FR.xml
Copied workflowFoundation_JA.xml
Copied workflowFoundation_NL.xml
Copied workflowFoundation_NO.xml
Copied workflowFoundation_PT.xml
Copied workflowFoundation_SV.xml
Copied workflowFoundation_ZH.xml
Copied AdapterMappings.browser
Copied IE6.browser
Adding/Updating assembly redirect for ElektroPost.Licensing
Adding/Updating assembly redirect for EPiServer.BaseLibrary
Adding/Updating assembly redirect for EPiServer.Blog
Adding/Updating assembly redirect for EPiServer.Cms.Shell.UI
Adding/Updating assembly redirect for EPiServer.Configuration
Adding/Updating assembly redirect for EPiServer
Adding/Updating assembly redirect for EPiServer.Enterprise
Adding/Updating assembly redirect for EPiServer.ImageLibrary
Adding/Updating assembly redirect for EPiServer.Implementation
Adding/Updating assembly redirect for EPiServer.Legacy4
Adding/Updating assembly redirect for EPiServer.LinkAnalyzer
Adding/Updating assembly redirect for EPiServer.Log.Analyzers
Adding/Updating assembly redirect for EPiServer.Log.Core
Adding/Updating assembly redirect for EPiServer.Lucene
Adding/Updating assembly redirect for EPiServer.Scheduler
Adding/Updating assembly redirect for EPiServer.Scheduler.WKTL
Adding/Updating assembly redirect for EPiServer.UI
Adding/Updating assembly redirect for EPiServer.Web.WebControls
Adding/Updating assembly redirect for EPiServer.WebDav
Adding/Updating assembly redirect for EPiServer.WebParts
Adding/Updating assembly redirect for EPiServer.WorkflowFoundation
Adding/Updating assembly redirect for EPiServer.XForms
Adding/Updating assembly redirect for EPiServer.XmlRpc
Removed Lang_OnlineCenter_DA.xml
Removed Lang_OnlineCenter_DE.xml
Removed Lang_OnlineCenter_EN.xml
Removed Lang_OnlineCenter_ES.xml
Removed Lang_OnlineCenter_FI.xml
Removed Lang_OnlineCenter_FR.xml
Removed Lang_OnlineCenter_JA.xml
Removed Lang_OnlineCenter_NL.xml
Removed Lang_OnlineCenter_NO.xml
Removed Lang_OnlineCenter_PT.xml
Removed Lang_OnlineCenter_SV.xml
Removed Lang_OnlineCenter_ZH.xml
Executing database script "C:\Program Files (x86)\EPiServer\CMS\6.1.379.0\Upgrade\Database\sql\0006_0000_0494_0000to0006_0000_0534_0000.sql"
Executing database script "C:\Program Files (x86)\EPiServer\CMS\6.1.379.0\Upgrade\Database\sql\0006_0000_0535_0000to0006_0001_0233_0000.sql"
Executing database script "C:\Program Files (x86)\EPiServer\CMS\6.1.379.0\Upgrade\Database\sql\0006_0000_0612_0000to0006_0000_0829_0000.sql"
Executing database script "C:\Program Files (x86)\EPiServer\CMS\6.1.379.0\Upgrade\Database\sql\0006_0001_0234_0000to0006_0001_0236_0001.sql"
Executing database script "C:\Program Files (x86)\EPiServer\CMS\6.1.379.0\Upgrade\Database\sql\0006_0001_0237_0000to0006_0001_0287_0000.sql"
Executing database script "C:\Program Files (x86)\EPiServer\CMS\6.1.379.0\Upgrade\Database\sql\0006_0001_0288_0000to0006_0001_0316_0000.sql"
Entering commit phase
Committed
Started a transacted install
An error has occured and the transaction will be rolled back
Rolledback

An unhandled error has occured:
Error when creating the EPiServer.Configuration.Settings.All list: The <episerv
er> configuration section could not be found in the configuration file
When executing

At C:\Program Files (x86)\EPiServer\CMS\6.1.379.0\Upgrade\System Scripts\Upgrad
e XForm Names.ps1:36 char:22
+ Upgrade-EPiXFormNames <<<<  -SelectedSite $wizard.SelectedApplication

=
Get-EPiIsBulkInstalling

At C:\Program Files (x86)\EPiServer\CMS\6.1.379.0\Upgrade\System Scripts\Upgrade XForm Names.ps1:36 char:22
+ Upgrade-EPiXFormNames <<<<  -SelectedSite $wizard.SelectedApplication
System.Configuration.ConfigurationErrorsException: Error when creating the EPiServer.Configuration.Settings.All list: The <episerver> configuration section could not be found in the configuration file
   at EPiServer.Configuration.EPiServerSection.GetAndValidateSection(Configuration config)
   at EPiServer.Configuration.Settings.InitializeAllSettings(Configuration config)
   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.Common.AppDomains.RunInAppDomainInstaller.Install(IDictionary stateSaver)
   at EPiServer.Install.InstallationManager.Install(Installer installer)
   at EPiServerUpgrade.CMS6.XFormNameDecodeCmdlet.ProcessRecord()
   at System.Management.Automation.Cmdlet.DoProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()


#56202
Jan 11, 2012 16:01
Vote:
 

Do you have a file called episerver.config in your sites rootfolder? If not try adding that file and add 

<episerver xmlns="http://EPiServer.Configuration.EPiServerSection"></episerver> to it.

#56207
Jan 12, 2012 9:01
Vote:
 

Yes, the file episerver.config is there and I can't find anthing wrong in the configuration-file either! :/

 

Regards,

</Jonas>

#56215
Jan 12, 2012 10:35
Vote:
 

I got the solution from EPiServer now. Though I'm not really sure why it works as the site is not at all compiled in .NET 4.
If I get any information om where the .NET 4-traces are in the web.config I will post them here.

Solution: http://world.episerver.com/Blogs/Paul-Smith/Dates1/2011/3/Upgrading-CMS-6-R1-sites-compiled-against-NET-40/


Regards,

</Jonas>

#56217
Edited, Jan 12, 2012 13:21
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.