Microsoft KB Archive/891399

= The IDE does not open and you receive a &quot;Cannot start program&quot; error message when you try to start Visual Studio .NET or Visual Studio 2005 =

Article ID: 891399

Article Last Modified on 3/7/2006

-

APPLIES TO


 * Microsoft Visual Studio 2005 Professional Edition
 * Microsoft Visual Studio 2005 Standard Edition
 * Microsoft Visual Studio .NET 2003 Enterprise Architect
 * Microsoft Visual Studio .NET 2003 Enterprise Developer
 * Microsoft Visual Studio .NET 2003 Academic Edition
 * Microsoft Visual Studio .NET 2002 Professional Edition
 * Microsoft Visual Studio .NET 2002 Enterprise Architect
 * Microsoft Visual Studio .NET 2002 Enterprise Developer
 * Microsoft Visual Studio .NET 2002 Academic Edition

-



Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
When you try to start Microsoft Visual Studio .NET or Microsoft Visual Studio 2005, the IDE does not open. You may also receive the following error message:

Unexpected critical error; cannot start program

Sometimes, a Windows Installer message box may also incorrectly appear.



CAUSE
This problem occurs when the following conditions are true:
 * The Mso.dll file is corrupted. Mso.dll is a shared Microsoft Office file.
 * The last Microsoft Office program that was installed is trying to repair the Mso.dll file.



RESOLUTION
To resolve this problem, stop the pending repair of the Mso.dll file, delete the Mso.dll file, and then replace the file. To do this, follow these steps.

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.  Click Start, click Run, type regedit, and then click OK. In Registry Editor, locate and then click the following registry subkey:

 

 Note the location of the folder that is specified for the Mso.dll file in the entry for this subkey. Typically, the Mso.dll file is located in the \Program Files\Common Files\Microsoft Shared\OFFICE11 folder. Make sure that the Mso.dll file is the only entry in this subkey. If there are other entries in this subkey, contact Microsoft Product Support Services to determine whether you can delete this subkey. On the Edit menu, click Delete. Click Yes to confirm the deletion.</li> Locate the Mso.dll file in the folder that you noted in step 3.</li> Right-click the Mso.dll file, and then click Delete.</li> Click Yes to confirm that you want to send Mso.dll to the Recycle Bin.</li> Reinstall Visual Studio .NET or Visual Studio 2005.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
For additional information about how to install Visual Studio .NET, click the following article number to view the article in the Microsoft Knowledge Base:

319714 How to troubleshoot Visual Studio .NET installation

For additional information about similar problems, click the following article numbers to view the articles in the Microsoft Knowledge Base:

327062 &quot;The application cannot start&quot; error message when you try to run the MSDN Help Viewer

839548 &quot;The application cannot start&quot; error message when you start Visual Studio .NET on Windows Server 2003

Keywords: kbtshoot kbprb kbvs2005applies kbvs2005swept KB891399

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.