This error usually occurs if the default website is not available or was deleted.
To resolve the issue:
- Open services.msc.
- Check if IIS Admin Service and World Wide Web Publishing service are running.
- If they are running, check if Default Site is present in the IIS Manager (inetmgr):
- If the Default Site is not present, create a new Default Site.
- If the Default Site is present, make sure that it is running.
- Open IIS Manager.
- In the Connections tree on the left side, right-click Sites node under your machine.
- Click Add Website.
- Enter "Default Web Site" as a Site name.
- Set Application pool back to DefaultAppPool!.
- Set Physical path to %SystemDrive%\inetpub\wwwroot.
- Leave Binding and everything else as is:
Type: HTTP
IP address: All Unassigned
Port: 80
- Stop Apex One Master Service.
- Clean up the files in C:\Users\<User>\AppData\Local\Temp.
- Open services.msc with Administrator privilege.
- Check whether ApexOne_Master_Setup_Service exists or not.
If it exists, please remove the service.
- Run CMD as administrator:
sc delete ApexOne_Master_Setup_Service
- Run Apex One installation setup.
- Check if the issue still persists.