vs2008创建database project出错a network-related or instance-specific error occurred while establishing a connection to sql解决

错误信息如下: 
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
解决办法:
在这个地址里面下载这个包,然后按照就可以了。

Microsoft® Visual Studio Team System 2008 Database Edition GDR R2

http://download.microsoft.com/download/0/A/E/0AE1153A-8798-474A-93E6-D19299F37C8B/setup.exe
不知道为什么会这样。
但是可能是我的操作系统是xp sp3的缘故 也许......
反正这样是可以用的。
......................
补充如下:
我按照上面的组建后会出现其他问题,后来发现会出现其他问题,经过很多地方的查询以及验证。
终于找到了最终的解决办法。上面的仅供参考,可以不按装。
在vs2008的Tools -> Options -> Data base Tools -> Design Time - Validation Data base -> Connection Options -> SQL Serevr  Instance Name 中设置为空就可以。
弄了两天的问题终于在这里解决了,实在是高兴,特地跟大家分享一下。
posted @ 2009-09-18 23:47  lixq0203  阅读(18490)  评论(1编辑  收藏  举报