易截截图软件、单文件、免安装、纯绿色、仅160KB

SQL 2000设置 - MS-SQL Server / 基础类

我们 服务器 重装了系统,在装完sql2000之后,webconfig连接数据库 是 IP地址形式,以前本地是(localhost),怎么配置远程连接?


在线 等,比较急

没看懂,
远程就写ip或计算机名


引用
没看懂,
远程就写ip或计算机名
。。

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) 出现了这个错误


引用
本地是用127.0.0.1
远程就改成远程的地址咯
比如:Data Source=192.168.0.0;Initial Catalog=数据库名称;Persist Security Info=True;User ID=账号;Password ID=密码;
还可以在IP后面跟上端口
按这 config里 该数据库,因为 需要远程访问

你们服务器现在是多少ip,webconfig里面就调用多少ip就可以了

connectionString="Data Source=60.217.22*.***; config里的设置 ,和服务器的IP是一样的

引用
你们服务器现在是多少ip,webconfig里面就调用多少ip就可以了
但是企业管理器 里显示 数据 库是localhost ,感觉上 应该 是个远程IP地址 才对,应该是60.217.22*.*** 这个IP,感觉上

把(localhost)改成下面

127.0.0.1

你网卡的实际ip地址

多个网卡时,注意看是不是每个网卡都允许sqlserver的数据库连接


相关问答:

求一SQL - MS-SQL Server / 基础类

tab1 字段:billdate,goodsid,incount,inmoney,outcount,outmoney,endprice,endcount,endamt
tab2 字段:goodsid,goodskind(商品类型)
tab3 字段:goodskind(商品类型),kindname
结果:
得到商品类型在一段时间 ......

sql 问题 - MS-SQL Server / 基础类

需求如下:
学院 academy(aid,aname)
班级 class(cid,cname,aid)
学生 stu(sid,sname,aid,cid)
住宿区 region(rid,rname)
宿舍楼 build(bid,rid,bnote) bnote是‘男’/‘女’
宿舍 dorm(did,rid,bid,bedn ......

一条 SQL - Oracle / 基础和管理

有这样一条SQL
 Select Get_Costtaxrate(col1), Get_Tcostvalue(col1) from a
 
其中Get_Costtaxrate、Get_Tcostvalue都是函数,这两个函数里面都是查找一个大表,Get_Tcostvalue还需要调用Get_C ......

求一时间比较的SQL 指令 - MS-SQL Server / 基础类

表数据
COL1 COL2 COL2 COL4 COL5
----------------------------------------------------------------------------------------------
2010-05-05 00:00 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号