Solved

Microsoft SQL Server, Error: 64

Posted on 2016-10-18
8
50 Views
Last Modified: 2016-10-24
Hi,

I have a computer (Win7 Pro) on our network who cannot connect to a SQL server outside the Network. However, If I try on another computer (Windows 7 Pro) to connect on the same server with the same credentials, it works. I have attached the error message from MS SQL Server Management Studio 2008. I am using the server's IP as a server name.

SQL Server Management Studio error
Thank you for your help.
0
Comment
Question by:David Dumais
8 Comments
 
LVL 39

Assisted Solution

by:Kyle Abrahams
Kyle Abrahams earned 250 total points
Comment Utility
From:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/2d11b6f9-3ada-4682-b643-c721a97af4ba/cant-connect-to-database-after-installing-vs-11-pro-beta?forum=vssetup

try opening up a command prompt as admin and running:
netsh Winsock reset

Open in new window

0
 
LVL 76

Expert Comment

by:arnold
Comment Utility
Ip/netmask of the system that works versus the one that does not?
Are you entering the SQL login/or us it using Windows authentication? Same user logged into the two computer when the connection is attempted?
Do you require connection encryption?
Check the installed SQL native client library make sure you have SQL 2008 native client library Installed .....

What version of ssms is installed on this system versus the one that works?
0
 
LVL 3

Expert Comment

by:Daniel Jones
Comment Utility
> Go to the SQL Configuration Manager
> Expand the SQL Network Configuration > click on the PROTOCOLS node
> Right click on TCP/IP > open up the PROPERTIES panel
> Select the IP ADDRESS tab
> Make sure the values for the IP ADDRESS fields are correct and match the system it is running on.
> Restart the service

Make sure you fill in the TCP PORT, even if you are using the default 1433
0
 
LVL 76

Expert Comment

by:arnold
Comment Utility
The error is a protocol mismatch, an ssms for SQL 2005 will not connect to SQL 2012 or newer successfully.
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 45

Expert Comment

by:Vitor Montalvão
Comment Utility
Arnold may have a point here.
What's the version of the SQL Server instance that you're trying to connect to?
What's the version of the SSMS in your client computer? This should be equal or greater version than the target SQL Server version.
0
 

Author Comment

by:David Dumais
Comment Utility
I tried the netsh Winsock reset and no sucess

Ip/netmask of the system that works versus the one that does not are the same

I am using a SQL login with no encryption

The Server has this SQL Version

Microsoft SQL Server Management Studio                                    12.0.2000.8
Microsoft Analysis Services Client Tools                                    12.0.2000.8
Microsoft Data Access Components (MDAC)                                    6.3.9600.17415
Microsoft MSXML                                    3.0 6.0
Microsoft Internet Explorer                                    9.11.9600.18427
Microsoft .NET Framework                                    4.0.30319.42000
Operating System                                    6.3.9600

And the client computer:

Microsoft SQL Server Management Studio                                    12.0.2569.0
Microsoft Analysis Services Client Tools                                    12.0.2569.0
Microsoft Data Access Components (MDAC)                                    6.1.7601.17514
Microsoft MSXML                                    3.0 6.0
Microsoft Internet Explorer                                    9.11.9600.18499
Microsoft .NET Framework                                    4.0.30319.42000
Operating System                                    6.1.7601
0
 
LVL 76

Accepted Solution

by:
arnold earned 250 total points
Comment Utility
Working client info versus?
Ip/netmask can not be the same, ip has to be unique.

Do you have vlans?
Disconnect client that does not work from network, change working client ip to that that the client that does not and see if it relates to ip, do the same on the client that does not work, set its ip to the one that did.
0
 

Author Closing Comment

by:David Dumais
Comment Utility
I did:
ipconfig /release
ipconfig /flushDNS
immediately shut down the computer.

After a fresh start, computer had a new IP and everything was working fine. Thank you very much for the help.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

728 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now