Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,

i have just developed an app that uses system.manament class, but my friend is having problem using the app as it gives errors. He has winxp sp3 and .Net framework 2.0 installed, just as i have.

<pre>System.TypeInitializationException: The type initializer for
'System.Management.MTAHelper' threw an exception. ---> System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {A8F03BE3-EDB7-4972-821F-AF6F8EA34884} failed due to the following error: 80040154. at System.Management.MTAHelper..cctor()</pre>

how can i deploy this application making sure wmi is present?
what could be the problem?
Posted
Updated 17-Sep-11 9:20am
v2

1 solution

There are issues reported related to WMI after installing SP3 on XP machines.

http://social.technet.microsoft.com/Forums/en-US/itproxpsp/thread/7c00d810-0ecd-48b9-862e-69efa29beace/[^]

You may want to revert and use SP2 or use WIN 7 as still no definite solution available yet.
 
Share this answer
 
Comments
Cool Smith 17-Sep-11 15:54pm    
hello, am using sp3 too, and i have no problem with it
Pradeep Shukla 17-Sep-11 16:02pm    
May be you can ask your friend to re-install SP3, some how wbemcore.dll got corrupted resulting in the issue.
Cool Smith 17-Sep-11 16:58pm    
thanks, i'll try that out
Cool Smith 18-Sep-11 11:29am    
thanks all, re-installing did fix it!
Pradeep Shukla 18-Sep-11 11:54am    
gr8..good to hear :-)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900