pb Exception: HRESULT: 0x80131040.

G

Gab

Hello,

I developed an VS2005 NET CF application for a pocket pc which use a a SQL
everywhere database .

Sometimes, I've got some problem without reason, indeed the application
close and this exception is thrown " Could not
load file or assembly 'System.Data.SqlServerCe, Version=9.0.242.0,
Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its
dependencies. The located assembly's manifest definition does not match the
assembly reference. (Exception from HRESULT: 0x80131040)".


Thanks for your help!

Gab
 
I

Ignacio Machin ( .NET/ C# MVP )

Hello,

I developed an  VS2005 NET CF application  for a pocket pc which use a a SQL
everywhere database .

Sometimes, I've got some problem without reason, indeed the application
close  and this exception is thrown  " Could not
load file or assembly 'System.Data.SqlServerCe, Version=9.0.242.0,
Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its
dependencies. The located assembly's manifest definition does not match the
assembly reference. (Exception from HRESULT: 0x80131040)".

Thanks for your help!

Gab

The error says clearly what is going on, you have a different version
of the dll installed in your device (or emulator)

There is a group for Compact framework, you might get more detailed
answers there.
 

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