Try our conversational search powered by Generative AI!

Unable to install Relate+ Site

Vote:
 

I’m currently looking to migrate Relate+ 1 to Relate +2 and mainly following the article: http://world.episerver.com/Articles/Items/Migrate-EPiServer-Relate-1-to-EPiServer-Relate-2/

However I get stuck at the starting conditions; “Install a new Relate+ 2 site”. The error I receive is: “Error - Exception calling ‘WorkerProcessAccounts’ with ‘1’ argument(s): ‘Invalid application pool name’

Repairing the Relate +2 installation does not resolve the problem. I've also tried to install a separate version of CMS 6 and upgrade it with EPiCommunity which yields the same result.. Any clues?

the full log:

Started a transacted install

Copied ApplicationInitializing.txt
Copied connectionStrings.config

Copied default.htm
Copied episerver.config
Copied EPiServerLog.config
Copied FileSummary.config
Copied global.asax
Copied Web.Config
Copied Web.Config.6
Copied Web.Config.7
Copied AdapterMappings.browser
Copied IE6.browser
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 Lang_OnlineCenter_DA.xml
Copied Lang_OnlineCenter_DE.xml
Copied Lang_OnlineCenter_EN.xml
Copied Lang_OnlineCenter_ES.xml
Copied Lang_OnlineCenter_FI.xml
Copied Lang_OnlineCenter_FR.xml
Copied Lang_OnlineCenter_JA.xml
Copied Lang_OnlineCenter_NL.xml
Copied Lang_OnlineCenter_NO.xml
Copied Lang_OnlineCenter_PT.xml
Copied Lang_OnlineCenter_SV.xml
Copied Lang_OnlineCenter_ZH.xml
Copied newtext.xml
Copied newtext_OnlineCenter.xml
Copied newtext_OnlineCenter_sent_to_translation.xml
Copied newtext_sent_to_translation.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 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
Moved web.config.7 to web.config
Removed Web.Config.6
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.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

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.Data.Cache

Adding/Updating assembly redirect for EPiServer.Data

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

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

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

Adding/Updating assembly redirect for EPiServer.Shell.UI

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

Adding/Updating assembly redirect for log4net

Adding/Updating assembly redirect for Microsoft.Web.Services3

Adding/Updating assembly redirect for System.ComponentModel.Composition

Adding/Updating assembly redirect for System.Web.DataVisualization

Adding/Updating assembly redirect for System.Web.Mvc

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

Adding/Updating assembly redirect for log4net

Adding/Updating assembly redirect for Microsoft.Web.Services3

Adding/Updating assembly redirect for System.Web.DataVisualization

Executing database script "C:\Program Files (x86)\EPiServer\Framework\6.0.318.113\Database\sql\EPiServer.Data.sql"

Executing database script "C:\Program Files (x86)\EPiServer\CMS\6.0.530.0\Database\MSSQL\EPiServerRelease60.sql"

Entering commit phase

Committed

Started a transacted install

Copied EPiServer.Search.IndexingService.dll

Copied ICSharpCode.SharpZipLib.dll

Copied log4net.dll

Copied Lucene.Net.dll

Copied IndexingService.svc

Adding/Updating assembly redirect for EPiServer.Search.IndexingServiceproductPath: C:\Program Files (x86)\EPiServer\Framework\6.1.79.0\

Executing database script "C:\Program Files (x86)\EPiServer\Framework\6.1.79.0\Database\sql\EPiServer.Data.sql"

Not executing database script "C:\Program Files (x86)\EPiServer\Framework\6.1.79.0\Database\sql\EPiServer.Data.sql" because it has already been executed.

Copied Castle.DynamicProxy.dll

Copied DotNetOpenAuth.dll

Copied EPiServer.Common.Cache.dll

Copied EPiServer.Common.ComponentArt.Web.UI.dll

Copied EPiServer.Common.Configuration.dll

Copied EPiServer.Common.Data.dll

Copied EPiServer.Common.EventCounter.dll

Copied EPiServer.Common.Framework.dll

Copied EPiServer.Common.Framework.Exceptions.dll

Copied EPiServer.Common.Framework.Impl.dll

Copied EPiServer.Common.Security.dll

Copied EPiServer.Common.Web.Authorization.dll

Copied EPiServer.Common.Web.dll

Copied Iesi.Collections.dll

Copied log4net.dll

Copied Microsoft.Practices.EnterpriseLibrary.Common.dll

Copied Microsoft.Practices.EnterpriseLibrary.Data.dll

