Tuesday, December 22, 2015

Cannot start the website because administrative privileges are required to bind the hostname or port solved ,Sourav Bhattacharya,ASP.Net Faculty



I tried this solution


http://bosnia-aspnet.blogspot.in/2014/08/cannot-start-website-because.html

where it says

Find the csproj file
Search for these two lines and delete them
DevelopmentServerPort0/DevelopmentServerPort
IISUrlhttp://localhost:34567/IISUrl



but in my case I was creating a website so no csproj file
So I opened the sln file in notepad plus plus
and
UseIISExpress = "true"
to
UseIISExpress = "false"
and you are done
Sourav Bhattacharya
ASP.Net Teacher