Applying SSL certificate in IIS manager and “The process cannot access the file because it's being used by another process” error

后端 未结 5 1006
予麋鹿
予麋鹿 2021-01-31 13:46

I applied a self-signed SSL certificate in IIS manager to Default Web Site(added the HTTPS binding) and after that when I\'m trying to start the web site, I\'m getting the follo

相关标签:
5条回答
  • 2021-01-31 14:16

    VmWare Workstation 8 grabs 443 for its VM Sharing feature. You can disable it in the settings. http://communities.vmware.com/thread/341114

    0 讨论(0)
  • 2021-01-31 14:23

    Yes exiting the Skype desktop app fixed this for me also.

    If your running Windows 8(.1) the Skype App (Windows Store App) doesn't use the local 443 port if you can live without installing the desktop Skype app. Also you can pin it to your taskbar. This solution is good enough for me since I don't need all of the features the desktop version offers.

    0 讨论(0)
  • 2021-01-31 14:23

    You may want to use some sysinternals tools to see if the file is really used by another process. I recommend Process Explorer. Once you've located the culprit, you can usually see why it opens the file.

    If you can't find any process, maybe your code tries to open the file; check for any file handlers you may not have closed.

    0 讨论(0)
  • 2021-01-31 14:26

    Have you tried the Microsoft Support Article that mentions this process error occuring when you try to start a Web site in the Internet Information Services MMC snap-in

    0 讨论(0)
  • 2021-01-31 14:33

    If you're trying to do this on a local machine, Skype can block the https port (443). To stop this:

    Skype - Tools > Options > Advanced > Connection, then uncheck 'Use port 80 and 443 as alternatives for incoming connections'. Then quite Skype (right click in task bar, 'Quit Skype'), and try starting the website again in IIS.

    0 讨论(0)
提交回复
热议问题