Where is the dll?

G

Guest

If I create a .udl on my desktop and configure that file to connect to the
databases, test it and it connects just fine, How can I find the name of the
".dll" which is being used for this connection?

I connect just fine using the .udl file, copy that connection string from
the .udl into my program in VS2005, but when I go to run, I get an error
message indicating the drivers are not registered.

Thanks in advance for your assistance!!
 
W

William \(Bill\) Vaughn

Let's hear a bit more about how you're trying to connect. Since you're using
a UDL we know it's not SqlClient but probably OLE DB or ODBC. These are
"provider-dependent" interfaces that require that the interface be exposed
(the Framework does that) but also that the driver be present and
registered--that's up to you. This is not necessary with a Framework DAI
like SqlClient.

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
Visit www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
Between now and Nov. 6th 2006 you can sign up for a substantial discount.
Look for the "Early Bird" discount checkbox on the registration form...
 
G

Guest

I trying to use the IBM DB2 drivers to connect to DB2 on the mainframe.
VS2005 tells me my dll is not registered, so I am trying to figure out what
dll is used for when I connect to DB2 using the .udl so that I can register
this dll for VS.
 

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

Similar Threads


Top