Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

SQL Connect to Server error.

Posted on 2016-08-23
6
Medium Priority
?
85 Views
Last Modified: 2016-08-23
I just installed SQL Server 2012 and configured it on a server. From the local server, I can connect. However, using SSMS from another server, I cannot connect to the SQL Server I created. I get the error below.

2016-08-23_14-10-24.png
Being that my background is not to strong in SQL, is there anything I can check to troubleshoot this? Do anything need to be looked at from the Network side of things? If so, I can bring it to the attention of my network team. I can ping the new SQL server from the machine I am using SSMS from. I created the SQL server to run in mixed mode. I tried both Windows and SA account but to no avail. Tried by IP and hostname as well.
0
Comment
Question by:joukiejouk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 34

Assisted Solution

by:Brian Crowe
Brian Crowe earned 200 total points
ID: 41767805
Start by checking the Windows firewall settings on the server that you installed the SQL Server instance on.  Turn off the firewall and see if that helps.  If it does then turn the firewall back on (assuming you want it) and add a rule to allow port 1433 traffic.
0
 
LVL 43

Expert Comment

by:pcelba
ID: 41767836
Execute sp_configure on the SQL Server locally and check the value of "remote access".

If you see 0 as the run_value then issue following instructions:

sp_configure 'remote access', 1
RECONFIGURE

More info: https://msdn.microsoft.com/en-us/library/ms188787.aspx

If you've installed SQL Server as a named instance then you should use both IP address and instance name in the login dialog, e.g.

10.10.10.10\MySQLServer

Windows authentication is OK for domain users. If you don't have domain then create SQL users on the SQL server. Connecting as SA remotely requires another config setting (remote admin connections) but it is not recommended.
0
 

Author Comment

by:joukiejouk
ID: 41767890
Is there any way I can check from the SQL GUI?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 75

Assisted Solution

by:Anthony Perkins
Anthony Perkins earned 600 total points
ID: 41767981
Unfortunately  until you enable TCP/IP you will not be able to use a remote server.  Let me know if you need help with that.
0
 
LVL 43

Accepted Solution

by:
pcelba earned 1200 total points
ID: 41767983
What is SQL GUI?

Check it from the SSMS installed on the same machine where the SQL Server is running.
You may use another tool which allows to connect SQL Server locally. BUT if remote access is not enabled you have to do it locally.

You may also follow steps described here: https://support.rackspace.com/how-to/configuring-ms-sql-server-for-remote-access/
and here: http://jeffreypalermo.com/blog/how-to-configure-sql-server-2012-for-remote-network-connections/
0
 

Author Comment

by:joukiejouk
ID: 41768198
I took the following steps to configure the SQL server, and it seems to work. Here are the steps.

1. Enabled TCP/IP
2016-08-23_21-32-47.png
2. In SQL Server Configuration Manager, I input 1433 for all TCP Port in TCP/IP Properties
2016-08-23_21-27-55.png
3. Most importantly, it did not work until I followed the article: http://jeffreypalermo.com/blog/how-to-configure-sql-server-2012-for-remote-network-connections/ , which was to create a Program rule in Inbound  for the firewall.

You guys are the reason why EE is the best IT resource forum! You guys rock!
1

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I’ll look at how you can use a backup to start a secondary instance for MongoDB.
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question