iis64-bitiis-expressvisual-studio-2015

IIS Express 10 (64 bit) errors when starting web project in Visual Studio 2015


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:

  1. Rename/Delete the IISExpress folder under my documents.
  2. Run Visual Studio as Administrator at all times.
  3. Reboot...because turn it off and on again.
  4. I checked the _CSRUN_DISABLE_WORKAROUNDS environment variable as indicated here but it was already set.
  5. Repair IIS Express 10 in Programs and Features.

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.


Solution

  • 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.