Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

ODBC error while using a RAS connection

ODBC error while using a RAS connection

ODBC error while using a RAS connection

My company is in the process or writing a VB 6 app which is accessing an existing Sybase SQL Anywhere 5.0 database. I need the app to be able to connect up via the modem to update remote users. The app works just fine as long as I am phyically connected to the network, but if I RAS in I am able to browse the network with no problems. The problem is that when I try to connect to the database I get the following error.

[Sybase][ODBC]Unable to connect to database server: unable to start specified database

I have extended the time out to 2 minutes thinking that the modem is not returning the results fast enough, but that does nothing. I am using version 5.0 ODBC drivers and connecting up using ADO. I beleive my connection process is correct seeing as it works when I am connect directly to the network. Any thoughts?
Thanks for any help with this matter.

RE: ODBC error while using a RAS connection

Run your SQL Anywhere executable with only the -v
option, pipe the results into a text file and
post it here along with the exact subversions of ODBC
and VB6.

I suspect a version incompatibility and if you
let me have this info I should be able to tell.

Regards, Brian

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close