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

Tip: Looking for answers? Try searching our database.

"sqlceca30.dll" sql mobile dll could not be loaded reinstall SQLMo

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Abdullah SEN - 04 Mar 2008 15:43 GMT
Hello,

I have an SQL 2005 server with Connectivitiy tools and Windows Mobile 2003
and 5.0 clients.

The solution has recently been migrated from SQL 2000 to 2005.

I have an error message when making transfer with the main SQL 2005 database.

Error message:
----------------------------------------------------------------------------------------------
"an sql mobile dll could not be loaded, reinstall SQL Mobile dll name
sqlceca30.dll"
----------------------------------------------------------------------------------------------

The following is my code: It does not get to MsgBox("2")
-----------------------------------------------------------------
       Dim RdaStr As String = "Provider=SQLOLEDB; Data Source=" + Server +
";Initial Catalog=" + DataBase + ";Integrated Security=SSPI"
       Dim rda As SqlCeRemoteDataAccess = Nothing
       Try
          MsgBox("1")            
          rda = New SqlCeRemoteDataAccess
          MsgBox("2")
       Catch ex As Exception
           MsgBox(ex.ToString)
           Application.Exit()
       End Try

       Try
           rda.InternetLogin = [String].Empty
           rda.InternetPassword = [String].Empty
           'rda.InternetUrl = "http://" + IP_no + "/ssce/sscesa20.dll"
           rda.InternetUrl = "http://" + IP_no + "/ssce3/sqlcesa30.dll"
           'rda.LocalConnectionString =
"Provider=Microsoft.SQLSERVER.OLEDB.CE.2.0;" & ConnectString
           rda.LocalConnectionString = ConnectString
       Catch ex As Exception
           MsgBox("Bağlantı hatası..")
           Application.Exit()
       End Try
-----------------------------------------------------------------------

Windows Mobile 5.0 clients work fine. The error message appears only on
Mobile 2003 clients.

sqlceca30.dll is there

The following are already installed
- sqlce30.ppc.wce4.armv4.CAB
- sqlce30.dev.ENU.ppc.wce4.armv4.CAB
- sqlce30.repl.ppc.wce4.armv4.CAB
- Compact Framework 2.0

when installed for the first time the database gets replicated with SQL 2005
and all changes are committed. After I exit the program and re-enter, this
error message comes up.

As I said before this is true for only Windows Mobile 2003 clients. Mobile
5.0 cliensts work fine.

I would be very pleased if you could help me. I googled and looked
everywhere but couln't find anything.

Regards,

Abdullah SEN
ErikEJ - 05 Mar 2008 16:54 GMT
Have a look at this blog post for troubleshhoting:
http://blogs.msdn.com/sqlservercompact/archive/2007/10/26/can-t-find-p-invoke-dl
l-sqlcemenn-dll.aspx


- make sure you are using .NET CF 2.0 SP2 and SQL Compact 3.1 DLL files.

Signature

Erik Ejlskov Jensen, Mobile App Dev MCTS
Check out my SQL Compact blog at
http://erikej.blogspot.com

> Hello,
>
[quoted text clipped - 65 lines]
>
> Abdullah SEN
Anıl Yigit - 06 Mar 2008 09:34 GMT
hi Erik,

we already have .net cf 2.0 sp2

system.Data.SqlServerCe
C:\Program Files\Microsoft SQL Server 2005 Mobile
Edition\Device\Mobile\v3.0\System.Data.SqlServerCe.dll

C:\Program
Files\Microsoft.NET\SDK\CompactFramework\v2.0\WindowsCE\wce400\armv4
NETCFv2.ppc.armv4.cab intalled to ppc

C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SQL
Server\Mobile\v3.0\wce400\armv4
sqlce30.dev.ENU.ppc.wce4.armv4.CAB
sqlce30.ppc.wce4.armv4.CAB
sqlce30.repl.ppc.wce4.armv4.CAB installed to ppc

i try use this it doesn't work too.
C:\Program Files\Microsoft SQL Server 2005 Mobile
Edition\Device\Mobile\v3.0\wce400\armv4
sqlce30.dev.ENU.ppc.wce4.armv4.CAB
sqlce30.ppc.wce4.armv4.CAB
sqlce30.repl.ppc.wce4.armv4.CAB installed to ppc

everything is ok for first run.
but i leave the program relogin
than that error occured ppc2000se devices.
windows mobile 5.0 device works fine.

best regards
Abdullah Sen
Anıl Yigit
ErikEJ - 06 Mar 2008 12:21 GMT
As stated in the blog entry, use SQL Compact 3.1 cab files, they can be
downloaded from here:
http://www.microsoft.com/downloads/details.aspx?familyid=E9AA3F8D-363D-49F3-AE89
-64E1D149E09B&displaylang=en


Signature

Erik Ejlskov Jensen - MCTS: Mobile App Dev

> hi Erik,
>
[quoted text clipped - 29 lines]
> Abdullah Sen
> Anıl Yigit
Anıl Yigit - 06 Mar 2008 15:27 GMT
Hi Erik,

i installed the SSCE31SDK-ENU.msi

C:\Program Files\Microsoft SQL Server Compact
Edition\v3.1\SDK\bin\wce400\armv4
sqlce30.dev.ENU.ppc.wce4.armv4.CAB
sqlce30.ppc.wce4.armv4.CAB
sqlce30.repl.ppc.wce4.armv4.CAB

it gives me same error (but not exactly the same)
a sql server compact edition DLL could not be loaded reinstall SQL server
compact edition [DLL Name = sqlcace.dll ]
best regards,

**************************************************************************************

> As stated in the blog entry, use SQL Compact 3.1 cab files, they can be
> downloaded from here:
[quoted text clipped - 33 lines]
> > Abdullah Sen
> > Anıl Yigit
Anıl Yigit - 07 Mar 2008 06:32 GMT
> Hi Erik,
>
[quoted text clipped - 50 lines]
> > > Abdullah Sen
> > > Anıl Yigit
Anıl Yigit - 10 Mar 2008 14:18 GMT
pls hlp

> > Hi Erik,
> >
[quoted text clipped - 50 lines]
> > > > Abdullah Sen
> > > > Anıl Yigit
 
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.