访问mysql的urn地址,在级别Configuration 上无法解析urn 错误

问题

今天打开SqlServer2005的SQL Server Management Studio,连接非本地数据库时,弹出错误 :

"在级别Configuration 上无法解析urn"

原因

估计是昨天连接时,用的本机数据库,使用.作为本机数据源。如:

解决

网上找到解决方法 http://social.msdn.microsoft.com/forums/en-US/sqlgetstarted/thread/17b68347-9e29-4b5c-9358-0f039d4ce0ea/

如下:

QUESTION:

I've installed SQL Server 2005 SP1 RTM on a Windows 2003 R2 machine (machine A), and my local workstation (machine B).

From machine B, I can use SSMS to connect to SQL Server on machine A. This is using either "New Query" or "Object Explorer".

However, on machine A, SSMS can only connect to machines A or B using the "New Query" option. If I try "Object Explorer" for either, I get the error message "Failed to retrieve data for this request... urn could not be resolved at level Configuration."

I'm not sure what died (no pun intended) since the last time this worked. Any thoughts on this?

ANSWER:

The same was happening to me without making changes on my PC or my SQL server environment.

ERROR window:

Connect to Server

Failed to retrieve data for this request. (Microsoft.SqlServer.SmoEnum)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&LinkId=20476

urn could not be resolved at level Configuration. (Microsoft.SqlServer.SmoEnum)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&LinkId=20476"

RESOLUTION was:

1. Open c:\Program Files\Microsoft SQL Server\90\dts\Binn\MsDtsSrvr.ini.xml

2. Modify the ServerName line to read "(local)" or a more specific server name instead of a "."

3. Restart SQL Server service

SAMPLE:

Code Snippet

http://www.w3.org/2001/XMLSchema>" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

'>http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance">

; true

MSDB

(local)

File System

..\Packages

Good luck!

总结

最终还是没按上述方法解决,只是先连接下本地数据库,能打开。然后再连接非本机数据库,就可以了。

网上这个错误好像很少。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值