Reputation: 38497
Starting a web project in IIS Express 10 and Visual Studio 2015 results in the following error when running the 64 bit version of IIS Express but works fine with the 32 bit version.
Process with an Id of 9172 is not running.
These are the fixes I have tried, all have failed:
There already seems to be a Connect issue registered with Microsoft which is Active but this has been ongoing since VS 2010. I have also done some investigation.
Filename: \?\C:\Windows\Microsoft.NET\Framework64\v4.0.30319\CONFIG\web.config Line number: 519 Error: The configuration section 'microsoft.applicationServer' cannot be read because it is missing a section declaration.
Upvotes: 1
Views: 3360
Reputation: 107
I had a similar problem - the key to solving it was to run iisexpress from the the command line and then look at the error. In my case it said the XML was malformed. I then tried to edit the web.config in XmlNotepad which told me exactly where the bad XML was. In this case - something had put a bad comment in the file - I removed it (IE, fixed the XML issue) and then iisexpress was able to run OK on the command line and in VS 2015.
Upvotes: 0
Reputation: 116
It seems that you have updated C:\Windows\Microsoft.NET\Framework\v4.0.30319\CONFIG\web.config but not updated C:\Windows\Microsoft.NET\Framework64\v4.0.30319\CONFIG\web.config. So, please compare the two files and sync them to solve the problem.
Upvotes: 2