Get-EPiIsBulkInstalling error when upgrading from R2 -> R2 SP2

Vote:
 

I've been trying to use the EPiServer Deployment Center to upgrade a project from R2 to R2 SP2 but I've been getting an error in the EPiServer PowerShell Cmdlets (specifically 'Get-EPiIsBulkInstalling').

Here's the error in full:

 

 

Started a transacted install Copied ElektroPost.Licensing.dll Copied EPiServer.BaseLibrary.dll Copied EPiServer.Blog.dll Copied EPiServer.Configuration.dll Copied EPiServer.dll Copied EPiServer.Enterprise.dll Copied EPiServer.Events.dll Copied EPiServer.ImageLibrary.dll Copied EPiServer.Implementation.dll Copied EPiServer.Legacy4.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.Wsrp.dll Copied EPiServer.XForms.dll Copied EPiServer.XmlRpc.dll Copied log4net.dll Copied Microsoft.Web.Services3.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_sent_to_translation.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 Removed EPiServer.WebParts.dll Executing database script "C:\Program Files\EPiServer\CMS\5.2.375.236\Upgrade\Database\sql\0005_0001_0422_0004to0005_0001_0422_0122.sql" Not executing database script "C:\Program Files\EPiServer\CMS\5.2.375.236\Upgrade\Database\sql\0005_0001_0422_0004to0005_0001_0422_0122.sql" because it has already been executed. Executing database script "C:\Program Files\EPiServer\CMS\5.2.375.236\Upgrade\Database\sql\0005_0001_0422_0122to0005_0001_0422_0252.sql" Not executing database script "C:\Program Files\EPiServer\CMS\5.2.375.236\Upgrade\Database\sql\0005_0001_0422_0122to0005_0001_0422_0252.sql" because it has already been executed. Executing database script "C:\Program Files\EPiServer\CMS\5.2.375.236\Upgrade\Database\sql\0005_0001_0422_0252to0005_0002_0080_0097.sql" Not executing database script "C:\Program Files\EPiServer\CMS\5.2.375.236\Upgrade\Database\sql\0005_0001_0422_0252to0005_0002_0080_0097.sql" because it has already been executed. Executing database script "C:\Program Files\EPiServer\CMS\5.2.375.236\Upgrade\Database\sql\0005_0002_0080_0097to0005_0002_0080_0190.sql" Not executing database script "C:\Program Files\EPiServer\CMS\5.2.375.236\Upgrade\Database\sql\0005_0002_0080_0097to0005_0002_0080_0190.sql" because it has already been executed. Executing database script "C:\Program Files\EPiServer\CMS\5.2.375.236\Upgrade\Database\sql\0005_0002_0375_0007to0005_0002_0375_0116.sql" Executing database script "C:\Program Files\EPiServer\CMS\5.2.375.236\Upgrade\Database\sql\0005_0002_0375_0116to0005_0002_0375_0140.sql" Executing database script "C:\Program Files\EPiServer\CMS\5.2.375.236\Upgrade\Database\sql\0005_0002_0375_0140to0005_0002_0375_0220.sql" Executing database script "C:\Program Files\EPiServer\CMS\5.2.375.236\Upgrade\Database\sql\0005_0002_0375_0220to0005_0002_0375_0229.sql" 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.Configuration Adding/Updating assembly redirect for EPiServer Adding/Updating assembly redirect for EPiServer.Enterprise Adding/Updating assembly redirect for EPiServer.Events 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.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.Wsrp Adding/Updating assembly redirect for EPiServer.XForms Adding/Updating assembly redirect for EPiServer.XmlRpc Adding/Updating assembly redirect for log4net Adding/Updating assembly redirect for Microsoft.Web.Services3  An unhandled error has occured: The term 'Get-EPiExpandedConfiguration' is not recognized as a cmdlet, function , operable program, or script file. Verify the term and try again. When executing   At C:\Program Files\EPiServer\CMS\5.2.375.236\Upgrade\System Scripts\Upgrade Si te (SqlServer).ps1:171 char:45 + $webConfigDoc = Get-EPiExpandedConfiguration  <<<< $targetWebConfigFile  = Get-EPiIsBulkInstalling An error has occured and the transaction will be rolled back Rolledback Error - System.Management.Automation.CommandNotFoundException: The term 'Get-EPiExpandedConfiguration' is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again.    at System.Management.Automation.CommandDiscovery.LookupCommandInfo(String commandName)    at System.Management.Automation.CommandDiscovery.LookupCommandProcessor(String commandName, CommandOrigin commandOrigin)    at System.Management.Automation.CommandFactory._CreateCommand(String commandName, CommandOrigin commandOrigin)    at System.Management.Automation.CommandFactory.CreateCommand(String commandName, CommandOrigin commandOrigin)    at System.Management.Automation.Parser.PipelineNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList)    at System.Management.Automation.Parser.PipelineNode.Execute(Array input, Pipe outputPipe)    at System.Management.Automation.Parser.AssignmentStatementNode.Execute(Array input, Pipe outputPipe)    at System.Management.Automation.Parser.StatementListNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList)
Has anyone come across this error before and managed to do the upgrade successfully?
 
 
Thanks!
 
Phil 

 

 

#32180
Aug 25, 2009 11:23
Vote:
 

Sorry for the formatting of the original post, I tried using the 'Code' formatting button which obviously was a bad idea. Instead here's the error without formatting:

  Started a transacted install

Copied ElektroPost.Licensing.dll

Copied EPiServer.BaseLibrary.dll

Copied EPiServer.Blog.dll

Copied EPiServer.Configuration.dll

Copied EPiServer.dll

Copied EPiServer.Enterprise.dll

Copied EPiServer.Events.dll

Copied EPiServer.ImageLibrary.dll

Copied EPiServer.Implementation.dll

Copied EPiServer.Legacy4.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.Wsrp.dll

Copied EPiServer.XForms.dll

Copied EPiServer.XmlRpc.dll

Copied log4net.dll

Copied Microsoft.Web.Services3.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_sent_to_translation.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

Removed EPiServer.WebParts.dll

Executing database script "C:\Program Files\EPiServer\CMS\5.2.375.236\Upgrade\Database\sql\0005_0001_0422_0004to0005_0001_0422_0122.sql"

Not executing database script "C:\Program Files\EPiServer\CMS\5.2.375.236\Upgrade\Database\sql\0005_0001_0422_0004to0005_0001_0422_0122.sql" because it has already been executed.

Executing database script "C:\Program Files\EPiServer\CMS\5.2.375.236\Upgrade\Database\sql\0005_0001_0422_0122to0005_0001_0422_0252.sql"

Not executing database script "C:\Program Files\EPiServer\CMS\5.2.375.236\Upgrade\Database\sql\0005_0001_0422_0122to0005_0001_0422_0252.sql" because it has already been executed.

Executing database script "C:\Program Files\EPiServer\CMS\5.2.375.236\Upgrade\Database\sql\0005_0001_0422_0252to0005_0002_0080_0097.sql"

Not executing database script "C:\Program Files\EPiServer\CMS\5.2.375.236\Upgrade\Database\sql\0005_0001_0422_0252to0005_0002_0080_0097.sql" because it has already been executed.

Executing database script "C:\Program Files\EPiServer\CMS\5.2.375.236\Upgrade\Database\sql\0005_0002_0080_0097to0005_0002_0080_0190.sql"

Not executing database script "C:\Program Files\EPiServer\CMS\5.2.375.236\Upgrade\Database\sql\0005_0002_0080_0097to0005_0002_0080_0190.sql" because it has already been executed.

Executing database script "C:\Program Files\EPiServer\CMS\5.2.375.236\Upgrade\Database\sql\0005_0002_0375_0007to0005_0002_0375_0116.sql"

Executing database script "C:\Program Files\EPiServer\CMS\5.2.375.236\Upgrade\Database\sql\0005_0002_0375_0116to0005_0002_0375_0140.sql"

Executing database script "C:\Program Files\EPiServer\CMS\5.2.375.236\Upgrade\Database\sql\0005_0002_0375_0140to0005_0002_0375_0220.sql"

Executing database script "C:\Program Files\EPiServer\CMS\5.2.375.236\Upgrade\Database\sql\0005_0002_0375_0220to0005_0002_0375_0229.sql"

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.Configuration

Adding/Updating assembly redirect for EPiServer

Adding/Updating assembly redirect for EPiServer.Enterprise

Adding/Updating assembly redirect for EPiServer.Events

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.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.Wsrp

Adding/Updating assembly redirect for EPiServer.XForms

Adding/Updating assembly redirect for EPiServer.XmlRpc

Adding/Updating assembly redirect for log4net

Adding/Updating assembly redirect for Microsoft.Web.Services3

 

An unhandled error has occured:

The term 'Get-EPiExpandedConfiguration' is not recognized as a cmdlet, function

, operable program, or script file. Verify the term and try again.

When executing

 

 

At C:\Program Files\EPiServer\CMS\5.2.375.236\Upgrade\System Scripts\Upgrade Si

te (SqlServer).ps1:171 char:45

+ $webConfigDoc = Get-EPiExpandedConfiguration  <<<< $targetWebConfigFile

 

=

Get-EPiIsBulkInstalling

An error has occured and the transaction will be rolled back

Rolledback

Error - System.Management.Automation.CommandNotFoundException: The term 'Get-EPiExpandedConfiguration' is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again.

   at System.Management.Automation.CommandDiscovery.LookupCommandInfo(String commandName)

   at System.Management.Automation.CommandDiscovery.LookupCommandProcessor(String commandName, CommandOrigin commandOrigin)

   at System.Management.Automation.CommandFactory._CreateCommand(String commandName, CommandOrigin commandOrigin)

   at System.Management.Automation.CommandFactory.CreateCommand(String commandName, CommandOrigin commandOrigin)

   at System.Management.Automation.Parser.PipelineNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList)

   at System.Management.Automation.Parser.PipelineNode.Execute(Array input, Pipe outputPipe)

   at System.Management.Automation.Parser.AssignmentStatementNode.Execute(Array input, Pipe outputPipe)

   at System.Management.Automation.Parser.StatementListNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList)

#32181
Aug 25, 2009 11:26
Vote:
 

I had the same problem. My solution was as simple as just starting the CMS setup file again and I got an option to repair a previous installation of the 5.2.375.236. It worked fine after that.

#32237
Aug 27, 2009 8:29
Vote:
 
I had the same problem on Windows 7. After reinstalling EPiServer (EPiServer Deployment Center) it worked again.
#33903
Edited, Oct 22, 2009 9:18
Vote:
 
We have a bug in the installer for Shared Components that if you install an older version coming with CMS/Community the components get downgraded. Could be the cause in this case.
#33925
Oct 22, 2009 13:35
Vote:
 

We just experienced the same error. We tried to rerun the upgrade but that didnt help.

I should have mentioned that we upgraded from SP1 (375.133) to SP2 (375.236) 

 

#35061
Edited, Nov 26, 2009 14:05
Vote:
 

I think a solution may be to upgrade from R2 -> R2 SP1 -> R2 SP2. I had to do this on a separate project and it worked for me.

#35064
Edited, Nov 26, 2009 15: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.