Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to connect to database server - Error!!!

Status
Not open for further replies.

kaul125

Programmer
Jan 29, 2002
87
0
0
US
When I try to run my application from within PowerBuilder or even after I build the application(pbd's) the following happens:

A dialog box appears with :Connect to SQL Anywhere(title) and User Id: and Password: fields already filled in. It has an "OK" and "Cancel" button. When I click the "OK" button, I get the following Database error:

Cannot Connect to Database
SQLSTATE=08001
[sybase][odbc driver]Unable to connect to database server: unable to start specified database.

Why does the first dialog box appear? This did not happen before and I'm wondering what change to cause this.

Also, why do I get the second error - SQLSTATE=08001 ? How can I fix this.

The above situation occurs also within PowerBuilder when I click on the Database Administration button on the toolbar.

I'm using PB 6.5 and SQL Anywhere 5.

Your help on this issue is greatly appreciated.

Keith
 
Kaul... Did you ever find a solution to this problem? If so could you point me in the direction of that said solution?
 
In the application properties, specify the driver settings as "SQL_NO_PROMPT"

I guess this shd work
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top