DAAB without registering DB driver

Topics: Data Access Application Block
Nov 19, 2009 at 9:03 AM

Hello,

I'm using the DAAB to connect to a Sybase DB with OLEDB provider, my connectionstring looks like that

<add name="ASE_PROD" connectionString="Provider=Sybase.ASEOLEDBProvider.2;Server Name=ServeurName.smt.cm.net;Server Port Address=1050;Initial Catalog=FMTB;User ID=APP_APPLI;Password=test;Application Name=Name;" providerName="System.Data.OleDb" />

and the OLEDB driver is registered on the local machine. But I need to deploy my application on computers which don't have the oledb provider registered. Is there a way to tell DAAB to use a driver embedded in the solution ?

Thank you.

Laurent

Nov 20, 2009 at 6:57 AM
Edited Nov 20, 2009 at 6:59 AM

Hi,

I'm not sure what do you mean by embedded in the solution, do you mean you have the oledb dll will be deployed together with your binaries? Do you use a custom provider? just like in these posts:

http://entlib.codeplex.com/Thread/View.aspx?ThreadId=51064

http://entlib.codeplex.com/Thread/View.aspx?ThreadId=75568

Valiant Dudan
Global Technology and Solutions
Avanade, Inc.
entlib.support@avanade.com