Microsoft Knowledge Base Email Alertz

(883329) - Describes a problem that may occur after you import a Management Pack from MOM 2000 SP1 that includes a script. When you run the script on a MOM 2005 server, an error occurs.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 883329 - Last Review: October 27, 2006 - Revision: 1.2

"An error occurred on line <nn> while executing script <ScriptName>" error message when you run a script in Microsoft Operations Manager 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 nn while executing script ScriptName
Source: Microsoft VBScript runtime error
Description: ActiveX component can't create object: 'ObjectName'
Note In this error message, ScriptName is the name of the script you are trying to run, and ObjectName 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

APPLIES TO
  • Microsoft Operations Manager (MOM) 2005
Keywords: 
kbtshoot kbprb KB883329
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate