Windows XPe SP2 - Problem executing a .NET application

G

Giggsy

What command you run first?

The dos command prompt and then I can start my app. But now I have
created a custom shell of my app and it works. So I still don't
understand why I get that error message when I started my app from the
task manager.
 
S

Slobodan Brcin \(eMVP\)

Jonas,

GART driver in your case is missing agp440.sys file. GART is used for memory
address table mapping for video cards and it is required for using advanced
functions of your video drivers.

#-035 Processing service Add/Delete section [AGP440_Install.Services].
#E339 Add Service: Binary "C:\WINDOWS\system32\DRIVERS\agp440.sys" for
service "agp440" is not present.
#E032 Error 0xe0000217: A service installation section in this INF is
invalid.
#E275 Error while installing services. Error 0xe0000217: A service
installation section in this INF is invalid.
#E122 Device install failed. Error 0xe0000217: A service installation
section in this INF is invalid.
#E157 Default installer failed. Error 0xe0000217: A service installation
section in this INF is invalid.


Video driver for your card might be required by something. And since you
have problems I would suggest you to satisfy all hardware drivers needs
before loosing more time with this problem.

Regards,
Slobodan
 
K

KM

Jonas,
Hi.

I havent added any Display Device Drivers yet. At the moment i'm running in
standard VGA (640x480x16). Didnt want to bother with setting up drivers
before i had .NET up and running. Think i need to add the "ATI Mobility
(Dell-P)" component (that's the graphic card in the laptop).

It has been known that video driver problems affected GUI application appearience and some system components.
What's the GART componet?

Slobodan already covered that in his post.
Basically, you were missing agp440.sys from your image.

If you happened to run TAP on that device, in the imported PMQ file you will see what "..Processor to AGP Controller" component
should be there.
I'll see if i can get my hand on a 512MB CF card. Was hoping that i didnt
have to buy a new one, so I'll see if some of my friends has one i can use.

This will help you on long run anyway.
Didn't quite get what to do with the XP Pro Emulation slx file..?

Well.. You will have to open the project, add your platform macro and resolve all its dependencies. Change Configuration Target
device settings appropriately. Then just build and deploy the image on the same hardware. However, be aware that the image will be
around 700-800 Mb so you will need to use your old HDD which should be be enough to fit the post-FBA image (~1G).

KM
 
G

Guest

I just ran TAP.EXE for the first time. The previous images have been built on
the "WinLogon" component in the "test" section under software. This time i
allso importet the pnq file and got 32 hardware devices added. Really cool.

However, the problem and error remains the same. This is really starting to
irritate me. Is it really this hard to get a. NET app to run?

This is my GART comonent: Intel 82443BX Pentium(r) II Processor to AGP
Controller
 
G

Guest

Hi.

I might have some new clues to solve this problem. Remember i mentioned that
Console Applications would run? I created a new console application, and
added a reference to System.Windows.Forms, and called
System.Windows.Forms.MessageBox.Show("Hello World!"), which is probably the
simplest Windows Forms related thing i could do. I wrapped this inside a
try{}catch{} block, and wrote the exception to a file.

The exception can be viewed at a http://jonas.greit.no/ex.txt

I really dont know what's wrong. It says it cant find System, but that
can't be true, since i'm using the base libraries when writing a Console app
(System.Console.WriteLine() etc.)



So, what do you think?
 
G

Guest

Hmm.. This is really strange.. I copied System.dll, System.Drawing.dll and
System.Windows.Forms.dll to the application directory, and it worked just
fine... At least I'm getting some were, and now I'm able to bring up forms
and buttons... But, i dont feel comfertable with putting the assemblies in
the application directory..

So still hoping to figure this out.
 
K

KM

Jonas,

Would you mind checking the following registry setting?
[HKLM\SOFTWARE\Microsoft\.NETFramework], "InstallRoot"

What it is currently set to on your image?
Supposedly it gets set from "netfxocm.inf" but just in case.

Also, could you export and post here the content of the following key of your runtime:
[HKEY_CLASSES_ROOT\TypeLib\{D37E2A3E-8545-3A39-9F4F-31827C9124AB}]
 

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

Top