Re: Can't find PInvoke DLL 'sqlceme30.dll' (VS2005/SQLMobile)
- From: "Laxmi Narsimha Rao ORUGANTI \(MSFT\)" <laxminro@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 8 Nov 2005 19:38:22 +0530
Hi Mika,
We are really very sorry for not able to solve your problem soon.
Can you please check for CLSID entries for sqlceoledb30.dll and
sqlceca30.dll in the Device Registry (using Remote Registry Editor from
Visual Studio).
Thanks,
--
Laxmi NRO, SQL Mobile, Microsoft Design Engineer
This posting is provided "AS IS" with no warranties, and confers no rights.
"Mika Laaksonen" <MikaLaaksonen@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C8CF57D4-A3B1-4EEE-AB75-AA30DE6F583E@xxxxxxxxxxxxxxxx
> First, I have not executed anything on desktop, everthing I mentioned is
> executed on a WinCE 5.0 device.
> Where can I find namespace System.Data.SqlServerCe if not from Visual
> Studio
> 8\SmartDevices\SDK\SQL Server\Mobile\v3.0?
>
> Here's a summary of my SQL Mobile on Windows CE 5.0 device (armv4i) with
> VS2005 RC problems
>
> 1) Query Analyser
> I restart my Win CE 5.0 device, download
> \Microsoft Visual Studio
> 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\wce500\armv4i
> - NETCFv2.wce5.armv4i.cab
> \Microsoft Visual Studio 8\SmartDevices\SDK\SQL
> Server\Mobile\v3.0\wce500\armv4i
> - sqlce30.wce5.armv4i.CAB
> - sqlce30.repl.wce5.armv4i.CAB
> - sqlce30.dev.ENU.wce5.armv4i.CAB
> to my Win CE 5.0 device under \Windows. Install CABs. Executes Query
> Analyser (which is reached from Start menu).
> I try to create a new database but it fails. It says "Failed to initialize
> the provider. Please make sure that SQL Server Mobile Edition is properly
> installed"
>
> 2) Managed Code
> (tutorial "Creating a Mobile Application with SQL Server Mobile" in "SQL
> Server 2005 Mobile Edition Books Online")
> I restart my Win CE 5.0 device
> I using the namespace System.Data.SqlServerCe (Version: 3.0.3600.0,
> Runtime
> version: v2.0.50727)
> (C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SQL
> Server\Mobile\v3.0\System.Data.SqlServerCe.dll)
> The managed application automatically installs CF2.0 and SQLMobile in my
> device the first time i deploy appl.
> But when I execute the application on device I get "Can't find PInvoke DLL
> 'sqlceme30.dll'"
>
> 3) OleDB (NorthWind)
> I restart my Win CE 5.0 device, manually download and install CF2.0 and
> SQLMobile CABs,see 1).
> Execute northwind example
> "
> #include <ssceoledb30.h>
> #include <ssceerr30.h>
>
> hr = CoInitializeEx(NULL, COINIT_MULTITHREADED);
>
> hr = CoCreateInstance(CLSID_SQLSERVERCE_3_0, 0, CLSCTX_INPROC_SERVER,
> IID_IDBInitialize, (void**)&pIDBInitialize);
> "
> Error, CoCreateInstance returns REGDB_E_CLASSNOTREG
> João Paulo Figueira told me to register sqlceca30.dll and
> sqlceoledb30.dll, but neither regsvrce.exe or
> LoadLibrary(L"sqlceca30.dll")
> on WinCE 5.0 worked...
>
> /Mika
.
- Follow-Ups:
- Re: Can't find PInvoke DLL 'sqlceme30.dll' (VS2005/SQLMobile)
- From: Mika Laaksonen
- Re: Can't find PInvoke DLL 'sqlceme30.dll' (VS2005/SQLMobile)
- From: Mika Laaksonen
- Re: Can't find PInvoke DLL 'sqlceme30.dll' (VS2005/SQLMobile)
- Prev by Date: Re: Speed Question ( ADOCE, OLEDB, ADOCE.NET, SQL Server CE 2.0, SQL Server CE 3.0)
- Next by Date: Re: Mobile Server Tools
- Previous by thread: Re: Speed Question ( ADOCE, OLEDB, ADOCE.NET, SQL Server CE 2.0, SQL Server CE 3.0)
- Next by thread: Re: Can't find PInvoke DLL 'sqlceme30.dll' (VS2005/SQLMobile)
- Index(es):
Relevant Pages
|