0

我修改了我的 sql.ini 文件以连接到托管 SQLBase 数据库的远程服务器,所以我添加了以下行:

[win32client.ws32]

serverpath=serverName,IP_ADDRESS,PORT_NUMBER/*

但是set server serverName;在 SQLTalk 控制台中执行命令时出现以下错误:

Error: 09024 GCI SEA Session ended abnormally

[dbntsrv]
dbname=ISLAND
servername=server1
cache=2000
sortcache=2000
readonly=0
oracleouterjoin=0
logfileprealloc=0
partitions=0
optimizerlevel=2
ansijoinsyntax=0
dbdir=C:\Program Files (x86)\Unify\Team Developer 6.0
tempdir=C:\Program Files (x86)\Unify\Team Developer 6.0

[dbntsrv.dll]
comdll=sqlws32

[win32client]
clientname=MY_CLIENT_NAME
clientruntimedir="C:\Program Files (x86)\Unify\Team Developer 6.0" 

[win32client.dll]
; order of win32client dll's is important when connecting to multiple databases. 
; sqlws32 should always be the last and sqlodb32 be 2nd last. 
; comdll=sqlora32 
; comdll=sqlsyb32 
; comdll=sqlodb32 
comdll=sqlws32 

[win32client.ws32]
serverpath=serverName,IP_ADDRESS,PORT_NUMBER/*

[oragtwy]
remotedbname=ora10g,@tns:ora10db
longbuffer=32767
fetchrow=20
substitute=SYSSQL.,
[sybgtwy]
remotedbname=test, hostname, master, 0
[odbcrtr]
odbctrace=off
odbctracefile=sql.log
longbuffer=250000

服务器似乎使用 SQLBase 11.5 数据库。

4

2 回答 2

0

您需要显示整个客户端 sql.ini 。(如果您从客户端运行 SQLTalk)。如果您从服务器运行 SQLTalk,请发送服务器端 Sql.ini。并确保客户端上只有一个sql.ini。

于 2017-11-22T06:53:15.270 回答
0

Client SQL.ini looks standard and ok.

Have you tried the File Server Name, rather than File Server IP e.g.

serverpath=SQLBaseServerName,FileServerName,2155/*

Although the Error code 09024 gives: Reason: Either the remote computer is powered off, the cable link is broken, the session SEND or CHAIN SEND has timed out, or the SEND or CHAIN SEND was cancelled, or a HANG UP timed out waiting for a SEND to complete.

Remedy: Check the remote end for status and check the cable. For a SEND or CHAIN SEND, or RECEIVE or RECEIVE ANY, re-establish the session.

Usually if all is well Network wise ( are you sure ?) , then everything Gupta ( including TeamDeveloper) on the client has to be shutdown and re-started.

If SQLBase is running as a Service, stop and restart the Service on the Server . If possible, see if you can 'Set Server' on the (File) Server version of SQLTalk, to check the SB Server is listening at all.

于 2017-11-26T02:41:21.590 回答