SunQuest
           Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old April 21st, 2008, 09:35 AM
normh normh is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 19 normh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 28 m 56 sec
Reputation Power: 0
SQL ODBC connection errors

I'm trying to set up a ODBC connection to our SQL server when I do I get the errors below. FYI, these connect work fine from from the server, so it must be a remote connection problem. I have checked a bunch of the settings on the server and can't solve it.


If I use the SQL Server 2005 Native Client Driver the following error occurs:


---------------------------
Microsoft SQL Server Login
---------------------------
Connection failed:
SQLState: '08S01'
SQL Server Error: 233
[Microsoft][SQL Native Client]Named Pipes Provider: No process is on the other end of the pipe.


Connection failed:
SQLState: '08S01'
SQL Server Error: 233
[Microsoft][SQL Native Client]Communication link failure
Connection failed:
SQLState: '08001'
SQL Server Error: 0
[Microsoft][SQL Native Client]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.

---------------------------
OK
---------------------------

If I use the SQL Server 2000 Driver the following error occurs:

---------------------------
Microsoft SQL Server Login
---------------------------
Connection failed:
SQLState: '01000'
SQL Server Error: 233
[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (PreLoginHandshake()).
Connection failed:
SQLState: '08001'
SQL Server Error: 11
[Microsoft][ODBC SQL Server Driver][DBNETLIB]General network error. Check your network documentation.

---------------------------
OK
---------------------------

Any help would be greatly appreciated.

Norman

Reply With Quote
  #2  
Old April 21st, 2008, 07:25 PM
vpire vpire is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 150 vpire User rank is Corporal (100 - 500 Reputation Level)vpire User rank is Corporal (100 - 500 Reputation Level)vpire User rank is Corporal (100 - 500 Reputation Level)vpire User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 6 h 56 m 44 sec
Reputation Power: 6
Quote:
Originally Posted by normh
I'm trying to set up a ODBC connection to our SQL server when I do I get the errors below. FYI, these connect work fine from from the server, so it must be a remote connection problem. I have checked a bunch of the settings on the server and can't solve it.


If I use the SQL Server 2005 Native Client Driver the following error occurs:


---------------------------
Microsoft SQL Server Login
---------------------------
Connection failed:
SQLState: '08S01'
SQL Server Error: 233
[Microsoft][SQL Native Client]Named Pipes Provider: No process is on the other end of the pipe.


Connection failed:
SQLState: '08S01'
SQL Server Error: 233
[Microsoft][SQL Native Client]Communication link failure
Connection failed:
SQLState: '08001'
SQL Server Error: 0
[Microsoft][SQL Native Client]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.

---------------------------
OK
---------------------------

If I use the SQL Server 2000 Driver the following error occurs:

---------------------------
Microsoft SQL Server Login
---------------------------
Connection failed:
SQLState: '01000'
SQL Server Error: 233
[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (PreLoginHandshake()).
Connection failed:
SQLState: '08001'
SQL Server Error: 11
[Microsoft][ODBC SQL Server Driver][DBNETLIB]General network error. Check your network documentation.

---------------------------
OK
---------------------------

Any help would be greatly appreciated.

Norman


You might need to check the version of your MDAC on your client end and see whether it is different than your server end. Also what edition is your sql server 2005. Since some edition disable the remote connection by default and you need to use Surface Area Configuration tool to enable sqlserver and
sqlbrowser and start the sqlbrowser service if you haven't already done so.

Last edited by vpire : April 21st, 2008 at 07:30 PM.

Reply With Quote
  #3  
Old April 22nd, 2008, 09:38 AM
normh normh is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 19 normh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 28 m 56 sec
Reputation Power: 0
Quote:
Originally Posted by vpire
You might need to check the version of your MDAC on your client end and see whether it is different than your server end. Also what edition is your sql server 2005. Since some edition disable the remote connection by default and you need to use Surface Area Configuration tool to enable sqlserver and
sqlbrowser and start the sqlbrowser service if you haven't already done so.


I checked the MDAC verison and on the server it is MDAC 2.8 SP2 and on the client it is MDAC 2.8 SP1. How can I update the client? I look on the MS site but can only find SP1 for download....

Also I did check in the Surface Area Configuration tool and the remote connection is enbled and using TCP/IP and name pipes. And the services are running.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > SQL ODBC connection errors


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway