Re: random error occuring - cannot find dbnetlib.dll

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Paul,

I haven't encountered your specific problem, but I have had issues in the past when the error message indicated that it couldn't find a dll when in fact there just wasn't enough memory to load it. I was able to work around the issue by making sure those dlls were loaded early in my app's execution by referencing a type that required them.

--
Ginny


"Milsnips" <milsnips@xxxxxxxxxxx> wrote in message news:eYQg2HLYHHA.5044@xxxxxxxxxxxxxxxxxxxxxxx
Hi there,

i have a random error that occurs when trying to connect to a remote database, i think on initialization of the SQLConnection object via my device, it randomly returns the error "cannot find "dbnetlib.bll", i cant quite replicate when it occurs but my solution is to soft reset the device (iMate JAMin) and wait 1-2mins for it to reboot which is a pain.

I have everything installed the latest version (sql server 2005 compact edition: following cab files):

1. sql.dev.ENU.ppc.wce5.armv4i.CAB
2. sql.ppc.wce5.armv4i.CAB
3. sqlce30.dev.ENU.ppc.wce5.armv4i.CAB
4. sqlce30.ppc.wce5.armv4i.CAB
5. sqlce30.repl.ppc.wce5.armv4i.CAB

I think that i could say i never had this problem until i put on the new version of sql server compact edition 2005 files, so im wondering if this may be some bug somewhere?

Any help appreciated,
thanks,
Paul



.



Relevant Pages

  • Re: random error occuring - cannot find dbnetlib.dll
    ... Ok, i reference SQLConnection in 2 places, so i'll create the object at the beginning of the app, then just open it and close it where needed. ... i have a random error that occurs when trying to connect to a remote database, i think on initialization of the SQLConnection object via my device, it randomly returns the error "cannot find "dbnetlib.bll", i cant quite replicate when it occurs but my solution is to soft reset the device and wait 1-2mins for it to reboot which is a pain. ... I think that i could say i never had this problem until i put on the new version of sql server compact edition 2005 files, so im wondering if this may be some bug somewhere? ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: SQL 2K5 Custom Resolver (Business Logic Handler)
    ... Looking for a SQL Server replication book? ... register the dll in order to get the resolver to work. ... The Custom Resolver Component for article 'job' does not have a valid ...
    (microsoft.public.sqlserver.replication)
  • Re: Error 22272: Cannot load the DLL xpstar.dll...
    ... I would look for MSVCR71.DLL in SYSTEM32. ... I believe that if an entire DLL was missing, ... Reinstall the SQL Server tools? ...
    (comp.databases.ms-sqlserver)
  • Re: getting process info for processes started by the Service Control Manager
    ... > I have written an extended stored procedure that need to know ... > GetStartupInfo when the dll was loaded by the parent process (SQL Server). ... The problem arises when the SQL Server instance is started ...
    (microsoft.public.win32.programmer.kernel)
  • dll copy question
    ... I have a program that references a DLL. ... Microsoft Visual Studio Tools for Office 77633-163-9000041-41865 ... Microsoft SQL Server Analysis Services Designer ... Microsoft SQL Server Integration Services Designer ...
    (microsoft.public.vsnet.general)