WMI ComAccess Denied Error
- From: "Teja" <ratnateja@xxxxxxxxx>
- Date: 27 Oct 2006 04:22:55 -0700
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 ......
.
- Prev by Date: Provider is not capable of the attempted operation Error for MicrosoftExchangeV2
- Next by Date: WMI works except process create (urgent)
- Previous by thread: Provider is not capable of the attempted operation Error for MicrosoftExchangeV2
- Next by thread: WMI works except process create (urgent)
- Index(es):
Relevant Pages
|