ADOnet and Sybase

N

Niraj

I am using ADO to access data on a Sybase server. Everything works fine
until I quit my application where I try to close Ado connection and my
application hangs. I found that Connection.Close() method does not returns.
Any idea why? Is it a bug with Sybase Ole db provider?
Thanks.
 
F

Frans Bouma [C# MVP]

Niraj said:
I am using ADO to access data on a Sybase server. Everything works
fine until I quit my application where I try to close Ado connection
and my application hangs. I found that Connection.Close() method does
not returns. Any idea why? Is it a bug with Sybase Ole db provider?
Thanks.

Have you tried their ado.net providers for ASA or ASE ?

FB

--
------------------------------------------------------------------------
Lead developer of LLBLGen Pro, the productive O/R mapper for .NET
LLBLGen Pro website: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
 
M

Mark Rae

Have you tried their ado.net providers for ASA or ASE ?

Yes indeed. There's no need to use OleDb (or, even worse, ODBC) when
perfectly good native .NET providers exist.
 
R

Rad [Visual C# MVP]

Niraj said:
I am using ADO to access data on a Sybase server. Everything works fine
until I quit my application where I try to close Ado connection and my
application hangs. I found that Connection.Close() method does not returns.
Any idea why? Is it a bug with Sybase Ole db provider?
Thanks.
There's a great ASP.NET provider that you can make use of. If you're
using Sybase 10 make sure you keep an eye on the EBF (emergency bug
fixes). They release one fairly regularly, the last one being on the 28th
 
R

Rad [Visual C# MVP]

There's a great ASP.NET provider that you can make use of. If you're
using Sybase 10 make sure you keep an eye on the EBF (emergency bug
fixes). They release one fairly regularly, the last one being on the 28th

ADO.NET I mean! :)
 

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