Re: OleDb connection string to Sql server mobile edition
- From: "Jonas Pedersen" <qwert@xxxxxxxxxx>
- Date: Sun, 3 Jun 2007 00:22:21 +0100
Thanks Rick,
No help, still getting could not find file.
What I have done so far is copy the files:
sqlceca30.dll, sqlcecompact30.dll,
sqlceer30en.dll,sqlceme30.dll,sqlceoledb30.dll,sqlceqp30.dll,sqlcese30.dll
to my dir and register the sqlceoledb30.dll.
Do i need to do anything in active sync to get up running?
Jonas
"dbgrick" <dbgrick@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9F7ED9EE-A3D5-4361-98BA-AE9E9DB93FE3@xxxxxxxxxxxxxxxx
Try using the path "\\Program Files\\TM_MOBILE\\TMMOBILE.sdf" You should
not
need to use Mobile Device, and the number of back slashes are important.
Rick D.
Contractor
"Jonas Pedersen" wrote:
I am trying to connect from my application to a sql server on my pocket
pc,
using this connection string.
PROVIDER=Microsoft.SQLSERVER.MOBILE.OLEDB.3.0; Data Source=Mobile
Device\Program Files\TM_MOBILE\\TMMOBILE.sdf;
I get error:
"The path is not valid. Check the directory for the database.
[,,,Path,,]"
The connection string works in visual studio server explorer.
If I connect to a db on my pc i.e.
PROVIDER=Microsoft.SQLSERVER.MOBILE.OLEDB.3.0; Data
Source=C:\\TM_MOBILE\\TMMOBILE.sdf;
It works fine
Any help would be appreciated.
Jonas
.
- References:
- OleDb connection string to Sql server mobile edition
- From: Jonas Pedersen
- OleDb connection string to Sql server mobile edition
- Prev by Date: OleDb connection string to Sql server mobile edition
- Next by Date: Parameters do not work after editing mobile database with SQL Server Management Studio
- Previous by thread: OleDb connection string to Sql server mobile edition
- Next by thread: Parameters do not work after editing mobile database with SQL Server Management Studio
- Index(es):
Relevant Pages
|
Loading