Re: Execution Error

Ajay N Rao <[email protected]>
Newsgroups gmane.network.open-pegasus.general
Message-ID <OF5A54D788.0092CD79-ON65257A3E.0042D532-65257A3E.00431034@in.ibm.com>
Hi,

please for the interfacetype field in PG_ProviderModule in the 
registration mof.

Sample registration mof is as follows:
instance of PG_ProviderModule
{
    Description = "Sample CMPI Round Trip Indication Provider";
    Caption = "Sample CMPI Round Trip Indication Provider";
    Name = "CMPI_RT_SampleProviderModule";
    Vendor = "OpenPegasus";
    Version = "2.0.0";
    InterfaceType = "CMPI";
    InterfaceVersion = "2.0.0";
    Location = "CMPI_RT_Sample";
};

instance of PG_Provider
{
    ProviderModuleName = "CMPI_RT_SampleProviderModule";
    Name = "CMPI_RT_SampleProvider";
};

instance of PG_ProviderCapabilities
{
    ProviderModuleName = "CMPI_RT_SampleProviderModule";
    ProviderName = "CMPI_RT_SampleProvider";
    CapabilityID = "1";
    ClassName = "CMPI_RT_SampleIndication";
    Namespaces = { "root/SampleProvider" };
    ProviderType = { 4, 5 };  // Indication & Method
    SupportedProperties = NULL;
    SupportedMethods = {"SendTestIndication"};
};

Regards,
Ajay



From:   <[email protected]>
To:     <[email protected]>
Date:   07/17/2012 05:28 PM
Subject:        Execution Error



 
 
 
HI all,
Please help me to get rid of this error, I have written a demo instance 
provider and I have 
Successfully compiled the mof file as well as the registeration mof. 
But whenever I fired command to the instance provider  like gi, ei , ni 
etc.. its show me the error that
 
CIM_ERR_FAILED: ProviderLoadFailure : <../../ProviderName.dll> 
Provider is not a CMPI style provider. Cannot find 
ProviderName_Create<mi-type>MI symbol.
 
Please give me valuable suggestion to solve this as well as the reason of 
occurrence of such type of error.
 
Thanks and Regards
Manish 
 
 
Please do not print this email unless it is absolutely necessary. 
The information contained in this electronic message and any attachments 
to this message are intended for the exclusive use of the addressee(s) and 
may contain proprietary, confidential or privileged information. If you 
are not the intended recipient, you should not disseminate, distribute or 
copy this e-mail. Please notify the sender immediately and destroy all 
copies of this message and any attachments. 
WARNING: Computer viruses can be transmitted via email. The recipient 
should check this email and any attachments for the presence of viruses. 
The company accepts no liability for any damage caused by any virus 
transmitted by this email. 
www.wipro.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.