Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 905143 - Last Review: October 27, 2006 - Revision: 2.3
An “error occurred on line 498 while executing script†error message is logged in the Application log when you try to use the “Run Hardware Discovery†event rule in Microsoft Operations Manager 2005
When you try to use the
Run Hardware Discovery event rule to monitor a computer that has a single network adapter and multiple IP addresses, an error message that is similar to the following is logged in the Application log on the Microsoft Operations Manager (MOM) 2005 management server:
Event Type: Error
Event Source: Microsoft Operations Manager
Event Category: None
Event ID: 9100
User: <UserName>
Computer: <ComputerName>
Description:
An error occurred on line 498 while executing script 'Microsoft Windows Base OS Hardware Discovery Script'
Source: Microsoft VBScript runtime error
Description: Type mismatch: 'CStr'
For more information, see Help and Support Center at http://support.microsoft.com.
This problem occurs because the
Win32_NetworkAdapter::NetworkAddresses property returns a string array to the
Cstr command instead of the string value that the
Cstr command requires. The
Win32_NetworkAdapter::NetworkAddresses property returns a string array instead of a string value when a single network adapter has been assigned multiple IP addresses.
To resolve this problem, obtain the latest service pack for Microsoft Operations Manager 2005. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
905416Â
(http://kbalertz.com/Feedback.aspx?kbNumber=905416/
)
How to obtain the latest Microsoft Operations Manager 2005 service pack
Microsoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section.
This problem was first corrected in Microsoft Operations Manager 2005 Service Pack 1.
APPLIES TO
- Microsoft Operations Manager (MOM) 2005
| kbmom2005sp1fix kberrmsg kbtshoot kbprb KB905143 |
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