November Happy Hour will be moved to Thursday December 5th.

Installer crashes

Vote:
 

Hi,

I'm trying to install EPiServer along with a Commerce Site using the deployment centre and it keeps crashing.

I've followed the Installation Instructions for EPiServer Commerce 7.5 but I keep getting this error 

Started a transacted install
Copying C:\Program Files (x86)\EPiServer\CMS\7.5.394.2\application to C:\EPiServer\CommerceTraining\wwwroot
Copying C:\Program Files (x86)\EPiServer\CMS\7.5.394.2\bin to C:\EPiServer\CommerceTraining\wwwroot\bin
productPath: C:\Program Files (x86)\EPiServer\Framework\7.5.394.2\
installedVersion: 0.0.0.0
frameworkVersion: 7.5.394.2
AppData path: C:\EPiServer\CommerceTraining\appdata
Applying web config modification for EPiServer Framework 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
Applying web config modification for EPiServer Framework 7.5.394.2
Removing assembly redirect for EPiServer.Shell.UI
Skipping EPiServer.Shell.UI since assembly redirects are not found
Copying C:\Program Files (x86)\EPiServer\Framework\7.5.394.2\bin to C:\EPiServer\CommerceTraining\wwwroot\bin
Assembly redirect for EPiServer.ApplicationModules.dll
Adding/Updating assembly redirect for EPiServer.ApplicationModules
Assembly redirect for EPiServer.Data.Cache.dll
Adding/Updating assembly redirect for EPiServer.Data.Cache
Assembly redirect for EPiServer.Data.dll
Adding/Updating assembly redirect for EPiServer.Data
Assembly redirect for EPiServer.Events.dll
Adding/Updating assembly redirect for EPiServer.Events
Assembly redirect for EPiServer.Framework.dll
Adding/Updating assembly redirect for EPiServer.Framework
Assembly redirect for EPiServer.Licensing.dll
Adding/Updating assembly redirect for EPiServer.Licensing
Assembly redirect for EPiServer.Shell.dll
Adding/Updating assembly redirect for EPiServer.Shell
Assembly redirect for Newtonsoft.Json.dll
Adding/Updating assembly redirect for Newtonsoft.Json
Assembly redirect for StructureMap.dll
Adding/Updating assembly redirect for StructureMap
Adding/Updating assembly redirect for System.Web.Mvc
Installing Add-Ons:


Id : EPiServer.Packaging
Title : EPiServer Add-On Store Platform
Version : 3.0.1845

Id : EPiServer.Packaging.UI
Title : EPiServer Add-On Store UI
Version : 3.0.1845

Id : Shell
Title : EPiServer UI Platform
Version : 3.0.1209

Copying C:\Program Files (x86)\EPiServer\Framework\7.5.394.2\Geolocation to C:\EPiServer\CommerceTraining\appdata\Geolocation
Assembly redirect for C:\Program Files (x86)\EPiServer\CMS\7.5.394.2\bin\Castle
.Core.dll
Adding/Updating assembly redirect for Castle.Core
Assembly redirect for C:\Program Files (x86)\EPiServer\CMS\7.5.394.2\bin\Castle
.Windsor.dll
Adding/Updating assembly redirect for Castle.Windsor
Assembly redirect for C:\Program Files (x86)\EPiServer\CMS\7.5.394.2\bin\EPiSer
ver.BaseLibrary.dll
Adding/Updating assembly redirect for EPiServer.BaseLibrary
Assembly redirect for C:\Program Files (x86)\EPiServer\CMS\7.5.394.2\bin\EPiSer
ver.Configuration.dll
Adding/Updating assembly redirect for EPiServer.Configuration
Assembly redirect for C:\Program Files (x86)\EPiServer\CMS\7.5.394.2\bin\EPiSer
ver.dll
Adding/Updating assembly redirect for EPiServer
Assembly redirect for C:\Program Files (x86)\EPiServer\CMS\7.5.394.2\bin\EPiSer
ver.Enterprise.dll
Adding/Updating assembly redirect for EPiServer.Enterprise
Assembly redirect for C:\Program Files (x86)\EPiServer\CMS\7.5.394.2\bin\EPiSer
ver.ImageLibrary.dll
Adding/Updating assembly redirect for EPiServer.ImageLibrary
Assembly redirect for C:\Program Files (x86)\EPiServer\CMS\7.5.394.2\bin\EPiSer
ver.Implementation.dll
Adding/Updating assembly redirect for EPiServer.Implementation
Assembly redirect for C:\Program Files (x86)\EPiServer\CMS\7.5.394.2\bin\EPiSer
ver.LinkAnalyzer.dll
Adding/Updating assembly redirect for EPiServer.LinkAnalyzer
Assembly redirect for C:\Program Files (x86)\EPiServer\CMS\7.5.394.2\bin\EPiSer
ver.UI.dll
Adding/Updating assembly redirect for EPiServer.UI
Assembly redirect for C:\Program Files (x86)\EPiServer\CMS\7.5.394.2\bin\EPiSer
ver.Web.WebControls.dll
Adding/Updating assembly redirect for EPiServer.Web.WebControls
Assembly redirect for C:\Program Files (x86)\EPiServer\CMS\7.5.394.2\bin\EPiSer
ver.WorkflowFoundation.dll
Adding/Updating assembly redirect for EPiServer.WorkflowFoundation
Assembly redirect for C:\Program Files (x86)\EPiServer\CMS\7.5.394.2\bin\EPiSer
ver.XForms.dll
Adding/Updating assembly redirect for EPiServer.XForms
Assembly redirect for C:\Program Files (x86)\EPiServer\CMS\7.5.394.2\bin\log4ne
t.dll
Adding/Updating assembly redirect for log4net
Installing Add-Ons:


