Unable to connect to server:

Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: 这个错误很多人都提到,现在我来写写我是解决个办法了.

首先说一下我的系统:winxp+mssql2000+php5.23

先查查你的php目录下有没有ntwdblib.dll有没有这个文件?ntwdblib.dll是客户连接库,如果有查看一下版本号是多少,一般会是7.0的,这个只能与mssql 7.0进行连接,我们为了能与我们现数据库版本相同就把mssql下的ntwdblib.dll拷贝到你php 所在的目录替换那个7.0的,重起apache就OK了.

时间: 2024-09-20 07:47:09

Unable to connect to server:的相关文章

Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server

我有一台服务器win2003SP1+sqlserver2000(已打上SP4补丁) PHP远程连接sql2000 连接失败是什么情况? 1.服务器本机测试可连接! 2.在自己的电脑上用查询分析器也可以连上! 服务器上的1433端口在监听 sql2000的用户名.密码没错,权限也没问题! ntwdblib.dll 版本是2000.80.194.0 apache.php.system32目录下的都已近更新 ntwdblib.dll和php_mssql.dll   都已经复制到system32目录下

oadrunner录制问题-LR11录制脚本时报Unable to connect to remote server

问题描述 LR11录制脚本时报Unable to connect to remote server 服务器部署在linux机器上,是用tomcat部署的 录制脚本时,请求失败,点击登陆因为请求失败无法跳转到下一个页面 错误信息: [Network Analyzer (270c:20f0)] Request Connection: Remote Server @ 125.90.204.122:80 (Service=) (Sid= 21) PROXIED! [Network Analyzer (2

登录arcgis server manager时出现Unable to connect to Manager Service

问题描述 登录arcgis server manager时出现Unable to connect to Manager Service 登录arcgis server manager时出现Unable to connect to Manager Service

mongodb: Unable to connect to any server that matches

问题描述 mongodb: Unable to connect to any server that matches 使用MongoTemplate连接mongodb,但是insert方法的时候出现如下错误: 'Caused by: com.mongodb.MongoServerSelectionException: Unable to connect to any server that matches {serverSelectors=[ReadPreferenceServerSelecto

【RAC】ORA-15055: unable to connect to ASM instanceORA-12547: TNS:lost contact

rac 安装完成,关闭之后重启数据库遇到如下错误: oracle@rac1:/tmp>sqlplus "/as sysdba" SQL*Plus: Release 11.2.0.1.0 Production on Fri Sep 2 13:17:14 2011 Copyright (c) 1982, 2009, Oracle.  All rights reserved. Connected to an idle instance. SQL> startup ORA-0107

SVN报错:could not connect to server

一.发现问题本地搭建了一个svn服务器,别人往该服务器checkout.update.commit的时候报错:could not connect to server.   二.思考问题①网络不通.通过ping命令发现网络没问题. ②防火墙没有关.双方都关闭防火墙,没有解决. ③svn启用了代理.该种方式也是网友提供,参考地址http://blog.csdn.net/mydeman/article/details/8938461.双方均没有开启代理.   三.解决问题经过反复尝试发现,我提供的地址

ORA-15055 Unable to Connect to ASM When Starting an Instance

尝试启动一个spfile 文件在asm 中的数据库时会遇到如下错误: ORA-01078: failure in processing system parameters ORA-01565: error in identifying file '+DATA_ASM/gisqe1/spfilegisqe1.ora' ORA-17503: ksfdopn:2 Failed to open file +DATA_ASM/gisqe1/spfilegisqe1.ora ORA-15055: unabl

【RAC】ORA-29780: unable to connect to GPnP daemon [CLSGPNP_ERR]

安装完成 11GR2 Grid 之后,使用asmca创建磁盘组的时候遇到如下报错: ORA-29780: unable to connect to GPnP daemon [CLSGPNP_ERR] google 一把 和环境变量有关:(CRS/GRID 是运行正常的).  grid@rac1 /oragrid/dbs> env | grep ORA ORA_CRS_HOME=/opt/11.2.0/grid <====== 从老的bash_profle 中继承的! ORACLE_SID=+A

android无线调试-adb wireless unable to connect to 192.168.191.2

问题描述 adb wireless unable to connect to 192.168.191.2 使用adb wireless时无线连接报错unable to connect...... root过,开启了wireless,能ping通 用数据线调试时能找到,但就是无线调试时报unable to connect...... 大神帮帮忙啊 用过这两种解决方法无效http://blog.csdn.net/stpeace/article/details/24815417http://bbs.c