?
Solved

Sybase client not recognising PATH on windows

Posted on 2006-05-15
5
Medium Priority
?
3,872 Views
Last Modified: 2012-08-13
I conenct to a remote server (Win2K). And I am trying to use a GUI sybase client (RapidSQL) to connect to the ASE server. The open client library is installed in C:\Sybase.

I do not have permission to write in that directory. So to use my own sql.ini file, I changed the SYBASE environment variable to D:\Sybase (which I have the permission to write). I kept my own sql.ini file in D:\Sybase\ini directory. But I kept the PATH as "C:\Sybase\dll;%PATH%;" and Lib as "C:\Sybase\Lib;%LIB%;". The problem is the client recognises the sql.ini file. But gives an error like "Can not load open client library. please check that libct.dll and libcs.dll exists in Path...". They do exist in C:\Sybase\lib.

What could be the issue?

TIA
0
Comment
Question by:tknayak
  • 4
5 Comments
 
LVL 6

Expert Comment

by:ChrisKing
ID: 16681755
You have mentioned "C:\Sybase" and "D:\Sybase" directories (confusing)

Your SQL.INI file *MUST* be stored in %SYBASE%\ini\sql.ini

What is your SYBASE environment variable set to ?
and what version are you using (you don't seem to have the OCS directories)
0
 
LVL 6

Expert Comment

by:ChrisKing
ID: 16681768
and did you copy the "dll", "bin", etc directories over too ?
0
 
LVL 1

Author Comment

by:tknayak
ID: 16682241
No I did not copy them as I have given the environment variable Path as C:\Sybase\dll and Lib as C:\Sybase\lib
0
 
LVL 6

Expert Comment

by:ChrisKing
ID: 16682261
no, libraries are loaded form the %SYBASE%\lib (which should match your path too or you may run into other issues)
0
 
LVL 6

Accepted Solution

by:
ChrisKing earned 375 total points
ID: 16682311
and that goes for dll's and charset's and ... basically everything under sybase directory too
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes MS breaks things just for fun... In Access 2003, only the maximum allowable SQL string length could cause problems as you built a recordset. Now, when using string data in a WHERE clause, the 'identifier' maximum is 128 characters. So, …
Exchange administrators are always vigilant about Exchange crashes and disasters that are possible any time. It is quite essential to identify the symptoms of a possible Exchange issue and be prepared with a proper recovery plan. There are multiple…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

840 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