首页新闻找找看学习计划

急!C#连接Progress数据库

0
悬赏园豆:20 [已解决问题] 解决于 2011-01-14 13:31

各位大侠,有没有人用过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.

星期八工作室的主页 星期八工作室 | 初学一级 | 园豆:180
提问于:2011-01-14 11:47
< >
分享
最佳答案
0

给你个连接Progress数据库的例子:

http://www.connectionstrings.com/progress

收获园豆:20
HUHU慈悲 | 大侠五级 |园豆:9973 | 2011-01-14 13:09
你好,我的连接和那个上面的好像是一样的,就是不知道错在哪里,能否留个QQ或者其它联系方式交流,谢谢!
星期八工作室 | 园豆:180 (初学一级) | 2011-01-14 13:13
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册