0

Unable to connect to web server 'IIS Express'. Output from IIS Express: Starting IIS Express... Successfully registered URL "http://localhost:5001/" for site "MyProject" application "/" Registration completed for site "MyProject IIS Express is running.

Tried by Clearing the .vs,bin,obj files and the applicationhost.config files. even after that same issue appear.

2
  • I faced this issue in Visual Studio, and here's what worked for me: The issue seemed to be caused by a caching problem in Visual Studio or IIS Express. I restarted the system . After the restart, I was able to run the project without any issues. Everything started working as expected — no more IIS Express errors. Commented Jun 5 at 13:51
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Commented Jun 5 at 13:59

1 Answer 1

0

I faced this issue in Visual Studio, and here's what worked for me: The issue seemed to be caused by a caching problem in Visual Studio or IIS Express.
-> Restarting the system resolved it for me.

After the restart, I was able to run the project without any issues. This method worked in my case.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.