无法解决与网络相关或特定于实例的错误 [英] Unable to resolve network-related or instance-specific error

查看:60
本文介绍了无法解决与网络相关或特定于实例的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个asp.net应用程序,但我没有在过去2-3天内使用它,今天当我打开并运行此应用程序时它给出了以下错误 -



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



what我现在该怎么办?

解决方案

要做的步骤:

1)选择我的电脑图标并右键单击它

2)选择管理...

3)Go到服务和应用......

4)在左窗格中找到SQL Server配置,然后双击它

5)找到 SQL Server服务并双击它

6)检查 SQL Server(实例名称)状态为正在运行,如果没有,请右键单击并选择开始



试试!





配置Windows防火墙以允许SQL Server访问 [ ^ ]

配置远程访问服务器配置选项 [ ^ ]

如何在SQL Server 2008中启用远程连接? [ ^ ]

I'm working on a asp.net application but I did not use it from last 2-3 days and today when I open and run this application Its gives following error-

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.

what should I do now?

解决方案

Steps to do:
1) Select My Computer icon and right-click on it
2) Choose "Manage..."
3) Go to "Services and apps..."
4) Find "SQL Server Configuration" on left pane and double-click on it
5) Find "SQL Server Services" and double-click on it
6) Check if SQL Server (Instance name) status is "Running", if not, right-click and choose "Start"

Try!

[EDIT]
Configure the Windows Firewall to Allow SQL Server Access[^]
Configure the remote access Server Configuration Option[^]
How to enable remote connections in SQL Server 2008?[^]


这篇关于无法解决与网络相关或特定于实例的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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