CommerceEngine-Ops_StartWebsite : ManageWebsite StartWebsite Error

Error:
[------------------------- CommerceEngine-Ops_StartWebsite : ManageWebsite -------------------------------------------]
VERBOSE: Starts the website.
[CommerceEngine-Ops_StartWebsite]:[Start] CommerceOps_Sc9dev1
VERBOSE: Performing the operation "Start-Website" on target "CommerceOps_Sc9dev1".
VERBOSE: Checking state of Website 'CommerceOps_Sc9dev1'
VERBOSE: Starting Website 'CommerceOps_Sc9dev1'
Install-SitecoreConfiguration : Cannot create a file when that file already exists. (Exception from HRESULT:
0x800700B7)
At C:\deploy\Sitecore.Commerce.WDP.2019.07-4.0.165\SIF.Sitecore.Commerce.3.0.28\My-SC9-XC-Deploy-Sitecore-Commerce dev
- latest.ps1:93 char:1
+ Install-SitecoreConfiguration @params -Verbose *>&1 | Tee-Object "$PS ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration

[TIME] 00:03:26
Invoke-ManageWebsiteTask : Cannot create a file when that file already exists. (Exception from HRESULT: 0x800700B7)
At C:\Users\abc\Documents\WindowsPowerShell\Modules\SitecoreInstallFramework\2.1.0\Public\Install-SitecoreConfiguration
.ps1:641 char:25
+                         & $entry.Task.Command @paramSet | Out-Default
+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-ManageWebsiteTask

Solution:
CommerceOps website was unable to start because there was another website running in the same port. So, stopped the other website for CommerceOps to autostart in the concerned port during the installation process.

Comments