Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

MS SQL Server 2008 R2: SQL Native Client error Expand / Collapse
Author
Message
Posted Wednesday, November 07, 2012 12:35 AM


SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Wednesday, March 12, 2014 3:18 AM
Points: 125, Visits: 1,721
Hi I'm getting this error when trying to the sqlcmd: command against the instance ...
MS SQL 2008 R2 (10.50.2806.0) SP1 Enterprise Edition (64-bit)
Sqlcmd: Error: Connection failure. SQL Native Client is not installed correctly. To correct this, run SQL Server Setup.
Native client is installed ...
No errors in Logs regarding this error
Browser service is running
I connect from my local laptop to the server via sql server managerment studio ...


MCITP: Database Administrator 2005
MCTS DBA 2008
Post #1381808
Posted Wednesday, November 07, 2012 1:22 AM


SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Wednesday, March 12, 2014 3:18 AM
Points: 125, Visits: 1,721
an update
After investigating MS SQL 2005 tools was installed on the server. It ‘looks’ like MS SQL 2005 was installed on this server and then removed but the tools stayed behind in the D:\Apps\Microsoft SQL Server\90\Tools\binn location.
If you run the SQLCMD in the route folder D:\Apps\Microsoft SQL Server\100\Tools\binn (SQL 2008 R2) version then it works …
By default you are supposed to be able to run this command from any location without issues but it seems that it got confused on which version to run 2005/2008 hence giving the error Werner got last night.
A fix we done: we renamed the 2005 folder to D:\Apps\Microsoft SQL Server\90_1\Tools\binn and then we tested the SQLCMD and it worked.
This sorted out the issue I had ...


MCITP: Database Administrator 2005
MCTS DBA 2008
Post #1381816
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse