Author |
Topic |
hayko98
Starting Member
29 Posts |
Posted - 2011-12-07 : 20:01:56
|
Hi allWe are upgrading our prd server to 2008(from 2005).I installed SQL 2008 R2 SP1.Connecting remotely from prd box works fine. But when tiring to connect from my own workstation ,I am getting following error message: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) (Microsoft SQL Server, Error: -1)TCP—enabledNamed Pipe-EnabledAllow remote connection-enabled.Any idea how to fix this? |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
hayko98
Starting Member
29 Posts |
Posted - 2011-12-07 : 20:09:02
|
I am connecting with serverName\InstanceName. |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
hayko98
Starting Member
29 Posts |
Posted - 2011-12-07 : 20:19:04
|
I don't know how to connect with serverName,portNumber? like serverName\1433? |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
hayko98
Starting Member
29 Posts |
Posted - 2011-12-08 : 12:53:09
|
This is what i found in Error Log.Dedicated admin connection support was established for listening locally on port 51184.In SQL server Configuration Manager,in TCP properties shows (SQL Native Client 10.0 Configuration\Client Protocols)"Defult Port 1433).When i connect with serverName,51184 i get this:Cannot connect to xxserverName,51184.------------------------------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: TCP Provider, error: 0 - No such host is known.) (Microsoft SQL Server, Error: 11001) |
|
|
hayko98
Starting Member
29 Posts |
Posted - 2011-12-08 : 13:08:38
|
Why can i connect from one box(prod),but can't from another? |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
hayko98
Starting Member
29 Posts |
Posted - 2011-12-08 : 13:26:12
|
no |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
hayko98
Starting Member
29 Posts |
Posted - 2011-12-08 : 15:13:32
|
ServerName was not in DNS.After adding serverName it works.Thank you for your time and affort.Thx a lot |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|