Re: 0x80041001 was return when I call IWbemServices::PutInstance
- From: "Younger Wang" <younger@xxxxxxxxxxxxxxxxx>
- Date: Fri, 11 Nov 2005 14:21:10 +0800
The problem has been fixed. I set "HostingModel" of SNMP Class&Instance
Providers to "NetworkServiceHost"
and the application works happily.
Still I want to know the reason. As I mentioned in my last post, my console
test application did not set "HostingModel" and worked happily. Does anyone
know the reason?
BR
Younger Wang
"Younger Wang" <younger@xxxxxxxxxxxxxxxxx> wrote in message
news:eXKfv9Q5FHA.1864@xxxxxxxxxxxxxxxxxxxxxxx
> My application updates device configuration by SNMP. SNMP provider for WMI
> is used. The application runs well on windows 2000 server, but it does not
> work on windows 2003 server with SP1.
>
> Call to IWbemServices::PutInstance (SNMP SET) returns the code 0x80041001.
> But call to
> IWbemServices::GetObject (SNMP GET) returns S_OK. Any idea about the
> happening? Thanks
> a lot!
>
> BR
> Younger Wang
>
>
>
.
- Follow-Ups:
- Re: 0x80041001 was return when I call IWbemServices::PutInstance
- From: "Gary Chang[MSFT]"
- Re: 0x80041001 was return when I call IWbemServices::PutInstance
- References:
- 0x80041001 was return when I call IWbemServices::PutInstance
- From: Younger Wang
- 0x80041001 was return when I call IWbemServices::PutInstance
- Prev by Date: Re: Querying Folder Size with WMI.....and FireFox's Cache?!
- Next by Date: Disk Quotas & COM interface
- Previous by thread: RE: 0x80041001 was return when I call IWbemServices::PutInstance
- Next by thread: Re: 0x80041001 was return when I call IWbemServices::PutInstance
- Index(es):
Relevant Pages
|