I was deploying a website via Visual Studio but it failed with an error:
System.UnauthorizedAccessException: Access to the path 'E:\' is denied.
Solution:
1) RDP to server, Open IIS Manager, Click on top level server name->Management Service -> Stop Service
2) There is a drop down menu for SSLs. Choose the correct one. If no SSL is installed, install it first.
3) Then start the service.
Thank you,