Id : CMS
Title : EPiServer Edit UI
Version : 3.0.1097

Id : EPiServer.Suite
Title : EPiServer
Version : 7.5.394

Executing database script "C:\Users\sbalmer\AppData\Local\Temp\tmp1A9D.tmp"
Executing database script "C:\Users\sbalmer\AppData\Local\Temp\tmp1B2B.tmp"
productPath: C:\Program Files (x86)\EPiServer\Framework\7.5.394.2\
Executing database script "C:\Program Files (x86)\EPiServer\Framework\7.5.394.2\Database\sql\EPiServer.Data.sql"
Executing database script "C:\Program Files (x86)\EPiServer\CMS\7.5.394.2\Database\MSSQL\EPiServerRelease75.sql"
C:\Program Files (x86)\EPiServer\CMS\7.5.394.2\Install\Modules\Search\Install E
PiServer Search.ps1
Copying C:\Program Files (x86)\EPiServer\Search\7.5.394.2\Bin to C:\EPiServer\CommerceTraining\wwwroot\bin
Copying C:\Program Files (x86)\EPiServer\Search\7.5.394.2\Application to C:\EPiServer\CommerceTraining\wwwroot\IndexingService
Adding/Updating assembly redirect for EPiServer.Search.IndexingService
C:\Program Files (x86)\EPiServer\CMS\7.5.394.2\Install\Modules\EPiServer Commer
ce 7.5.394.2\Install\Install EPiServer Commerce.ps1
Commit-EPiBulkInstall before installing Commerce
Entering commit phase
Committed
Started a transacted install
This Commerce installation is in same Session with CMS installation C:\EPiServe
r\CommerceTraining\wwwroot\FLAG_INSTALL_COMMERCE_IN_BATCH.tmp
Installing Common Framework features to site
C:\EPiServer\CommerceTraining\wwwroot

Install Common Framework on selected site
productPath: C:\Program Files (x86)\EPiServer\Framework\7.5.394.2\
installedVersion: 7.5.394.2
frameworkVersion: 7.5.394.2
AppData path: C:\EPiServer\CommerceTraining\wwwroot\..\appdata
Skipping web config modification of EPiServer Framework (6.0.318.113 < 7.5.394.
2)
Skipping web config modification of EPiServer Framework (6.1.79.0 < 7.5.394.2)
Skipping web config modification of EPiServer Framework (6.2.267.1 < 7.5.394.2)
Skipping web config modification of EPiServer Framework (7.5.394.2 < 7.5.394.2)
Removing assembly redirect for EPiServer.Shell.UI
Skipping EPiServer.Shell.UI since assembly redirects are not found
Copying C:\Program Files (x86)\EPiServer\CommonFramework\7.5.394.2\bin to C:\EPiServer\CommerceTraining\wwwroot\bin
Copying C:\Program Files (x86)\EPiServer\CommonFramework\7.5.394.2\bin to C:\EPiServer\CommerceTraining\wwwroot\bin
Copying C:\Program Files (x86)\EPiServer\CommonFramework\7.5.394.2\Application\lang to C:\EPiServer\CommerceTraining\wwwroot\lang
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.Criteria
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
===in trapping ex ===
An unhandled error has occured:
Login failed for user 'dbUserCommerceTraining'.
When executing

At C:\Program Files (x86)\EPiServer\CMS\7.5.394.2\Install\Modules\EPiServer Com
merce 7.5.394.2\Install\Install EPiServer Commerce.ps1:355 char:24
+ $sqlConnection.Open <><><>< ();
inTransaction = True
Deleting Commerce Manager site folder C:\EPiServer\EPiServerCommerceManager\www
root
Deleting Commerce Manager ExternalFiles C:\EPiServer\EPiServerCommerceManager\e
CommerceFramework\5.3\
Deleting Commerce Manager database
dbEPiServerCommerceManager
The database dbEPiServerCommerceManager was not deleted because it did not exist
An error has occured and the transaction will be rolled back
Rolledback

An unhandled error has occured:
Login failed for user 'dbUserCommerceTraining'.
When executing

At C:\Program Files (x86)\EPiServer\CMS\7.5.394.2\Install\Modules\EPiServer Com
merce 7.5.394.2\Install\Install EPiServer Commerce.ps1:355 char:24
+ $sqlConnection.Open <><><>< ();

=
Get-EPiIsBulkInstalling

At C:\Program Files (x86)\EPiServer\CMS\7.5.394.2\Install\Modules\EPiServer Commerce 7.5.394.2\Install\Install EPiServer Commerce.ps1:355 char:24
+ $sqlConnection.Open <><><>< ();
System.Management.Automation.ParentContainsErrorRecordException: Exception calling "Open" with "0" argument(s): "Login failed for user 'dbUserCommerceTraining'."

#131808
Aug 05, 2015 18:01
Vote:
 

Hi,

It looks like log error is pointing to a credential issue with the DB user:

"Login failed for user 'dbUserCommerceTraining."

You'll just want to verify that the password entered is correct for that user. Otherwise, as a test, just create a new dbUser in the installer, set any password to that user, and see if the installation will finish this time around.

#131809
Aug 05, 2015 19:00
Vote:
 

Hi,

I would suggest to try with a new SQL Server login created by the installer first - it is supposed to have enough previlliges to run the script during installation. I suspect you're using an existing login?

Regards.

/Q

#131811
Aug 05, 2015 21:50
Vote:
 

Hi,

no, I'm not using an existing login. At the stage where the Commerce site installs, I leave the installer to create the user login name then and enter a password.

thanks,

Steve.

 

#131823
Aug 06, 2015 10:46
Vote:
 

Did you select to use Windows authentication in the first check box?

#131907
Aug 10, 2015 9:01
Vote:
 

Hi,

Make sure to follow this guide http://world.episerver.com/documentation/items/installation-instructions/episerver-commerce/installation-instructions-episerver-75-commerce/ to see if it works for you.

Regards.

/Q

#131909
Aug 10, 2015 9:25
Vote:
 

Hi,

yes, I've used the windows authentication and followed the instructions from the above link. 

I've used the deployment centre to set-up the Alloy site so I assume I'm using it correctly.

During installation, the standard EPiServer site gets installed ok but it always crashes during the Commerce bit.

Thanks.

Stephen.

#131913
Edited, Aug 10, 2015 10:42
Vote:
 

Hi,

any more thoughts on this?

I've a project about to start soon and we are hoping to use this but if we can't get it to install we'll have to look at the alternatives.


Thanks,

Steve.

#131966
Aug 11, 2015 10:31
Vote:
 

Do you want to use the latest Commerce version current (v 8.15) or do you need install a site on the cms  7.x branch ?

#131967
Aug 11, 2015 10:44
Vote:
 

Hi,

we are going to use the latest one.

Thanks,
Steve.

#131968
Edited, Aug 11, 2015 11:27
Vote:
 

Quickest way to take a look at the latest EPiServer Commerce is it download and install the Quicksilver demo site.

For an empty site you can install an empty cms web site and add commerce and commerce manager through nuget feed:

See these
http://world.episerver.com/documentation/Items/Installation-Instructions/installing-episerver/
http://world.episerver.com/documentation/Items/Installation-Instructions/Installing-EPiServer-updates/
https://nuget.episerver.com/en/
https://nuget.episerver.com/en/OtherPages/Package/?packageId=EPiServer.Commerce
this might help too:
http://blog.scepticnerd.com/2015/02/01/setting-up-episerver-commerce-w-commercemanager/

hope this helps?

#131975
Edited, Aug 11, 2015 13:16
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.