Thursday, June 4, 2020

Visual Studio 2013 - Run as administrator - The application cannot start.

All of a sudden, Visual Studio 2013 no longer works with the error message "The application cannot start" when trying to run it as local administrator.

For those of us who prefer to host a development environment using local IIS server (not IIS Express), this could be a show stopper.

Running the "devenv.exe /resetuserdata" did not help. Uninstall/Re-install of VS 2013 did not help either.

Try the following and see if it helps.

  1. Open the folder "C:\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\
  2. Look for files that start with "dte" and "*.olb" extension. For example,
    • dte80.olb
    • dte80a.olb
    • dte90.olb
    • dte90a.olb
    • dte100.olb
  3. Copy all of these files.
  4. Paste them into "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE