安装后在命令下执行isql或SQL Advantage不能正常运行。
出现下面错误提示,
。
C:\Documents and Settings\gyh>isql
The context allocation routine failed when it tried to load localization files!!
One or more following problems may caused the failure
Your sybase home directory is d:\gyh\sybase. Check the environment variable SYBASE if it is not the
Using locale name "zh_CN" defined in environment variable LANG
Locale name "zh_CN" doesn't exist in your d:\gyh\sybase\locales\locales.dat file
An error occurred when attempting to allocate localization-related structures.
错误提示:在locales.dat配置文件中没有找到关于zh_CN的配置信息
用文本编辑器打开locales.dat文件,增加配置信息
......
[NT]
locale = enu, us_english, iso_1
locale = fra, french, iso_1
locale = deu, german, iso_1
locale = rus, russian, cp1251
locale = hun, us_english, cp1250
locale = ell, us_english, cp1253
locale = heb, us_english, cp1255
locale = ara, us_english, cp1256
locale = trk, us_english, cp1254
locale = esp, spanish, iso_1
locale = jpn, japanese, sjis
locale = japanese, japanese, sjis
locale = chs, chinese, eucgb
locale = cht, tchinese, big5
; locale = kor, korean, eucksc
locale = us_english.utf8, us_english, utf8
locale = default, us_english, iso_1
locale = zh_CN, us_english, iso_1 //增加此行
...........
保存文件。