标题: Microsoft SQL Server Management Studio
------------------------------创建 对于 LinkedServer“SRV_LNK_CD”失败。 (SqlManagerUI)有关帮助信息,请单击: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.5000.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=创建+LinkedServer&LinkId=20476------------------------------
其他信息:执行 Transact-SQL 语句或批处理时发生了异常。 (Microsoft.SqlServer.ConnectionInfo)------------------------------'(null)' 是无效的产品名。 (Microsoft SQL Server,错误: 15429)有关帮助信息,请单击: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=08.00.2039&EvtSrc=MSSQLServer&EvtID=15429&LinkId=20476------------------------------
按钮:确定
------------------------------
我在用sql2005做远程链接的时候,出现问题,提示如上,请问该如何解决?
------------------------------创建 对于 LinkedServer“SRV_LNK_CD”失败。 (SqlManagerUI)有关帮助信息,请单击: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.5000.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=创建+LinkedServer&LinkId=20476------------------------------
其他信息:执行 Transact-SQL 语句或批处理时发生了异常。 (Microsoft.SqlServer.ConnectionInfo)------------------------------'(null)' 是无效的产品名。 (Microsoft SQL Server,错误: 15429)有关帮助信息,请单击: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=08.00.2039&EvtSrc=MSSQLServer&EvtID=15429&LinkId=20476------------------------------
按钮:确定
------------------------------
我在用sql2005做远程链接的时候,出现问题,提示如上,请问该如何解决?
http://wenku.baidu.com/view/23acb729647d27284b735122.html
use master
if(not exists(select * from sysservers where srvname like 'srv_lnk'))
exec sp_addlinkedserver 'srv_lnk','','SQLOLEDB','IP'
exec sp_addlinkedsrvlogin 'srv_lnk','false',null,'登录名','密码'
go--删除 链接服务器
exec sp_dropserver 'srv_lnk','droplogins'
go
建立远程链接的语句是对的,但是查数据时报
消息 17,级别 16,状态 1,第 1 行
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server 不存在或拒绝访问。
远程链接 是不是与有些sql的服务相关?