Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / DB Engine / SQL Server CE / December 2007

Tip: Looking for answers? Try searching our database.

Sql ce 3.5 OleDB Driver

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jonas Pedersen - 10 Dec 2007 10:03 GMT
My main application is written in a language called Gupta team developer.
I need to be able to communicate with a sql ce 3.5 database.

However there is some strage things with the OleDB driver.

It is no problem establishing the connection to the database, but when ever
I try to bind variables in Sql Statements  I get a Sql
Exception
-2147217891
Requested conversion is not supported. [,,,,,].

Here is my connection string:
Provider=Microsoft.SQLSERVER.CE.OLEDB.3.5;Data Source=tm_mobile.sdf;

The exact same code works fantastic with the MSDE 2000 and sqloledb.dll

Any help are apreciated.

Jonas
João Paulo Figueira - 11 Dec 2007 21:46 GMT
SQL CE 3.5 uses a subset of the SQL Server data types. What data types are
you trying to bind to?

João Paulo Figueira
DAD MVP

> My main application is written in a language called Gupta team developer.
> I need to be able to communicate with a sql ce 3.5 database.
[quoted text clipped - 16 lines]
>
> Jonas
Jonas Pedersen - 13 Dec 2007 09:15 GMT
Any datatype will cause this problem.
Tried with one integer only and one String to varchar.

Jonas
> SQL CE 3.5 uses a subset of the SQL Server data types. What data types are
> you trying to bind to?
[quoted text clipped - 22 lines]
>>
>> Jonas
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.