Prolem在visual studio 2010中添加sql server数据库 [英] Prolem to add sql server database in visual studio 2010

查看:102
本文介绍了Prolem在visual studio 2010中添加sql server数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友......

当我添加sql server数据库时,我收到的错误就是



网络 - 建立与SQL Server的连接时发生相关或特定于实例的错误。服务器未找到或无法访问。验证实例名称是否正确,以及SQL Server是否配置为允许远程连接。 (提供者:SQL网络接口,错误:26 - 错误定位服务器/实例指定)





请帮我找到解决方案错误

解决方案

请参阅此链接。它可以帮助你..

http:/ /msdn.microsoft.com/en-in/library/ms247254(v=vs.80).aspx [ ^ ]






请参考此链接配置mdf数据库。



http://msdn.microsoft.com/en-us/library/ms130822.aspx [ ^ ]



http://forums.asp.net/t/1246174.aspx/1 [ ^ ]



http://www.daniweb.co m / software-development / vbnet / threads / 115645 / connections-to-an-.mdf-database [ ^ ]



http://stackoverflow.com/questions / 7687930 / db-connection-string-in-web-config-to-use-attached-mdf-database-wont-work [ ^ ]

Hi friends......
When I added sql server database than I got a error i.e.

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)


Please help me to find solution of this error

解决方案

Refer this Link. It may helps You..
http://msdn.microsoft.com/en-in/library/ms247254(v=vs.80).aspx[^]


Hi ,

please refer this links to configure mdf database.

http://msdn.microsoft.com/en-us/library/ms130822.aspx[^]

http://forums.asp.net/t/1246174.aspx/1[^]

http://www.daniweb.com/software-development/vbnet/threads/115645/connecting-to-an-.mdf-database[^]

http://stackoverflow.com/questions/7687930/db-connection-string-in-web-config-to-use-attached-mdf-database-wont-work[^]


这篇关于Prolem在visual studio 2010中添加sql server数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