Re: Sql SP1: Failed to initialize the provider



Did you try your test program of co-creating SQL CE OLEDB CLSID and it fails
even now?

If it fails even with fresh intall, then can you let us know the contents of
the following registry hives (including subkeys and values):
1) HKLM\Software\Microsoft\Microsoft SQL Server Compact Edition\v3.5
2) HKCU\CLSID\{F49C559D-E9E5-467C-8C18-3326AAE4EBCC}

Thanks,
Laxmi

"Cloud Strife" <C_strife@xxxxxxxxxx> wrote in message
news:IUyMk.456$8%.225@xxxxxxxxxxxxxxxxxxxxxxxx
Laxmi Narsimha Rao Oruganti ha scritto:
1) Now we know that our OLEDB provider is ont registered
2) Can you hard reset (not soft reset) device and do a fresh install?
Please be aware of what you lose with hard reset
3) Check you have sqlceoldb35.dll installed under \Program
Files\Microsoft SQL Server Compact Edition\v3.5\
4) Try to register this DLL using CE version of regsvr32 OR try to create
those registry keys yourself. I know this sounds like stupid solution,
but I just dont have an idea why a CAB installation succeeds where as
"Register DLL" action as part of CAB Setup is ignored.
5) It may be that sqlceoldb35.dll failed to load when CAB called register
action on this COM DLL. Why a DLL can fail to load could be because the
image might not have OLE related DLLs.
Please see this blog article.:
http://blogs.msdn.com/sqlservercompact/archive/2007/10/26/troubleshooting-can-t-load-sqlce-dll.aspx

Let me know your findings

Thanks,
Laxmi


Hi Laxmi,
ok, I've tried your way and performed a fresh install.

Then I wanted to manually register the sqlceoledb35.dll (using gbregsrv, a
regsvr32 clone for Windows CE found on the wed) but it gives me an error
(Error 193).

I checked DLL dependecies and on my Windows CE I have both ole32.dll and
oleauto32.dll. Furthermore I also have >16MB of free memory (it should be
enough, right?).

Do you have some other ideas?

Thanks,


.



Relevant Pages

  • Re: Deployment problem
    ... Installer fails to register almost all the CR dll files in win98, ... registers all the files automatically and only reports when it fails to do. ...
    (microsoft.public.vb.crystal)
  • CeCreateProcess failing inconsistantly
    ... dll to register. ... It fails so frequently yet unexpectly, ... but i would think a 1 second sleep would always be sufficient and I ...
    (microsoft.public.pocketpc.developer)
  • REGEDIT / REGSVR32
    ... use regsvr32 to register a dll it fails for Standard Users? ... PRO Consulting Services, Inc. ...
    (microsoft.public.windows.group_policy)
  • RE: Registering a custom DLL after deployment - advice?
    ... Register property to vsdraCOM - and leave the output as content ... I added the dll and the tlb and set the build action to ... publishing and invoke the .bat file. ... The custom dll is for the Access ADP. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Self registering a COM dll in a VS2003 Windows setup project...
    ... Most of the Register settings extract the settings at build time and put the ... at install time. ... code in that DLL is doing something that isn't being put into the MSI file. ... I have not been able to make a customized Redemption dll ...
    (microsoft.public.dotnet.framework.setup)

Loading