Re: WMI Exception - Provider Load Failure - Enumerating Network In
- From: "KM" <konstmor@xxxxxxxxxxxxxxxx>
- Date: Fri, 6 May 2005 11:06:28 -0700
Jason,
Any chance for you to profile/monitor the application launch or the place when it gets to the exception with tools like
Regmon/FileMon to see what's missing?
--
Regards,
KM, BSquare Corp.
> We do have all of those components installed and still no luck.
>
> "KM" wrote:
>
> > Jason,
> >
> > Do you have the following components in your configuration:
> > - WMI Win32 Provider
> > - Network Diagnostics
> > - Terminal Services WMI Provider (may appear to be optional)
> >
> > --
> > Regards,
> > KM, BSquare Corp.
> >
> >
> > > Slobodan,
> > >
> > > 1. The app does work on XP Pro.
> > > 2. Our image is XPe SP2
> > > 3. We are using .Net 1.1 (the component included with SP2) We are running
> > > with minlogon and therefore had to modify one of the dependencies of the .Net
> > > component.
> > > 4. I believe our application requires .Net 1.1
> > >
> > > We have narrowed down the code which is causes us problems right now to the
> > > following:
> > >
> > > public static ArrayList InstalledNetworkCardNames()
> > > {
> > > ArrayList nicNames = new ArrayList();
> > >
> > > ManagementClass mc = new
> > > ManagementClass("Win32_NetworkAdapterConfiguration");
> > > ManagementObjectCollection moc = mc.GetInstances();
> > >
> > > foreach(ManagementObject mo in moc)
> > > {
> > > if((bool)mo["ipEnabled"])
> > > {
> > > nicNames.Add( mo["Caption"] );
> > > }
> > > }
> > > return nicNames;
> > > }
> > >
> > > Thanks for your help,
> > > -Jason
> > >
> > > "Slobodan Brcin (eMVP)" wrote:
> > >
> > > > Jason,
> > > >
> > > > Few questions.
> > > > 1. Does this application work on XPP?
> > > > 2. What Service Pack do you use?
> > > > 3. Do you have .Net Framework included and what version?
> > > > 4. What version of .net is required by your application?
> > > >
> > > > Try making smaller code that repro same error and post it here.
> > > >
> > > > Regards,
> > > > Slobodan
> > > >
> > > >
> > > > "Jason Canada" <JasonCanada@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> > > > news:F14F57AF-E7DB-4B72-BD91-F469BD87AD8C@xxxxxxxxxxxxxxxx
> > > > >I am using an XPe image with all WMI components installed (icnluding the
> > > > > macro component Windows Management Instrumentation Technologies). We have
> > > > > written an application that is calling WMI to enumerate the network
> > > > > interfaces in the machine.
> > > > >
> > > > > When we run the application we receive the following exception:
> > > > >
> > > > > 5/3/2005 5:43:50 PM:
> > > > > **** Console Provider load failure , received at 5/3/2005 5:43:50 PM,
> > > > > Exception at 5/3/2005 5:43:50 PM ****
> > > > > Provider load failure
> > > > > at
> > > > > System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus
> > > > > errorCode)
> > > > > at System.Management.ManagementObjectEnumerator.MoveNext()
> > > > >
> > > > > Has anyone tried to do anything similar or seen similar errors?
> > > > >
> > > > > Thank you,
> > > > > -Jason
> > > >
> > > >
> > > >
> >
> >
> >
.
- Follow-Ups:
- Re: WMI Exception - Provider Load Failure - Enumerating Network In
- From: Jason Canada
- Re: WMI Exception - Provider Load Failure - Enumerating Network In
- References:
- WMI Exception - Provider Load Failure - Enumerating Network Interf
- From: Jason Canada
- Re: WMI Exception - Provider Load Failure - Enumerating Network Interf
- From: Slobodan Brcin \(eMVP\)
- Re: WMI Exception - Provider Load Failure - Enumerating Network In
- From: Jason Canada
- Re: WMI Exception - Provider Load Failure - Enumerating Network In
- From: KM
- Re: WMI Exception - Provider Load Failure - Enumerating Network In
- From: Jason Canada
- WMI Exception - Provider Load Failure - Enumerating Network Interf
- Prev by Date: Re: Disk Management
- Next by Date: Re: Accessiblility
- Previous by thread: Re: WMI Exception - Provider Load Failure - Enumerating Network In
- Next by thread: Re: WMI Exception - Provider Load Failure - Enumerating Network In
- Index(es):
Relevant Pages
|
|