Search FAQs
Power SCADA Operation: Installation failing at the step ‘Create Virtual Directories’
Issue
EPO 2021 Installation failing at the step ‘Create Virtual Directories’
During installation you may encounter below errors in PSO Install log file –
Problem adding Virtual Directory: Reporting - Problem details: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)
System.IO.FileLoadException: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)
at Microsoft.Web.Administration.Interop.IAppHostMethodInstance.Execute()
at Microsoft.Web.Administration.ConfigurationElement.ExecuteMethod(String methodName)
at Microsoft.Web.Administration.Site.Start()
at Installer.InstallTools.IISManager.CreateVirtualDirectory(String nameDirectory, String realPath, String defaultDoc)Environment
Power SCADA Operation (PSO) 2020
EcoStruxure Power Operation (EPO) 2021
Cause
By default IIS uses port 80 as the default TCP port and port 443 for Secure Sockets Layer (SSL).
If the port 80 or 443 is being used by other applications (ex: skype) or blocked by Antivirus app (like McAfee) cause above said error while installer trying to configure IIS.
Resolution
To fix this error
1> Disable the antivirus before the EPO installation.
2> If step 1 didn't fix the issue then check if the port 80 or 443 is being in use by other apps by below steps –
- Click Windows > CMD and run as administrator
- Run below command to identify PID of the process which is using TCP port 80 and/or 443
netstat -aon | find ":443"
- You will see an example output like the following (the actual PID may vary from case to case)
TCP 0.0.0.0:443 0.0.0.0:0 LISTENING 8812
- Open Task Manager > Details in PID column check for the PID number listed above (red font) and you get which process using these ports.
- Try disable these ports used by that program (in its settings screen) or uninstall the program and resume the PO installation.