I am getting Unexpected error occured. Specified cast is not valid.
this is trying to monitor the SQL server via the WMI using the SQL template that came with APM on a windows 2000 server.
Actually its a Cisco Call Manager system.
This is a known issue with Beta 2 when monitoring a Windows 2000 server with WMI. It has been fixed (Bug number 778 for internal folks).