PC Review


Reply
Thread Tools Rate Thread

random error occuring - cannot find dbnetlib.dll

 
 
Milsnips
Guest
Posts: n/a
 
      7th Mar 2007
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


 
Reply With Quote
 
 
 
 
Ginny Caughey [MVP]
Guest
Posts: n/a
 
      7th Mar 2007
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>
>


 
Reply With Quote
 
Milsnips
Guest
Posts: n/a
 
      7th Mar 2007
Hi Ginny,

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 dont think memory is a problem, as i have nothing else installed on the
PDA except for NETCF2.0, sql files, and my app which is in total 1MB inc.
database SDF file.

regards,
Paul.

"Ginny Caughey [MVP]" <(E-Mail Removed)> wrote in message
news:83576673-92FD-4E09-B95C-(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> 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
>>
>>

>



 
Reply With Quote
 
Ginny Caughey [MVP]
Guest
Posts: n/a
 
      7th Mar 2007
Paul,

Please let me know if this helps. I'm interested in this issue.

--
Ginny


"Milsnips" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hi Ginny,
>
> 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 dont think memory is a problem, as i have nothing else installed on the
> PDA except for NETCF2.0, sql files, and my app which is in total 1MB inc.
> database SDF file.
>
> regards,
> Paul.
>
> "Ginny Caughey [MVP]" <(E-Mail Removed)> wrote in
> message news:83576673-92FD-4E09-B95C-(E-Mail Removed)...
>> 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" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> 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
>>>
>>>

>>

>
>


 
Reply With Quote
 
Ilya Tumanov [MS]
Guest
Posts: n/a
 
      7th Mar 2007
It does not matter if you have something installed or not as it's virtual
memory which gets low, not storage memory.


--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/...ramework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

"Milsnips" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hi Ginny,
>
> 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 dont think memory is a problem, as i have nothing else installed on the
> PDA except for NETCF2.0, sql files, and my app which is in total 1MB inc.
> database SDF file.
>
> regards,
> Paul.
>
> "Ginny Caughey [MVP]" <(E-Mail Removed)> wrote in
> message news:83576673-92FD-4E09-B95C-(E-Mail Removed)...
>> 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" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> 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
>>>
>>>

>>

>
>



 
Reply With Quote
 
Milsnips
Guest
Posts: n/a
 
      7th Mar 2007
Ok, i'll give it a try and re-code the connection to just initialize at the
start of my application, then open/close the connection as needed later on,
to see if the problem still occurs.

thanks,
Paul.

"Ilya Tumanov [MS]" <(E-Mail Removed)> wrote in message
news:45ef1da5$(E-Mail Removed)...
> It does not matter if you have something installed or not as it's virtual
> memory which gets low, not storage memory.
>
>
> --
> Best regards,
>
> Ilya
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> *** Want to find answers instantly? Here's how... ***
>
> 1. Go to
> http://groups-beta.google.com/group/...ramework?hl=en
> 2. Type your question in the text box near "Search this group" button.
> 3. Hit "Search this group" button.
> 4. Read answer(s).
>
> "Milsnips" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> Hi Ginny,
>>
>> 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 dont think memory is a problem, as i have nothing else installed on the
>> PDA except for NETCF2.0, sql files, and my app which is in total 1MB inc.
>> database SDF file.
>>
>> regards,
>> Paul.
>>
>> "Ginny Caughey [MVP]" <(E-Mail Removed)> wrote in
>> message news:83576673-92FD-4E09-B95C-(E-Mail Removed)...
>>> 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" <(E-Mail Removed)> wrote in message
>>> news:(E-Mail Removed)...
>>>> 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
>>>>
>>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Random Sound occuring vizslaman Windows XP General 3 26th Jan 2009 05:41 PM
VBA code for calculating friday occuring prior to a random datespecified enpaksh@gmail.com Microsoft Access VBA Modules 3 30th Nov 2007 04:14 PM
Cannot find dbnetlib.dll Marco Minerva Microsoft Dot NET Compact Framework 1 26th Jul 2007 10:31 PM
Strange reboots occuring at random intervals =?Utf-8?B?TmFnZW5kcmE=?= Windows XP General 4 2nd Jul 2007 06:22 AM
Can't find PInvoke DLL 'dbnetlib.dll' Catalin Lungu Microsoft Dot NET Compact Framework 1 22nd Nov 2006 10:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:56 PM.