Sitecore / Sitecore.Demo.Retail

Sitecore Commerce Demo
12 stars 15 forks source link

CSConfig failed during configuration of feature Staging Service (Feature.MS.CS.CsStaging). #81

Closed hetaldave closed 6 years ago

hetaldave commented 7 years ago

I get the following error while running the install-commerce-server.ps1 script. What do I do?

CSConfig failed during configuration of feature Staging Service (Feature.MS.CS.CsStaging). [07:19:48 ERROR] Exception occured during feature configuration: CommerceServer.Core.Internal.Config.ConfigurationException: Access is denied ---> System.ComponentModel.Win32Exception: Access is denied --- End of inner exception stack trace --- at CommerceServer.Core.Internal.Config.NTUserImpersonate.Start(NTServiceCredentialXmlElement serviceSettings) at CommerceServer.Core.Internal.Config.StagingConfig.SaveReplicationCredentials(NTServiceCredentialXmlElement serviceSettings) at CommerceServer.Core.Internal.Config.StagingConfig.Configure() at CommerceServer.Core.Internal.Config.ConfigurationDriver.ConfigureHelper(List`1 orderedListOfFeatures).

jflsitecore commented 7 years ago

Are you running the script(s) as administrator?

hetaldave commented 7 years ago

Yes. I also tried to run the CE-Install-Commerce-Server task from Visual Studio but got the same results. P.S. I have only changed the name of the SQL server instance in the install-commerce-config.json.

hetaldave commented 7 years ago

The error gets reported during configuring the staging service feature part of step 5 (Run commerce Server Configuration)

jflsitecore commented 7 years ago

Are you installing this on a Domain controller or in Azure? Apparently some of the required windows groups don't exist in those environments

hetaldave commented 7 years ago

Nope. Just the standard install on my machine.

Nospamas commented 7 years ago

Ran into this issue and re-ran my script for adding the necessary windows features with success. Suspect this might specifically be due to the Windows Identity Foundation feature being missing on the target machine. Double check the requirements document called Server2012_FeaturesRequired.txt

jeanfrancoislarente commented 6 years ago

Closing due to lack of activity

gleb1505 commented 6 years ago

I fixed this issue by changing of csconfig.xml file. Check it in https://stackoverflow.com/questions/47199832/sitecore-commerce-demo-site-sitecore-demo-retail-set-up-issues/47201149#47201149

jeanfrancoislarente commented 6 years ago

Good post. Note that the assumptions at https://github.com/Sitecore/Sitecore.Demo.Retail/wiki/01.-Getting-Started specify a default of "." for the Database Server. Good that you've shown areas of concern if not following the default (like a named SQL Server instance). thanks!