Copied Microsoft.Practices.ObjectBuilder.dll

Copied NHibernate.dll

Copied EPiServer.Common.Web.Authorization.Multiplexing.dll

Adding/Updating assembly redirect for EPiServer.Common.Cache

Adding/Updating assembly redirect for EPiServer.Common.ComponentArt.Web.UI

Adding/Updating assembly redirect for EPiServer.Common.Configuration

Adding/Updating assembly redirect for EPiServer.Common.Data

Adding/Updating assembly redirect for EPiServer.Common.EventCounter

Adding/Updating assembly redirect for EPiServer.Common.Framework

Adding/Updating assembly redirect for EPiServer.Common.Framework.Exceptions

Adding/Updating assembly redirect for EPiServer.Common.Framework.Impl

Adding/Updating assembly redirect for EPiServer.Common.Security

Adding/Updating assembly redirect for EPiServer.Common.Web.Authorization

Adding/Updating assembly redirect for EPiServer.Common.Web.Authorization.Multiplexing

Adding/Updating assembly redirect for EPiServer.Common.Web

productPath: C:\Program Files (x86)\EPiServer\Framework\6.1.79.0\

installedVersion: 6.0.318.113

frameworkVersion: 6.1.79.0

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

 

An unhandled error has occured:

Invalid application pool name

 

When executing

 

At C:\Program Files (x86)\EPiServer\Framework\6.1.79.0\Install\System Scripts\Install Site (SqlServer).ps1:157 char:58

+ $workerProcessGroups = $webServer.WorkerProcessAccounts <<<< ($properties.Site.AppPoolName)

 

True = Get-EPiIsBulkInstalling

An error has occured and the transaction will be rolled back

Rolledback

 

An unhandled error has occured: Invalid application pool name

 

When executing

 

At C:\Program Files (x86)\EPiServer\Framework\6.1.79.0\Install\System Scripts\Install Site (SqlServer).ps1:157 char:58

+$workerProcessGroups = $webServer.WorkerProcessAccounts <<<< ($properties.Site.AppPoolName)

 

 

An unhandled error has occured: Invalid application pool name

 

When executing

 

At C:\Program Files (x86)\EPiServer\Framework\6.1.79.0\Install\System Scripts\Install Site (SqlServer).ps1:157 char:58

+ $workerProcessGroups = $webServer.WorkerProcessAccounts <<<< ($properties.Site.AppPoolName)

 

Started a transacted install

Entering commit phase

Committed

Error - System.Management.Automation.MethodInvocationException: Exception calling "WorkerProcessAccounts" with "1" argument(s): "Invalid application pool name

