简体   繁体   中英

unable to connect new server in Microsoft Sql 2005

hi i am using Microsoft SQL 2005 ... i am currently using it with one active server ... but i am not able to create new server in it .. as shown in image please view error print screen image

Error

===================================

Testing the registered server failed. Verify the server name, login credentials, and database, and then click Test again.

===================================

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) (.Net SqlClient Data Provider)


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


Error Number: -1 Severity: 20 State: 0

My old server is working fine but i am not able to connect new server ...

检查协议下配置管理器上的网络状态并启用所有三个...然后尝试,或检查防火墙是否允许 sqlsrv 和 sqlbrowser 的例外...服务器连接是本地的还是来自另一台 PC 的远程连接?

如果同一台计算机上有两台服务器,您的问题是端口,旧服务器使用端口 1433,而新服务器也使用端口,所以这就是问题,要解决进入防火墙高级配置,并为 tcp 创建规则协议并为新服务器选择另一个端口,例如说 12000,然后转到服务和所有配置管理器上的浏览器 tcp 端口写入新的和问题解决,hete 在我的国家明天晚了我会发布一些屏幕截图以寻求帮助...

Tell me how did it went in the search for the answer??? I will post the answer now...

  • First go to Firewall
  • Clic on advance configuration
  • Clic on entrance rules
  • Clic on add rule Then follow the images shown here for creating a new rule

    在此处输入图片说明

    在此处输入图片说明

Follow the images...

键入端口号...允许所有连接...保存规则,作为名称和描述

After creating the rule you go to SQL SERVER Configuration Manager (The red >lunchbox icon) and follow the istructions on the pictures....

点击网络下按名称 Ip 地址单击第二个选项卡键入您在防火墙规则中创建的端口号

Remember to chage the value on 8 fileds in the form that sohws the last >picture, then I think youre problem is solved!!!

By the way my name is Jorge Torselli...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM