Increase Max Pool Size ERROR when using SYBASE ASE ADO.NET data provider

Posted by Brani on Stack Overflow See other posts from Stack Overflow or by Brani
Published on 2010-06-18T13:19:03Z Indexed on 2010/06/18 13:23 UTC
Read the original article Hit count: 2669

Filed under:
|
|
|
|

I have made a program in VB.net (visual studio 2003) that connects to a SYBASE ASE database using the ADO.NET data provider. Recently, after a hard disk failure, I restored the program's code from a (rather old) backup. But now the connection fails with a message that does not remind me of anything that I have seen before. Here is the code and the error message:

Dim cn As New AseConnection("Data Source='my_server';Port='5000';UID='sa';PWD='my_pwd';Database='my_db';") 

cn.Open()

Error message:

Sybase.Data.AseClient.AseException - Cannot allocate more connections. Connection pool is at maximum. Increase Max Pool Size

Can anybody help me?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about vb.net