Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Database Connection Failed

82 views
Skip to first unread message

Chris Keating (iAnywhere Solutions)

unread,
Jul 17, 2003, 12:14:20 PM7/17/03
to
You likely need to get a supported release for ASA6 on WinXP. For XP, you
require ASA 6.0.04 Build 3763 or later. See
http://www.sybase.com/detail?id=1023009 and
http://www.ianywhere.com/developer/technotes/sqlany_winxp.html for specific
details.

--

Chris Keating
Sybase Adaptive Server Anywhere Professional Version 8
iAnywhere Solutions http://www.iAnywhere.com

** Please only post to the newsgroup

** Whitepapers can be found at http://www.iAnywhere.com/developer
** EBFs can be found at http://downloads.sybase.com/swx/sdmain.stm
** Use CaseXpress to report bugs http://casexpress.sybase.com

<Gerardo_Vazquez> wrote in message
news:0E4DB8468547124B0052EE3C85256D66.0052EE5985256D66@webforums...
I started a Adaptive Server Anywhere 6.0 database in a Windows XP
Professional Edition computer with this command:

dbsrv6 -n myserver C:\easdemodb.db

I saw the server start without problem

In other Windows XP Home Edition machine I have my apps in power builder
8.0 I try to connect to the database with this code:

SQLCA.DBMS = "ODBC"
SQLCA.AutoCommit = False
SQLCA.DBParm = "ConnectString='Driver=Adaptive Server Anywhere
6.0;uid=dba;pwd=sql;eng=myserver;dbn=easdemodb'"
CONNECT USING SQLCA;

When I try to start my apps, it takes about 4 minutes to start, but instead
the apps start the ODBC Administration Windows appears I click OK and the
next error appears:

Cannot Connect to Database sqlstate=08001
[Sybase][ODBC Driver][Adaptive server anywhere] Unable to connect to
database
server: specified database not found

When I start my apps in the machine which is running the database, i don´t
have error.

Any Idea?

In both machines are installed Adaptive server Anywhere 6.0, Is install
with the Power Builder's CD.

Thanks in Advance


Gerardo_Vazquez

unread,
Jul 18, 2003, 11:54:21 AM7/18/03
to
It works Fine!!!

Thanks Alot

0 new messages