Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

IIS Express fails to register URL, access denied

$
0
0

Hello All,

I'm creating a new ASP.NET MVC 5 Application that will use ADFS for authentication.  As a result, I can't use localhost as the hostname in order to the app registered in ADFS.  I'm changed the project URL to my actual host name (iehttps://hostname.domain.com:44300/).  I've adjusted the IIS Express config and csproj files to match.

When I try to build the project I get the error:

"Unable to launch IIS Express Web Server.  Failed to register URL "https://hostname.domain.com:44300/" for site "NewApp" application "/".  Error description: Access is denied"

After some searching, I came about multiple links explaining that i need to run netsh to add an urlacl, which I've done.  My results from "netsh http show urlacl" shows:

Reserved URL : https://hostname.domain.com:43300/
User: \Everyone
Listen: Yes
Delegate: No
SDDL: D:(A;;GX;;;WD)

Reserved URL : https://*:44300/
User: \Everyone
Listen: Yes
Delegate: No
SDDL: D:(A;;GX;;;WD)

So I'm assuming that IIS Express has rights to those ports.

What am I missing?


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>