Solved

db connection problem with sqladvantage, but not with isql

Posted on 2008-06-19
6
1,082 Views
Last Modified: 2008-09-17
I'm trying to use another sql editor (besides C:\sqlany50\win32\isql.exe) to run queries.  With this isql, I connect perfectly (the db is in another server).
For some reason, when I try to connect with sqladvantage (or any other sql editor), I receive the following error.
I know the error has something to do with the configuration (a wrong path somewhere), but I don't know what it could be, or what I would need to look for.
The sqladv.exe I want to use is in "C:\SYBASE\BIN". There is another isql.exe in "C:\SYBASE\BIN" and that generates an exception error.

Here's the error that I get when I try to connect through "C:\SYBASE\BIN\sqladv.exe" :
 "ct_connect(): network packet layer: internal net library error: Net-Lib protocol driver call to connect two endpoints failed"

Any help is appreciated.
0
Comment
Question by:MyersA
6 Comments
 
LVL 13

Expert Comment

by:alpmoon
Comment Utility
Sorry, but your quetion is really confusing. As much as I see you can connect to your database by using SQL Anywhere isql. So most probably it is a SQL Anywhere database, not ASE. As much as I know you can't use SQL Advantage to connect to a SQL Anywhere db. Actually if db version is 5, it is a really old product and they are not compatible.

In short you must clarify what database are you trying to connect. If it is a ASE db, your question is relevant. Otherwise you are trying to use incompible products.
0
 
LVL 2

Author Comment

by:MyersA
Comment Utility
Sorry about that.

Our database is running in Sybase SQL Anywhere v5.5, and I'm using a very limited C:\sqlany50\win32\isql.exe to run all my scripts.

Basically, I would like to use another query editor, preferably free. I've downloaded two, but apparently they're only compatible with Sybase ASE since I get the above-mentioned error.

What would you recommend?


Thanks.
0
 
LVL 24

Accepted Solution

by:
Joe Woodhouse earned 38 total points
Comment Utility
SQL Anywhere, even one as old as that, should still have shipped with a free GUI version of isql called dbisql. Although it's been a while since I used 5.x so maybe I'm thinking of later versions.

Basically your problem here is that SA is setup to expect ODBC connections whereas the other ASE client tools you're using are expecting a native Sybase Open Client layer to exist. I'm not sure you can even get in to SA 5.5 with Open Client.

But anything that's happy with ODBC should be fine for you. There aren't many free tools that I know of that fit the bill though.
0
 
LVL 1

Assisted Solution

by:jsteenkist
jsteenkist earned 37 total points
Comment Utility
you should call sybase.bat (located in \sybase\ before starting anything else.
this will probably fix it.

gr.
jan.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
A procedure for exporting installed hotfix details of remote computers using powershell
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now