VS数据库 [英] VS database

查看:54
本文介绍了VS数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

---------------------------

本地数据库文件

------------------ ---------

建立与SQL Server的连接时发生与网络相关或特定于实例的错误。服务器未找到或无法访问。验证实例名称是否正确,以及SQL Server是否配置为允许远程连接。 (提供者:
SQL网络接口,错误:50 - 发生本地数据库运行时错误。无法创建自动实例。请参阅Windows应用程序事件日志以获取错误详细信息。

解决方案

嗨yusraAli,


Welcome到MSDN论坛。


你使用什么VS项目?


你是如何在你的VS项目中添加SQL数据库的?请分享详细步骤并将字符串连接到我,这将有助于理解你的问题。


请尝试使用SSMS连接。


而且,我发现堆栈溢出的线程有相同的问题,你可以看看它。


https://stackoverflow.com / questions / 5435090 / sql-server-was-not-found-or-was-not-accessible


感谢您的理解。


问候,


Judyzh


---------------------------
Local database file
---------------------------
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: 50 - Local Database Runtime error occurred. Cannot create an automatic instance. See the Windows Application event log for error details.

解决方案

Hi yusraAli,

Welcome to the MSDN forum.

What VS project do you use?

How did you add SQL database to your VS project? Please share the detail steps and connect string to me that will be helpful to understand your issue.

Please try to use SSMS connection.

And, I find a thread on stack overflow which has the same issue, you could take a look at it.

https://stackoverflow.com/questions/5435090/sql-server-was-not-found-or-was-not-accessible

Thanks for your understanding.

Regards,

Judyzh


这篇关于VS数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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