SQL Server找不到任何运行的服务

时间:2018-12-06 09:20:45

标签: .net sql-server ssms

我有 MS SQL Server v 17.3 我一直在使用引擎与外部服务器连接 但是问题开始于当我尝试使用计算机名称.连接到本地服务器并使用Windows身份验证时,出现以下错误:

TITLE: Connect to Server
------------------------------

Cannot connect to ..

------------------------------
ADDITIONAL INFORMATION:

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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=2&LinkId=20476

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

The system cannot find the file specified

------------------------------
BUTTONS:

OK
------------------------------

首先,我认为实例名称存在问题,因此我尝试从配置管理中获取实例名称,因此我转到服务以从正在运行的服务中获取实例的名称,但是我发现除了运行之外没有其他服务VSS Writer作为附件图像:

enter image description here

然后我去了配置管理器,在这里发现没有服务作为附件映像: enter image description here

我去修理了安装,但是结果是一样的: *没有针对SQL Server运行的服务 *我无法连接到本地服务器

请注意,SQL Server引擎可以成功连接到其他服务器。

当我走到这条路时:

C:\Program Files (x86)\Microsoft SQL Server

我发现这里有很多文件夹,如附件图片: enter image description here

所以我不知道问题是什么和正在发生什么。

0 个答案:

没有答案