Sitecore Commerce 8.2.1 install error: Commerce Server instance has not been configured. Run CSConfig.exe.
When installing commerce server from the habitat install script, install-commerce-server.ps1, there is a step to configure the commerce server. It may fail with the following error:
Commerce server instance has not been configured. Run csconfig.exe.
If you get this, it could be because the Configuration Wizard fails or hangs unexpectedly.
To diagnose the problem:
- Go to C:\Program Files (x86)\Commerce Server 11, and run CSConfig.exe. This launches the wizard.
- Load the CSConfig.xml file if any. This loads your presets.
- Going through the wizard from there on will help you pinpoint what the issue is.
What happened in my case was that ASP was not enabled on IIS. After enabling it, the issue was fixed.