Re: Can't find PInvoke DLL 'sqlceme30.dll' (VS2005/SQLMobile)



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


.



Relevant Pages

  • Re: How to make application work on Symbol MC3000?
    ... You can't say that, because an eVC program ... there's something wrong with Visual Studio or the .NET CF. ... install of Visual Studio or the SDK. ... For simple applications you don't need any Symbol SDK at all. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Visual Web Developer/VStudio.Net
    ... I now prefer to, simply, add a clean drive partition, install betas there, ... "Visual Studio file extensions are unregistered ... Although it's not mentioned that uninstalling VWD will affect ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: system drive change?
    ... and do a new install having sorted out the hardware. ... Enquire, plan and execute ... and I may have to uninstall and reinstall the thing tomorrow. ... What McAfee product was or is installed? ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Trojan Horse
    ... NewCrapNet is not classified as a virus, ... > Download and install Ad-aware SE ... > signature files and install them before performing the scan. ... > Execute; CLEAN.EXE ...
    (microsoft.public.windowsupdate)
  • Re: ASP.NET and AJAX: JavaScript files from the Microsoft AJAX Library
    ... That will not work for me, because the machine that Visual Studio 2005 is ... Microsoft AJAX Library (See "To install Microsoft AJAX Library" at the ... instructions said to "Copy the JavaScript files to the Web site", ... Because the page gives a script error saying 'Sys' is undefined, ...
    (microsoft.public.dotnet.framework.aspnet)

Quantcast