Jacek
Jacek

Reputation: 12053

The start URL specified is not valid. http://localhost:xxx

Today morning when I tied to run my project I get "The start URL specified is not valid" error". I just install the newest Azure SDK.

enter image description here

In IIS Manager I see this, I can't start, restert website.

enter image description here

Why I can't run my project, any ideas? I have no logs in Event Logs. I use VS2015 Ultimate.

Upvotes: 6

Views: 16709

Answers (5)

TAHA SULTAN TEMURI
TAHA SULTAN TEMURI

Reputation: 5191

It could be a short answer but I too had this problem after deleting IISExpress folder inside this path

"C:\Users\{username}\Documents"

after reading this article.

but I solved this problem by doing these steps.

1)Run Visual studio as Administrator

2)Uncheck Override application root Url

enter image description here

then run just hit launch project.

Upvotes: 15

jefferyleo
jefferyleo

Reputation: 650

Just restart your visual studio will do. Everything will be fine after that.

Upvotes: 1

greg
greg

Reputation: 1873

I was playing w/ things and I guess I accidentally cleared this setting. Different from other answers here, but the message does say 'Start url...' I set it back to 'localhost:4300' and was back plodding along.

Project Properties

Upvotes: 4

Chaim Eliyah
Chaim Eliyah

Reputation: 2942

All I had to do was restart Visual Studio 2017 CE.

Upvotes: 0

Mireille
Mireille

Reputation: 21

I Know it's very late, but for future developers who come across this, i just had the same problem and i was using IIS Express, 1st i deleted then re-added the ip with netch commands:

  • netsh http delete urlacl url=http://192.168.1.76:49603/

  • netsh http add urlacl url=http://192.168.1.76:49603/ user=everyone

  • netsh advfirewall firewall add rule name="HNclinic3" dir=in protocol=tcp localport=49603 profile=private remoteip=localsubnet action=allow

But then the error message was still showing, all i did then was go to the properties in my app (right click> properties> web) and under Project Url these is a checkBox.

  • Override application root Url

I unchecked it and everything worked fine.

Upvotes: 1

Related Questions