Re: 0x80041001 was return when I call IWbemServices::PutInstance



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
>
>
>


.



Relevant Pages

  • Re: XP App 1030 & Sys 40961 Errors
    ... This problem occurs because the Group Policy engine in Windows XP ... Professional and Windows Server 2003 does not have read permissions to the ... > cannot query for the list of Group Policy objects. ... > the reason for this was previously logged by the policy engine. ...
    (microsoft.public.windows.server.sbs)
  • SNMP uses high CPU time
    ... We have a Windows 2000 Server running SP4. ... I installed SNMP and SNMP4W2K, ...
    (microsoft.public.win2000.general)
  • Re: SNMP Problem...
    ... > und Windows an sich nichts in der Richtung mitbringt... ... bei Server 2003 nicht allzuviel geändert haben dürfte. ... SNMP hat fürs System-Management nur geringe praktische Bedeutung, ...
    (microsoft.public.de.german.windows.server.networking)
  • Re: PcLinux
    ... unless there is a specific reason to. ... server, web server, mail server and central storage server is up 24 x ... and it always seemed to be the windows computers having problems, ... statistics which indicate) that a properly secured linux or unix box is ...
    (rec.crafts.metalworking)
  • Re: PcLinux
    ... rrr for some reason I'm losing messages here. ... is cheaper, more powerful, and more flexible than windows. ... issue with inconsistent documentation that bothered me about Linux. ... Desktop is what I work from, not where I run server type applications ...
    (rec.crafts.metalworking)