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 (905143)
The information in this article applies to:
- Microsoft Operations Manager 2005
SYMPTOMSWhen 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.
CAUSEThis 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.RESOLUTION
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 How to obtain the latest Microsoft Operations Manager 2005 service pack
STATUSMicrosoft
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.
Modification Type: | Major | Last Reviewed: | 9/22/2006 |
---|
Keywords: | kbMOM2005SP1fix kberrmsg kbtshoot kbprb KB905143 kbAudITPRO |
---|
|