473,395 Members | 1,437 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

WMI causes blue screen of death on Embedded XP

I am a novice to embedded XP. I have an application that makes a call to the
ManagementClass to get the MAC address. This code runs fine on XP
professional and XP home, but when I copy the executable to an Embeded XP
system that has the 1.1 framework installed, I get the blue screen of death.
Prior to that the code throws an exception
System.TypeInitializationException. The type initializer threw an exception:
Provider load failure"
at ManagementObjectEnumerator.MoveNext()

The code in question is:
System.Management.ManagementClass mc =new
System.Management.ManagementClass("Win32_NetworkAd apterConfiguration");
foreach ( System.Management.ManagementObject mo in mc.GetInstances() )
{
if ( ((bool)mo["IPEnabled"]) == true )
{
systemID = mo["MACAddress"].ToString();
}
}

The blue screen information references: MEMORY_MANAGEMENT
STOP: 0x0000001A (0x00041284, 0x0001000, 0x00000AD1, 0xC0503000)

Any thoughts on this problem? I do not have a development environment on the
Embedded XP system the code is built on XP professional using VS.Net 2003.

Rick
Nov 22 '05 #1
0 1428

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Rick | last post by:
I am a novice to embedded XP. I have an application that makes a call to the ManagementClass to get the MAC address. This code runs fine on XP professional and XP home, but when I copy the...
2
by: Dutchy | last post by:
Hi there, After spending several hours trying all I could imagine and search for in Google I gave up. In a continuous form I want to sort the choosen column by clicking the header (label) of...
0
by: kris_scheyer | last post by:
Ok, here's what im trying to do: I have a machine running XP embedded that has a webserver. I have a button on the aspx web form that is supposed to capture the screen of the computer hosting the...
14
by: multiformity | last post by:
So I have been working on an opensource project for a while, and decided to really try to make it look better after focusing on the functionality most of this time. Up to now, I have simply used a...
17
by: Mario | last post by:
Hello, I need a program what generates me a blue screen in Windows XP with .net! This should be simple, but how? Please help me. Mario
3
by: Typehigh | last post by:
I am front ending a SQL Server database with MS-Access 2000. The UI has many buttons that launch VB code. One of the buttons launches a lengthy process that takes 20-30 seconds to complete. If the...
3
by: Danny J. Lesandrini | last post by:
-- previously posted on newsgroup :: <microsoft.public.access-- Has anyone else noticed this behavior? Focus jumping from current cell to upper left in embedded datasheet. If not, would you be...
1
by: =?Utf-8?B?RGpub3J0aHl5?= | last post by:
Hey guys, i am having a problem with my pc. It is running XP Home and is an advent. Sometimes it does it when it starts up or some times jsut randomly. Here is the error code: 0x0000003...
1
by: Nicolas | last post by:
Hello, On a Windows platform (XP SP2), using Wampserver 2.0, each time I try to access a distant file with PHP: $contents =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.