0

I have two sql server installed in my machine. The 2016 one shows SQL Server(MSSQLSERVER) name and 2014 one SQLEXPRESS respectively.

When I log in from sql server management studio using this hostname\SQLEXPRESS I get loggged into 2014 instance

but when I try to access 2016 version using this hostname\MSSQLSERVER It gives me below error:

a network-related or instance-specific error 26.The server was not found or was not accessible.

In sevice.msc i can see both SQLEXPRESS and MSSQLSERVER up and running.

4

1 回答 1

-1

运行 SQL Server 配置管理器
展开 SQL Server 网络配置
您应该看到 MSSQLServer 的协议和 SQLEXPRESS
的协议 检查您希望使用的协议是否已为每个实例启用
如果使用 TCP/IP - 在右侧窗格中选择 TCP/IP
右键单击​​并选择属性
选择 IP 地址选项卡
向下滚动到 IPAll 并将动态端口更改为 0(零) 您需要为两个实例执行此操作
重新启动 SQL Server 服务

于 2017-02-10T12:56:33.273 回答