免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2321 | 回复: 2
打印 上一主题 下一主题

odbc连接错误,(could not open the registry)请指教!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-09-08 15:19 |只看该作者 |倒序浏览
我按照论坛关于setnet32 的介绍设置如下:
server端:
/informix/etc/sqlhosts文件:
jzbank1        onipcshm        server2 on_servername
jzbank2        onsoctcp        server2 on_server
(jzbank1 jzbank2 是服务名和别名,server2主机名,on_server是端口名)
/etc/hosts/hosts文件:
192.168.0.5   server2
/etc/services文件:
on_server  8001/tcp

WIN2K中odbc连接参数如下
-------------------
1) setnet32/:
environment/:INFORMIXSERVER=jzbank2;INFORMIXSQLHOSTS=192.168.0.5
Server Information /: Informix Server :jzbank2
Hostname :192.168.0.5
Protocolname :onsoctcp
Service name :on_server
Host Information /: Current Host :192.168.0.5
User Name :informix
配置完毕后报如下错误:
could not open the registry
请教怎么办!!

论坛徽章:
0
2 [报告]
发表于 2003-09-08 15:41 |只看该作者

odbc连接错误,(could not open the registry)请指教!!

试试将Service name :on_server
修改为8001
could not open the registry 这个错误没有碰过!

论坛徽章:
0
3 [报告]
发表于 2003-09-08 18:57 |只看该作者

odbc连接错误,(could not open the registry)请指教!!

我已经解决。
不要设在informsqlhosts
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP