“Unable to launch the IIS Express Web server” error

前端 未结 25 2651
梦谈多话
梦谈多话 2020-11-30 02:48

I receive this error when trying to launch IIS Express from Visual Studio with a project that\'s configured to listen to an address other than localhost. Visual Studio free

相关标签:
25条回答
  • 2020-11-30 03:29

    I had the same problem with Visual Studio 2012. I managed to resolve it by removing from C:\Program Files (x86)\IIS Express\AppServer\applicationhost.config path unneccessary site entries. Alongwith running my VS2012 as an Administrator. Hope this helps

    0 讨论(0)
  • 2020-11-30 03:32

    I spent 1 hour trying every recipe mentioned above. Then out of no where I restarted my computer, and tried again. And everything is fine now.

    So please try restarting your computer before trying all the above mentioned solutions. It might help

    0 讨论(0)
  • 2020-11-30 03:32

    Click the Solution and press F4. Then match the port from Right-click on solution and select Properties to the web tab port. The port no will be the same of both case F4 and Properties.

    0 讨论(0)
  • 2020-11-30 03:33

    Deleting the unnecessary site entries from applicationhost.config file solved the issue for me.

    0 讨论(0)
  • 2020-11-30 03:33

    I had this problem some days ago and all of above items could not help me. I have ESET Smart Security 5.0 on my SONY VAIO laptop which works in interactive mode! Finally I found the problem, ESET was blocking VS2012! In the past, ESET had asked me to allow the VS2012 to communicate with Microsoft, I had chosen "Deny Access" and ESET had mad a rule for denying VS2012. I omitted this rule from "ESET rules zone" and my issue was solved!

    0 讨论(0)
  • 2020-11-30 03:35
    1. Close your project.
    2. Go to folder settings and select show hidden folders option.
    3. Open the folder where your application is. You will see a .vs folder.
    4. Open the .vs folder, you will see a config folder in it. Delete its content.
    5. Run Visual Studio in admin mode. Open your solution from the File menu.
    6. Clean your solution.
    7. Build it.
    8. Run it and voila!

    I do not recommend deleting IIS Express folder or messing with the config file in it.

    0 讨论(0)
提交回复
热议问题