visual-studioiis-express

"Process with an Id of #### is not running" in Visual Studio


I am trying to run any program on visual studio 2013 update 3 and I get the following alert box:

Process with an Id of #### is not running.

Every time there is different ID number showing.

and in the error windows, I get this error message:

The program '[3148] iisexpress.exe' has exited with code -1073741816 (0xc0000008) 'An invalid handle was specified'.

Sometimes it runs and in the browser I get the following message:

The webpage is not available.

Why is this occurring and how can I resolve it?


Solution

  • First Error

    For the first error:

    Process with an ID #### is not running.

    The following steps worked for me:

    1. Close all instances of Visual Studio.
    2. Rename the IISExpress folder (in my PC is in C:\Users\jmelosegui\Documents).
    3. Add the _CSRUN_DISABLE_WORKAROUNDS Environment System variable with the value of 1. enter image description here
    4. Start Visual Studio in administrator mode. (In Windows, right click the executable file and select Run as administrator).

    Second Error

    The second error:

    The webpage is not available

    What caused this error:

    I deleted IIS Express Development Certificate while playing with the SSL.

    The following steps worked for me:

    1. Go to Control Panel.
    2. Select Add/Remove Programs.
    3. Locate IIS 8.0 Express.
    4. Right click on it then click Repair.
    5. Your certificate should be back!