RE: Execution Error

Ajay N Rao <[email protected]>
Newsgroups gmane.network.open-pegasus.general
Message-ID <OF7555DDC2.6FAD050E-ON65257A3E.00509ACD-65257A3E.0050D294@in.ibm.com>
Hi,
exactly that is why the error is given that registration mof is indicating 
cmpi type 
provider code indicate different type hence the error.

Regards,
Ajay



From:   <[email protected]>
To:     Ajay N Rao/India/IBM@IBMIN
Cc:     <[email protected]>
Date:   07/17/2012 08:01 PM
Subject:        RE: Execution Error



HI,
My registeration mof has already the same interface type :
 
instance of PG_ProviderModule
{
    Description = "Skeleton Provider";
    Caption = "Skeleton Provider";
    Name = "SkeletonProvider";
    Vendor = "Manish";
    Version = "2.0.0";
    InterfaceType = "CMPI";
    InterfaceVersion = "2.0.0";
    Location = "SkeletonProvider";
};
 
instance of PG_Provider
{
    ProviderModuleName = "SkeletonProvider";
    Name = "SkeletonProvider";
};
 
instance of PG_ProviderCapabilities
{
    ProviderModuleName = "SkeletonProvider";
    ProviderName = "SkeletonProvider";
    CapabilityID = "SkeletonProvider";
    ClassName = "Sample_Storage";
    Namespaces = { "root/cimv2" };
    ProviderType = { 2 };
    SupportedProperties = NULL;
    SupportedMethods = NULL;
};
 
Regards
Manish 
 
 
 
 
 
From: Ajay N Rao [mailto:[email protected]] 
Sent: Tuesday, July 17, 2012 5:42 PM
To: Manish Kumar (WT01 - Manufacturing & Hi Tech)
Cc: [email protected]
Subject: Re: Execution Error
 
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 
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.