" ---> System.Runtime.InteropServices.COMException (0x8007000D): Invalid application pool name

 

   at Microsoft.Web.Administration.Interop.IAppHostProperty.set_Value(Object value)

   at Microsoft.Web.Administration.ConfigurationElementCollectionBase`1.FindElementWithCollectionKey(String collectionKey, Object value)

   at Microsoft.Web.Administration.ApplicationPoolCollection.get_Item(String name)

   at EPiServer.Install.IIS7.WebApplication.GetWorkerProcessAccountName(String applicationPoolName, InstallationManager installationManager)

   at EPiServer.Install.WebServer.IIS.WorkerProcessAccounts(String applicationPoolName)

   at WorkerProcessAccounts(Object , Object[] )

   at System.Management.Automation.MethodInformation.Invoke(Object target, Object[] arguments)

   at System.Management.Automation.DotNetAdapter.AuxiliaryMethodInvoke(Object target, Object[] arguments, MethodInformation methodInformation, Object[] originalArguments)

   --- End of inner exception stack trace ---

   at System.Management.Automation.DotNetAdapter.AuxiliaryMethodInvoke(Object target, Object[] arguments, MethodInformation methodInformation, Object[] originalArguments)

   at System.Management.Automation.DotNetAdapter.MethodInvokeDotNet(String methodName, Object target, MethodInformation[] methodInformation, Object[] arguments)

   at System.Management.Automation.DotNetAdapter.MethodInvoke(PSMethod method, Object[] arguments)

   at System.Management.Automation.Adapter.BaseMethodInvoke(PSMethod method, Object[] arguments)

   at System.Management.Automation.PSMethod.Invoke(Object[] arguments)

   at System.Management.Automation.ParserOps.CallMethod(Token token, Object target, String methodName, Object[] paramArray, Boolean callStatic, Object valueToSet)

   at System.Management.Automation.MethodCallNode.InvokeMethod(Object target, Object[] arguments, Object value)

   at System.Management.Automation.MethodCallNode.Execute(Array input, Pipe outputPipe, ExecutionContext context)

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

   at System.Management.Automation.StatementListNode.ExecuteStatement(ParseTreeNode statement, Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)

 

#50998
May 19, 2011 9:49
Vote:
 

After one day of trouble shooting I've found a solution to this problem. Uninstall Windows 7 Service Pack 1, though this will in turn generate a couple of errors in the IIS. Namely: “Error: Unrecognized attribute ‘setProfileEnvironment’”, pointing to the applicationHost.config. Apparently the problem is known to Microsoft and deleting this attribute will solve it, however my IIS completely stopped working but after deactivating/activating the IIS feature (i.e. reinstall it) I got everything up and running again. After this (rather long) detrour I was able to install Relate+ 2.

#51009
Edited, May 19, 2011 14:53
Vote:
 

Thanks for sharing.. Havent seen this error before, but great to to know

#51011
May 19, 2011 15:19
Vote:
 

I also get this error. I don't see uninstalling Service Pack 1 as an option thou.

#56200
Jan 11, 2012 14:32
Vote:
 

I'm getting the same problem now, and nor I see uninstalling SP1 as an option. Is there any other solution for this?

I've installed an empty cms6 site, then trying to install community 4 on this empty site gives me this error.

(Error - Exception calling "WorkerProcessAccounts" with "1" argument(s): "Invalid application pool name")

#56305
Jan 17, 2012 12:53
Vote:
 

When I was struggling with this I had the option to unistall SP1, hence, didn't go to the root of the problem. Maby reporting it as a bug would shed some light on this matter?

#56306
Jan 17, 2012 13:18
Vote:
 

Just to let you know... I tried to install with the "Install Relate+ Site" option, selecting a new database and a new db user, and got the same error again. So yes, I guess a bug report would be in place. I'll file one now.

#56307
Jan 17, 2012 13:30
Vote:
 

Tommy, what's the status of the bug report? Was the bug confirmed?

#56391
Jan 20, 2012 10:09
Vote:
 

Carl R, it was confirmed and I was sent workarounds. One for installing Relate+ Site and one for installing Community on existing site.

 

For Community 4 on exsisting site you need to download Relate 2 R2 and install on your system, then take the file

C:\[ProgramFiles]\EPiServer\Community\4.1.517.358\Install\Tools\EPiServer.Community.Install.dll

and copy to the same location in the 4.0..517.255 tree. Then it should work.

 

For Relate+ you need to edit the Install RelatePlus.ps1 in the installation folder to add the AppPoolName to $siteProperties. After the property is added that piece should look like this (last line is new):

 $siteProperties = @{

  SiteName = $wizard.Site.SiteName;

  ApplicationName = $wizard.Site.ApplicationName;

  SitePath = $wizard.Site.SitePath;

  VppPath = $wizard.Site.ExternalFilesPath;

  ExternalFilesPath = $wizard.Site.ExternalFilesPath;

  AppPoolName = $wizard.Site.AppPoolName; 

}

That how ever will break the signing of the file so you'd have to remove the signing and allow execution of unsigned scripts. Unfortunatly I couldn't manage to get my system allow that so I improvised a bit, applying the fix for Community in this case too - and got it to work!

I copied the file "Install EPiServer Relate.ps1" from install folder of 2.1.0.0 to the same location in the 2.0.0.0 tree. I renamed the file "Install RelatePlus.ps1" to .bak, and then renamed "Install EPiServer Relate.ps1" to "Install RelatePlus.ps1". Voilà! Note that this solution was my own improvised and not something I got from EPiServer. They recommended the former solution.

#56392
Jan 20, 2012 10:29
Vote:
 

Thanks a lot! :)

#56408
Jan 20, 2012 11:43
Vote:
 

Thank you Tommy! That did the trick for me too!

I had to set up a new relate+ 2.0 site to be able to reproduce an authentication issue with relate and Active Directory, but was not able to install a new relate site until I found your post. I installed the relate2 R2 and copied the Install EPiServer Relate.ps1 to the Relate 2 installation folder and replaced that with the old ps1-file as you suggested.

 

#56910
Edited, Feb 15, 2012 11:13
Vote:
 

Thanks Tommy, your post should really be marked as the answer as uninstalling windows 7 service pack 1 isn't an option for most people.

#61670
Sep 27, 2012 9:34
This thread is locked and should be used for reference only. Please use the Legacy add-ons 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.