简体   繁体   中英

Unable to launch IIS express error Visual Studio 2015

I'm working on an Asp.Net MVC5 project and I have done quite of work on it, i tried to manage the architecture of my app by moving common functionality to a common project to remove unnecessary dependencies, so i removed references to those nuget packages DLLs and manually deleted them from bin directory instead of uninstalling, after that i rebuild the entire solution which was successful but VS is not hosting it to IIS Express and i'm getting following error dialog. Can any one help me out if possible. Note: I have tried some solutions at Stack Overflow but those are not working in my case and also my other project's hosting is working fine. Error Dialog

I just found the right solution to my problem. I just deleted the .vs folder which was hidden in my solutions directory and after that IIS is launching smoothly. Don't worry just delete the .vs folder visual studio will recreate it with new applicationhost.config file which is where host configuration is living.

  • Right-click on your solution and select Properties
  • Select “Web” from the left
  • Under “Use local IIS server” change the port number

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM