Get a "sqlceqp35.dll" error when debugging but not when running deployed code.

Posted by nj on Stack Overflow See other posts from Stack Overflow or by nj
Published on 2010-01-22T14:21:21Z Indexed on 2010/05/23 2:30 UTC
Read the original article Hit count: 309

In our current windows mobile project a problem while debugging recently arised. When trying to debug the code it throws an exception on the open command on a connection to the local database.

The message is "A SQL Server Compact DLL could not be loaded. Reinstall SQL Server Compact Edition. [ DLL Name = sqlceqp35.dll ]". Sometime it's an unknow error instead, with reference to the same file.

If you execute the binary, thats deployd during the debug, on the device it runs without any problem.

I've tried: Reinstall both .net and sqlce on the device. Changed the "specific version" on the reference properties in the project.

The hardware I'm using is a Motorola MC70 with Windows mobile 5.0. The target platform of the project is windows mobile 5.0.

Any ideas on what might cause this problem?

EDIT: When I tried it on a MC75 I can debug it. The MC70 got OS Version: 05.01.0478 and the MC75 05.01.0478. My best guess now is that it's someway related to the OS version or the actual device.

© Stack Overflow or respective owner

Related posts about windows-mobile

Related posts about sql-server-ce