Can't start site in IIS (use by another process)

后端 未结 10 1845
醉梦人生
醉梦人生 2021-01-30 10:17

When I try to start a site in IIS it says:

the process can\'t access the file because it used by another process

I searched in Goog

10条回答
  •  滥情空心
    2021-01-30 10:47

    In my case, it was the "Sync Share Service" (SyncShareSvc) that was running and using port 80. netstat showed 80 as free, though. I could get the site to run on another port, but not 80. if I added a Host name, IIS would allow me to start the site, but I'd get prompted for Digest authentication when browsing to localhost (or any host name I added). Only Anonymous and Forms Auth were enabled in IIS...

    I also found that, after stopping IIS, http://localhost still prompted me for Digest authentication.

    The solution - in my case - was to remove File and Storage Services > Files and iSCSI Services > "Work Folders" from the services installed (restart required).

    After removing the "Work Folders" service and restarted, IIS worked as expected.

提交回复
热议问题