January 4, 2007 at 2:11 am
Has anyone tried to use the new SQL Server Compact version?
I am considering using this in a new project, but during my testing I run into the weirdest errors.
I don't want to use the specialized SqlCeConnection,but OleDbConnection so the application supports any database (theoretically).
I cannot get it to work with datasets though. In my small testapp, I can create tables, insert data and get data with raw sql sentences and OleDbCommands. But when I try to use a Dataset with DataAdapters, then I receive weird errors like:
System.Data.OleDb.OleDbException was caught
Message="The given type name was unrecognized. [,,,,,]"
Source="Microsoft SQL Server 2005 Everywhere Edition OLE DB Provider"
ErrorCode=-2147217872
"Multi-step OleDb operation generated errors. Check each OLE DB status value, if available. No work was done."
Everything works perfectly with Access and SQL Server.
February 12, 2007 at 10:14 am
Can you post some code, particularly your connection string.
Tim Mitchell
TimMitchell.net | @tmitch.net | Tyleris.com
ETL Best Practices
February 13, 2007 at 1:21 am
Not necessary, I scrapped it.
I got a reply on the MSDN forums, and it seems like the OleDb Provider for SQL Compact only implments a forward only cursor, so using it with Datasets are out of the question...
April 4, 2007 at 6:49 am
Hi William,
Are you currently working in SQL CE...
R,
Bose.
April 4, 2007 at 7:09 am
Hello,
No, it didn't suit my needs, so I decided to go for another solution.
I did, however, look into it, so if you have any questions maybe I can help. If not I am sure someone else here or at another forum might be able to
Br
William
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy