Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Connection Problems from Mobile CE5 to SQL2008

20 views
Skip to first unread message

MartyP

unread,
Feb 20, 2012, 4:33:16 PM2/20/12
to
I have tried everything and I still get a SQLException error. I have
Googled this and tried for two days.
I am trying to get my mobile CE5 device to connect to SQL Server 2008
when it is cradled.
I am using System.SQLClient on the mobile.

I have tried using the named instance of the server. I have tried
using the TCPIP addr of the server.
I have tried using a dynamic port. I have tried using the standard
port (1433). I have tried changing the collation of my database. I
even created a new database and nothing will connect. It crashes on
SQLConnection.Open() with a very generic "SQLException error".

When I run it on the mobile, I get "Can't find PInvoke DLL
dbnetlib.dll" which points to the same problem as above.

Does anyone have anything else I can try?

Thanks for the help.

Marty

MartyP

unread,
Feb 20, 2012, 4:51:34 PM2/20/12
to
0 new messages