Accessign Local Sql Ce with a Local Wcf Service
I am using Sync Framewo开发者_Go百科rk in SL App to sync Sql Server and local SqlCe DB.
Having problem in connecting to Sqlce. Getting an Exception here
new SqlCeConnection("http://localhost/Sample.sdf");
Error:
ArgumentException was unhandled by user code. The connection object is not valid. Cannot create a new instance of the connection object."Thanks
You must use a local file path, not an http path for the data source
精彩评论