wmi initialization failed: Provider type not defined (0x80090017)

K

Karl

My application failed to initialize wmi.
IWbemLocator::ConnectServer(..) failed with ret code 0x80090017. Error
look up showed this code is "Provider type not defined".

Then I try to connect to root/WMI using wbemtest.exe, a error dialog
displays:
Number: 0x80090017
Facility: SSPI
Description: Provider type not defined.

Then try wmic, get following information:
Please wait while WMIC is being installed.
Parsing Mof File: D;\windows\system32\wbem\cli.mof(Phase Error - 3)
Compiler returned error 0x80090017

I have installed all WMI related components by add the component -
"Windows Management Instrumentation Technologies"(all checked), also
with "RAS Async adapter", "WAN Miniport", "Network Routing", "Dial-up
Server for Windows". And My environment is XPE SP2.

I have searched "0x80090017" or "Provider type not defined" by GOOGLE,
but got few.

In Windows XP Pro, my app runs well. That seems that some components
required are missing. Anyone has an idea what's required?

Your help is greatly appreciated.

-Karl
 
G

Guest

Karl,

Please ensure that "WMI Win32 Provider" Component is included in your build.
This component is typically missed and not linked as a required dependency.
 
K

Karl

Hi PjS
Please ensure that "WMI Win32 Provider" Component is included in your build.
This component is typically missed and not linked as a required dependency.

I checked just now, it's there, just included in my build.
Any other advices, please?

-Karl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top