Tuesday, July 5, 2016

IIS Express fails to start with error Access is denied

up vote39down voteaccepted
SOLUTION
This means that you are missing the right for using it. Create it with Netsh Commands for Hypertext Transfer Protocol > add urlacl.
1) Open "Command Line Interface (CLI)" called "Command shell" with Win+R write "cmd"
2) Open CLI windows like administrator with mouse context menu on opened windows or icon "Run as administrator"
3) Insert command to register url
netsh http add urlacl url=http://{ip_addr}:{port}/ user=everyone
NOTE:

http://stackoverflow.com/questions/19293572/how-to-solve-microsoft-visual-studio-vs-error-unable-to-connect-to-the-conf


If you dont want to add these urlacl's, you need to run visual studio as administrator. Otherwise, with everything else properlys set up , you will receive HTTP error 400 - Bad Request.

No comments:

Post a Comment

Ubuntu 12.04, 14.04, 16.04 - auto start an app or script before login

To run a command or application at startup, even before the user has logged in, you can use this file: /etc/rc.local The commands entered...