creating sdf-files with delphi
Posted: Fri 23 May 2008 07:41
I just posted a topic yesterday but perhaps forgot to enter a subject - I can't find my topic.
Well, I programmed an application for mobile-devices using SQL mobile that creates sdf-databases. Know I want to create this databases with delphi and tried to to this with TMSCompactConnection (first installing SQL Compact Edition). When I will connect to the database I get an error "OLE DB error occured. Code 8007007Eh".
Questions: is it correct that I have to install the SQL compact edition to access the sdf-database even if I have SQL Express Edition installed? And 2nd what could this error mean? (after installation of compact edition I have only a file C:\Program Files\Microsoft SQL Server Compact Edition\v3.5\Desktop\System.Data.SqlServerCe.dll. Is that all I need?). BTW: I use Vista Business as OS.
Thanks for your answer, Peter
Well, I programmed an application for mobile-devices using SQL mobile that creates sdf-databases. Know I want to create this databases with delphi and tried to to this with TMSCompactConnection (first installing SQL Compact Edition). When I will connect to the database I get an error "OLE DB error occured. Code 8007007Eh".
Questions: is it correct that I have to install the SQL compact edition to access the sdf-database even if I have SQL Express Edition installed? And 2nd what could this error mean? (after installation of compact edition I have only a file C:\Program Files\Microsoft SQL Server Compact Edition\v3.5\Desktop\System.Data.SqlServerCe.dll. Is that all I need?). BTW: I use Vista Business as OS.
Thanks for your answer, Peter