Some web projects are causing me problems while others work fine. I decided to focus on one of the problematic ones. I\'m using Visual Studio 2013 on Windows 7. I think I\'m
When using Visual Studio 2015 the solution can be a bit different to the previous answers. VS2015 creates a hidden folder .vs under the same folder as your solution file. Under this is a config folder containing applicationhost.config. Deleting this file (or the entire .vs folder) then starting VS2015 to recreate it can fix this error.