| 数据库错误代码 | 数据库错误信息 | 译文及出错原因 | 解决办法 |
| -108 | Connection not found | 没有发现可用连接。可能原因是服务器上的数据库服务已经关闭,或本地已经断开了连接。 | 如果服务器的软件已经关闭请重新启动运行它。在客户机上重新登录软件。 |
| -107 | Error writing to log file | 写日志错误,数据库文件损坏 | 重建日志文件。 |
| -104 | Invalid userid and password on preprocessed module | 在预处理模式下用户名密码不对。 | 一般情况下数据库的用户名密码不会改变。这是人为更改,自行解决。 |
| -103 | Invalid userid or password | 用户名密码不对。 | 同上 |
| -102 | Too many connections to database | 连接到数据库中的用户数据太多。 | 更换数据库引擎文件。 |
| -101 | Not connected to SQL database | 没有连接到数据库。 | 重新登录软件。 |
| -100 | Database engine not running | 数据库引擎没有运行。 | 启动服务器上的首佳软件。 |
| -99 | Connections to database have been disabled | 连接被禁止活动。 | 关闭所有首佳软件重新运行。 |
| -96 | Database engine already running | 数据库引擎已经运行。 | 不要重复运行数据库服务。 |
| -89 | Database engine not running in multi-user mode | 在多用户模式下数据库引擎没有运行。 | 启动服务器上的首佳软件。 |
| -88 | Application/engine communications protocol version mismatch | 应用程序/引擎通信协议版本不匹配。 | 安装相应版本的数据库驱动程序,操作系统安装常用的网络协议。 |
| -87 | Database name required to start engine | 指定的数据库名必须运行。 | 检查ODBC配置。 |
| -86 | Not enough memory to start | 没有足够的内存启动数据库。 | 重新启动操作系统或释放更多被占用的内存,或增加内存条。 |
| -85 | Communication error | 通信错误。There is a communication problem between the multi-user client and server. | 这种通信问题经常发生在多用户模式下。把数据库备份出来,卸载首佳软件,然后重新安装,配置ODBC完成后再把数据库拷贝回去。 |
| -84 | Specified database is invalid | 指定的数据库是有问题的。可能原因为数据库被损坏,或者数据库驱动程序版本与数据库版本不匹配。 | 如果被损坏那是很惨的结果。检查数据库版本与驱动程序版本是否匹配。数据库版本以第一次安装时的版本为准,可以删除数据源后重新配置ODBC为当初的数据库驱动程序版本。 |
| -83 | Specified database not found | 指定的数据库文件不存在。 | 检查ODBC配置。检查数据库文件名是否更改,检查数据库文件是否被移走、删除。 |
| -82 | Unable to start specified database | 不能够启动指定的数据库。可能原因为数据库被损坏,或者数据库驱动程序版本与数据库版本不匹配。 | 一般情况下数据库文件应放在程序安装目录下,如果不能解决请参考-84的解决方法。 |
| -81 | Invalid database engine command line | 不正确的数据库启动命令行。 | 检查ODBC配置,主要是Database选项卡中的start line(命令行),一般为”安装路径\dbsrv8.exe –c8m”,如果6.0的数据库则为” 安装路径\dbsrv6.exe –c 8m” |
| -80 | Unable to start database engine | 不能启动数据库引擎。原因可能是命令行指定的路径不对,或缺少必要文件。 | 同上。 |
| -78 | Dynamic memory exhausted! | 动态存储器耗尽。内存过小。 | 重新启动服务器。 |
| -73 | Communication buffer underflow | 通信缓冲器下溢。操作系统原因。 | 重新启动服务器。 |
| -72 | No database file specified | 没有指定数据库文件。 | 检查ODBC数据源配置。 |
| 100 | Row not found。No data。 | 没有数据。 | 连接被中断,请重新登录软件。 |
| 160 | Specified driver could not be loaded due to system error 126 (Adaptive Server Anywhere 8.0). | 指定的驱动程序不能被装入导致预期的系统错误。 | 数据库驱动程序被删除,请备份数据库后重新安装软件,再恢复数据库。 |
| 999 | Data source name not found and no default driver specified | 指定的数据源名称没有找到。 | 重新配置ODBC数据源。 |
| “-”表示负号 | 这一列的内容对应错误日志的数据库错误信息。 | | |