WMI ComAccess Denied Error



Hi,

I am using WMI for remote datacollection.


I am collecting remote asset data in a threaded model.The model is as
follows,


The max thread pool I maintain is 10.(So at a single time , i will
start collecting data for 10 systems,once one system finishes
data collection , i will launch one new thread for other new system.So
this logic maintains 10 threads at a time to reduce burden on wmi
service
by not creating threads as many systems i have for management)


And I have following problem,


After successful collection of say 500 nodes in threaded model( I mean
launching each thread per system)in one cycle or two, my process starts

giving
"com access denied error" for the all the systems which i have
collected in previous cycle with same credentails.And this exception is

thrown
by connectserver wmi api.


In the same time , if I do a wbemtest with same credentials what I pass

to my process, it works fine.


I am running all the threads in multithreaded apartment.


Also i am observing memory leak.Is this a cause ? OR some other issue?


When i restart the process , it starts collecting the data again.


Please help me ......

.



Relevant Pages

  • WMI Com Access Denied Error
    ... I am using WMI for remote datacollection. ... I am collecting remote asset data in a threaded model.The model is as ... launching each thread per system)in one cycle or two, ...
    (microsoft.public.windows.server.sbs)
  • Re: sampling rate problem labview pda
    ... Hey Lav ... I think the data you are collecting is expected.  You are only collecting 2.5 samples/ Cycle not enough to reconstruct your waveform. ... I think you will find your PDA is working as well as a PC Daq when it comes to sampling the signal you are trying to acquire. ...
    (comp.lang.labview)