TypeLoadException

V

Valentin

Hi,

I have developed a chess application and I have received 2 complaints:
after installing .NET CF SP2 on a PPC 2002 (one is ipaq 1910 the other
one I don't know) when they launch the game, they get this error

chess.exe
TypeLoadException
Application::Run+0xf
MainForm::Main+0xa

I've asked them to install other .NET CF applications and they get the
same error, so it seems there is a problem with .NET CF. I've asked
them to reinstall SP2, to soft reset the PPC ... nothing. The only
solution I can think of is to ask them to do a hard reset, however I
wish I could find a less radical solution. Do you have any
suggestions?

Thanks,
Valentin Iliescu
 
G

Guest

Next time I will read your message before replying. Reinstalling sp2 does nothing.
 
A

Asheesh

By any chance is your app using SQLCE 2.0? If yes, then this could be the
cause of your problem. Ask the user to remove previous installation of
SQLCE2.0 and install the SQLCE 2.0 runtime again.

HTH,
Asheesh
Lawrence Anstey said:
Next time I will read your message before replying. Reinstalling sp2 does
nothing.
 
S

Steve

This usually indicates an assembly versioning problem. Your original
compiled code is set to use specific assemblies and if any have changed (and
don't specify proper backward compatible settings) then you will get this
error.



I would download the System.SR.dll (located in C:\Program Files\Microsoft
Visual Studio .NET 2003\CompactFrameworkSDK\v1.0.5000\Windows CE) to the
directory where your program is and run the application again, at which
point you should get a more descriptive error.



Steve
 
V

Valentin

Yes, I asked them to:
- reinstall SP2
- soft reset the PPC

but they have the same problem.
 
V

Valentin

Thanks for your suggestions.

1. No, my application doesn't use SQL CE
2. I cannot reproduce the error ... It works fine on my PPC and since
the first version was released (march 2003) I have received no
messages with this kind of error from the end-users.
3. It seems to be a problem with .NET CF, not with my application. As
I said in the first post, they have installed other .NET CF
applications (one of them not developed by me) and they get the same
error.
 

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