EL 5.0, Sybase, Generic database

Topics: Data Access Application Block
Nov 11, 2010 at 8:51 PM

I want to use the GenericDatabase class in DAAB to access a Sybase database. What I have is this:

connectString =

@"Provider=Sybase.Data.AseClient;server=rtoc-server; Port=4100; database=oma_db; UID=xxx; PWD=xxx!";

m_Database = new GenericDatabase(connectionString, OleDbFactory.Instance);
m_Connection = m_Database.CreateConnection();

On the Open() call, I get the error:
"The Sybase.Data.AseClient provider is not registered on the local machine"

Does anybody have any idea how to resolve this issue?

Nov 12, 2010 at 7:21 AM


Personally, I'm not very familiar with using Sybase in DAAB. Though, upon looking for any related article/post from other forum, I have read from this thread http://us.generation-nt.com/answer/issues-connecting-net-sybase-ase-12-help-48463322.html, it seems that the sybase installation is corrupted and the issue has been resolved by reinstalling it.

For any other related entlib - sybase post. Here are some that hope may somehow help.




Gino Terrado
Global Technologies and Solutions
Avanade, Inc.