duandunzhuo3234 2009-02-17 15:22
浏览 52

使用从Linux客户端到MSSQL的ODBTP - 响应错误

I have MSSQL running on a Windows server. I can connect to it using ODBTP, ADODB and PHP from other windows servers. When I try the same thing on a Linux server, I get a response error: [ODBTPERR][0]Invalid Response in /var/www/html/Database/adodb5/drivers/adodb-mssql.inc.php on line 726:[ODBTPERR][0]Invalid Response
The ODBTP (v1.1.4) is enabled as an extension on the Linux server, and if I play with the odbtp.conf file settings I get proper connection errors, so it is picking things up correctly. I can telnet from the Linux server to the database server on port 2799 and get back an OBDTP prompt. Can anyone suggest any steps? Thanks

  • 写回答

2条回答 默认 最新

  • dongxieli3839 2009-02-17 16:34
    关注

    The problem was caused by trying to use odbtp libraries and php extension that were not compiled for a 64bit machine. This clue came from a Robert Twitty posting on a forum (not sure where). We recompiled the libodbtp.so and odbtp.so enabled for 64 bits. The solution was found by Dave Keen (dev@ruffness.com).

    评论

报告相同问题?

悬赏问题

  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度
  • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测