When booting or rebooting a server running the QlikView Webserver service, or attempting a manual start or restart, the QlikView Webserver service fails to start.
The following error is returned in the QlikView WebServer service logs:
System.Net.HttpListenerException (0x80004005): The process cannot access the file because it is being used by another process
Resolution
- Open an elevated command prompt
- Run command netstat -anob to return a list of all of the listening port connections on the computer, and the owning process ID of each connection
- Find the entry for port 80 and note the PID associated with it
- Open Task Manager and select the Details tab so that PID column is displayed
- Sort the PID column so that they are listed in ascending order
- Find the PID determined from step 3
- Open the Windows Services applet and stop the application/process determined to be using port 80. Or configure the application/process to use a different port other than 80.
Cause
Another application or process is running on port 80, preventing the QlikView Webserver service from initializing port 80 during its start up procedures.
Related Content
How to check which program is using a specific port
How to: Change QlikView WebServer Service port (4750)
How To: Change QlikView WebServer http port (AccessPoint)