Microsoft KB Archive/316991

= BUG: Cannot Debug Scripts If You Uninstall Microsoft Script Editor Version 7 =

Article ID: 316991

Article Last Modified on 12/4/2007

-

APPLIES TO


 * Microsoft Visual InterDev 6.0 Standard Edition
 * Microsoft Windows Scripting Host 2.5
 * Microsoft Office XP Professional Edition
 * Microsoft Office XP Small Business Edition
 * Microsoft Office XP Standard Edition
 * Microsoft Office XP Standard Edition for Students and Teachers
 * Microsoft Office XP Developer Edition
 * Microsoft Access 2002 Standard Edition
 * Microsoft Excel 2002 Standard Edition
 * Microsoft FrontPage 2002 Standard Edition
 * Microsoft Outlook 2002 Standard Edition
 * Microsoft PowerPoint 2002 Standard Edition
 * Microsoft Word 2002 Standard Edition

-



This article was previously published under Q316991



SYMPTOMS
After you uninstall the Microsoft Script Editor that is included with Windows XP (Mse7.exe), you cannot use just-in-time (JIT) debugging to debug scripts or Web pages. Furthermore, you may receive the following error message:

CScript Error: Initialization of the Windows Script Host failed. (Interface not registered)



RESOLUTION
To enable debugging, reinstall Microsoft Script Editor version 7. If Microsoft Visual InterDev 6.0 is installed, Microsoft Script Editor version 7 still functions correctly.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.



Steps to Reproduce Behavior

 * 1) Install the Microsoft Script Debugger. Notice that you can successfully debug scripts and Web pages.
 * 2) Install Microsoft Script Editor version 7. Verify that you can use Microsoft Script Editor version 7 to debug scripts and Web pages successfully.
 * 3) Uninstall Microsoft Script Editor version 7.
 * 4) Try to debug scripts or Web pages. Notice that this fails. Furthermore, you may receive the error message that is mentioned in the &quot;Symptoms&quot; section.

