🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #3996

Problems using TADOConnection

#3996
From: Arun Kumar
Date: Wed, 08 May 2002 14:11
22 lines
2015 bytes
Hi,
I am having problems using TADOConnection objects in my application.I have a form having a ADOConnection object.Several DataSets use this connection
object.In my application at run time when I select a different database to connect to, I close the ADOConnection, change the connectionString with
information about the new database and set the ADOConnection's connected  property to true.This sometimes connects to the new data base
and sometimes fails.I get the following error.

General SQL Error: [Sybase][ODBC Driver][Adaptive Server Anywhere] unable to connect to database server.Database server not Running.

BDE Error: 13059.

I am using Sybase SQL Anywhere ver 6.0.3 and Borland C++ Builder Professional with ADOExpress.

Another observation is that I am not able to make 3-4 connections to different databases using Borland Database Explorer or
Sybase central.I have about 3 different sybase SQL servers running on my network.I end up getting the above error message
when I am connection to the 3rd or the 4th database.Is there any limit on the number of simoultaneous connections that can
be held .If so how is this configurable.

Any help is welcome.

Thanks,
Arun kumar.
Technical Details
Message-ID: <3cd93208$1_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,10d2ed12a7b1b49,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-05-08 07:33:11 PST
From: "Arun Kumar" <arooncoomar@yahoo.co.in>
Sender: "Arun Kumar" <arooncoomar@yahoo.co.in>
Reply-To: "Arun Kumar" <arooncoomar@yahoo.co.in>
Subject: Problems using TADOConnection
Newsgroups: borland.public.cppbuilder.database.ado
X-User-Info: 164.164.101.254 164.164.101.254    
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3cd93208$1_1@dnews>
Date: 8 May 2002 07:11:20 -0700
X-Trace: dnews 1020867080 207.105.83.65 (8 May 2002 07:11:20 -0700)
Lines: 22
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews