各位大侠,有没有人用过C#连接Progress数据库,现在我是通过ODBC的方式连接的但是不成功
private static string conStr = "DSN=myProgress;HOST=erpsrv;DB=SS;UID=SYMIX;PWD=A1b2C3d4E5;PORT=30050";
提示以下错误:
ERROR [HY000] [MERANT][ODBC PROGRESS driver][PROGRESS]** -P and -U startup parameters require _User file records. (709)
ERROR [HYC00] [MERANT][ODBC PROGRESS driver]Optional feature not implemented.
ERROR [IM006] [MERANT][ODBC PROGRESS driver]Driver's SQLSetConnectAttr failed.
ERROR [01S00] [MERANT][ODBC PROGRESS driver]Invalid attribute in connection string: PORT.
ERROR [01S00] [MERANT][ODBC PROGRESS driver]Invalid attribute in connection string: HOST.
ERROR [HY000] [MERANT][ODBC PROGRESS driver][PROGRESS]** -P and -U startup parameters require _User file records. (709)
ERROR [HYC00] [MERANT][ODBC PROGRESS driver]Optional feature not implemented.
ERROR [IM006] [MERANT][ODBC PROGRESS driver]Driver's SQLSetConnectAttr failed.
ERROR [01S00] [MERANT][ODBC PROGRESS driver]Invalid attribute in connection string: PORT.
ERROR [01S00] [MERANT][ODBC PROGRESS driver]Invalid attribute in connection string: HOST.
给你个连接Progress数据库的例子: