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 / April 2008

Tip: Looking for answers? Try searching our database.

can't find pinvoke dll 'sqlceme30.dll'

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kev Westwood - 25 Mar 2008 10:33 GMT
I am having trouble with SQL Server Compact Edition 3.1 on windows CE 5 on a
PAXAR Monach Pathfinder Ultra 6039 device.

After I have installed it and then try and do this :

Dim CeEngine As SqlCeEngine
Dim ConnString As String = "\mydatabase.sdf"
CeEngine = New SqlCeEngine("Data Source = " & ConnString)   <-- error is
thrown on this line!
CeEngine.CreateDatabase()

I get the following error :

can't find pinvoke dll 'sqlceme30.dll'

Running the same code on another windows ce 5 device works fine.

I have manually installed the following cab files into the default
installation directory i.e \windows :

sqlce30.wce5.armv4i.CAB
sqlce30.repl.wce5.armv4i.CAB
sqlce30.dev.ENU.wce5.armv4i.CAB

These install without a problem and are listed in the add/remove programs.

I have noticed a couple of other things.

When i run query analyser on the device and create a database i get "Failed
to initialize the provider.  Please make sure that SQL Server Compact
Edition is properly installed."

When i do all the above on another device (symbol 3090) running windows ce 5
it works fine.

Any ideas?

Thanks
Kevin
Rauken - 28 Mar 2008 14:23 GMT
I had the exact same problem.  First I installed the cab files from a temp
folder and got the same error. After some research I found out that they must
be installed from the Windows folder but that didn't seem to work for you?
What version of .net cf do you have installed?

> I am having trouble with SQL Server Compact Edition 3.1 on windows CE 5 on a
> PAXAR Monach Pathfinder Ultra 6039 device.
[quoted text clipped - 35 lines]
> Thanks
> Kevin
Kev Westwood - 01 Apr 2008 15:01 GMT
Thanks for replying Rauken

I found an article that suggested that the platform image had a currupt or
incomplete ole32.dll (which sql server ce has a dependancy on).  I got in
touch with Paxar who sent me their latest platform image and that sorted the
problem.

>I had the exact same problem.  First I installed the cab files from a temp
> folder and got the same error. After some research I found out that they
[quoted text clipped - 45 lines]
>> Thanks
>> Kevin
rdouazeci@gmail.com - 15 Apr 2008 09:31 GMT
please tell how can i get the last platform image, because I am
experiencing the same problem on eBox 4300
 
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.