Powerbuilder数据处理错误?

1 powerbuilder

我是Powerbuilder的新手,我在运行时遇到了这个问题.当我运行我的程序时,它显示以下错误:

999 Cannot connect!
DBMS is not supported in your current installation
Run Code Online (Sandbox Code Playgroud)

这是什么原因?

Jim*_*eil 7

您没有正确填充事务对象.在代码中的某处,您正在执行类似于SQLCA.DBMS = "XXX" XXX是数据库接口的前三个字符的操作,例如,SQLCA.DBMS = "ODB"对于ODBC或SQLCA.DBMS = "ORA"Oracle.

消息读取的事实

DBMS is not supported in your current installation
Run Code Online (Sandbox Code Playgroud)

DBMS XXX is not supported in your current installation
Run Code Online (Sandbox Code Playgroud)

表示DBMS属性设置为空字符串.许多应用程序用于ProfileString从INI文件中获取此值,因此很可能该值不在INI文件中,或者(更有可能)应用程序在运行时未找到INI文件.