Friday, April 9, 2010

Visual Studio 2008: Can not locate Microsot Internet Explorer

Of late, while debugging from Visual Studio by pressing F5, I got the error:









I was still able to debug it by using "Attach to Process" but its not as easy as pressing F5.

So I looked for a solution and the solution is:
Visual Studio looks for the following registry key to locate Internet Explorer:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\iexplore.exe]



Open regedit and locate this key.

If its not present, then create one with the Default value pointing to your Internet Explorer location. Normally it will be c:\Program Files\Internet Explorer\iexplore.exe.

If its already present then check the default value and correct it.



To check if its working, open run command, and type in 'iexplore' and it should launch the Internet Explorer.

Now try doing a F5 on your Visual Studio and it should work.

No comments: