Home > Web Development > Visual Studio 2008, Run as Administrator, Application Cannot Start

Visual Studio 2008, Run as Administrator, Application Cannot Start

April 30th, 2009

If you ever wondered why is this happening there is a nice blog post written by Alex Riley. Alex explains and shows how to copy two DLL files that are needed and expected in a certain folder. This description helped tremendously, however I wanted to make things clearer and distinguish between 32bit and 64bit environments:

If you get the error “Application Cannot Start” when you try to ‘Run as Administrator’ VS2008, this is what you need to do:

For 32bit environments (follow Alex’s steps):
Copy dte80.dll and dte80a.dll from “C:\Program Files\Common Files\Microsoft Shared\MSEnv” to “C:\Program Files\Microsoft Visual Studio 8\Common7\IDE”

For 64bit environments:
Copy dte80.dll and dte80a.dll from “C:\Program Files (x86)\Common Files\microsoft shared\MSEnv” to “C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE”

You should be good to go now!

Bookmark and Share

Most Commected Posts

Ron Peled Web Development

  1. Cesar Guevara
    May 21st, 2009 at 06:19 | #1

    This is a very helpful post, I had the same problem and it took me a while to work it out but I fixed it with a difference. The dll’s you mentioned were not in my computer but there were other files named exactly with the extension olb, so it I had files named like dte80.olb and dte80a.olb, so I copied and pasted those on the same location suggested here and it worked !!

    Anyway thanks for this

Comments are closed.