3

**Hi Guys I just Cloned my project from a repository. I am getting this Similar error The Web Application Project […] is configured to use IIS. The Web server […] could not be found.

I do have IIS Manager on my pc. one of the solution is to set True on my cs.proj file but when i do it auto imports a port number. when i try to run the application with that port number the application hangs(load forever). What are possible ways to solve this error ?**

1 Answers1

1

Just to register an answer for all getting into the same problem under the same scenario, as we discuss and resolve it from the question's comments:

Ps: as i said this solution works for this particular scenario, maybe anyone else has to apply a different approach! In this case, try to follow the below link for other solutions!

The Web Application Project [...] is configured to use IIS. The Web server [...] could not be found.

  1. Reset the IIS; (https://learn.microsoft.com/en-us/visualstudio/debugger/error-the-web-server-is-not-configured-correctly?view=vs-2019)

  2. Publish the project;

  3. Add it to IIS Server;

  4. Run it using IIS Local (not the IIS Express)

Sergio Rezende
  • 762
  • 8
  • 25