In the latest steps, SIF installation process fails because it tries to start the website, but it gets the error below:
Invoke-ManageWebsiteTask : The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)
I have tried to start the website manually through IIS Manager, but it gives me the same error:
Find below the screenshot of the Powershell script execution:
Does anyone have any idea of what is going on?
Update: How I got it fixed?
Firstly, thanks, @artsem-prashkovich and @viet-hoang for the suggestions. You've helped me to figure it out.
Please, find below the steps that I did to get it working:
- Restart OS
- Stop "Sitecore Marketing Automation Engine" and "Sitecore XConnect Search Indexer" services.
- Manually delete the created users from the following databases _Processing.Pools; _MarketingAutomation; _ReferenceData. Each database has its own user: poolsuser, marketing automation user, referencedatauser
- Re-run the Powershell installation script
Voila!