Microsoft KB Archive/883329

= &quot;An error occurred on line  while executing script &quot; error message when you run a script in Microsoft Operations Manager 2005 =

Article ID: 883329

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Operations Manager (MOM) 2005

-





SYMPTOMS
When you run a script in Microsoft Operations Manager (MOM) 2005, you may receive an error message that is similar to the following:

An error occurred on line  while executing script

Source: Microsoft VBScript runtime error

Description: ActiveX component can't create object: ' '

Note In this error message,  is the name of the script you are trying to run, and   is the name of the script helper object that cannot be created.

This problem may occur after you import a Management Pack from MOM 2000 Service Pack 1 (SP1) to MOM 2005, and the imported Management Pack includes a script that includes a script helper object.



CAUSE
This behavior occurs because the script helper object is not supported in MOM 2005. MOM 2005 does not support the following script helper objects:
 * ActiveDirectory
 * EventLog
 * INet
 * MTALogAnalyzer
 * PagerJobQueue
 * SCManager
 * SystemManager
 * TermServer
 * Utility
 * Regobj.Registry

Keywords: kbtshoot kbprb KB883329

-

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

© Microsoft Corporation. All rights reserved.