已答复 Task fails with "BatchResponse" error

  • Wednesday, April 11, 2012 4:02 PM
     
     

    Hi

    We are trying to test our new Management Packs and we are having problems running a WMI task on an endpoint.

    The error we see is :

    "Initialization of a module of type "BatchResponse" (CLSID "{9F96E9EF-EA39-4352-AE5B-E6E0AB20E4CA}") failed with error code The filename, directory name, or volume label syntax is incorrect. causing the rule "CustomManagementPack.Stop.All.Task" running for instance "SOMEWHERE.SOMEDOMAIN.LOCAL" with id:"{FE3EDC89-9E3B-2F05-7CEA-A58F50A7DE1A}" in management group "OpsManager".
    Error Code: -2130771961 (Unknown error (0x80ff0007))."

    I have confirmed that the WMI script we are trying to run works successfully when run from a Command prompt on that endpoint.

    Info:

    Ops Manager 2007 R2 (6.1.7221.0)

    Server: Windows Server 2008 Enterprise R2 SP1 (both SCE server and endpoint).

    I cannot find any other useful references to this error on the web :(

    I have tried using ProcMon to find out what is wrong, but that doesn't show anything "incriminating"!

    What is confusing us more is that the script has not changed from our previous Management Pack, where it ran with no problems. The only thing we have changed in the new pack are to switch from a WMI script for Discovery to a FilteredRegistryDiscoveryProvider.

    The monitoring side of the packs is working fine and we have other tasks that are not WMI which also execute without a problem. It just seems to be the WMI tasks.

    Can anyone shed some light on this for me?

    Cheers

    Ged

All Replies