Cannot find dbnetlib.dll

M

Marco Minerva

Hi all!

I have a very strange problem with .NET Compact Framework 2.0 SP2. I have
created a C# application that connects to a remote SQL Server database. If I
try it in debug mode, everything works well. However, If I start the program
directly from the device, when it should execute the SqlConnection.Open
method, I obtain a MissingMethodException, saying that it is impossible to
find the file DBNETLIB.DLL.

Could someone help me solving this problem?

Thanks in advance.
 
I

Ilya Tumanov [MS]

Make sure to install SQL Client on to your device. It's not the part of
NETCF and needs to be installer separately.


--
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/microsoft.public.dotnet.framework.compactframework?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).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top