• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 202
  • Last Modified:

SQL connectivity errors

I can't connect to a SQL server using the name but can using localhost. The backups won't run and produce errors such as;
Message
[298] SQLServer Error: 10061, An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. [SQLSTATE 08001]

We have allowed remote connections and all the TCP/IP and SQL Browser etc. are enabled. Doesn't make sense. Thanks
0
biotec
Asked:
biotec
1 Solution
 
carsRSTCommented:
Couple of things you may check...

-Is port is set to 1433?  If not you may need to specify which port to use during connectivity.
-Are you using correct named instance when trying to connect?

0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
0
 
biotecAuthor Commented:
I've tried most everything and still have the same issue. I can connect from other workstations or servers but it seems it can't connect to itself. The services all start under the same account and can be restarted without problems. I can telnet to port 1433 with no problems. The only thing I notice is that the ip address that is used in the protocols property for tcp/ip shows three addresses. The correct one shows that the port is enabled but not active and the old ip address shows that it is not enabled but active and it also shows the 127 address as enabled and active. Otherwise, I actually right click on a backup job and it runs successfully but no backup ever exists for the job.
0
 
Vitor MontalvãoMSSQL Senior EngineerCommented:
Wich edition of SQL Server 2005 are you using? And wich protocols are enabled (check in SQL Server Configuration Manager / Network Configuration)?
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now