Solved

ODBC error Connecting to SQL 2008 DB

Posted on 2012-03-13
6
1,408 Views
Last Modified: 2012-06-27
after creating a sql db and using the sa account to login via a pc or thin client i get this error: Connection failed:
SQLState:'01000'
SQL Server Error: 231
[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Connect()).
Copnnection failed:
SQLState: '08001'
SQL Server Error: 17
[Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.

If i log in to the server and run the application it works fine and i can connect to the DB via ODBC just fine using the same information?
0
Comment
Question by:mogurek
  • 3
  • 3
6 Comments
 
LVL 29

Expert Comment

by:Paul Jackson
ID: 37715994
Make sure if you have a firewall that port 1433 is open.

In SQL Server MAnagement studio on the server, right click the server name and select properties, on the connections page ensure remote connections is enabled.

In SQL Server Surface Area Configuration, select Surface area configuration for Services and Connections, UNder database engine > remote connection ensure setting is set to Local and Remote connections.
0
 

Author Comment

by:mogurek
ID: 37716024
Where do i go for the SQL Server Surface Area Configuration?  Remote connections is enabled.  Thank you for helping.
0
 
LVL 29

Expert Comment

by:Paul Jackson
ID: 37716056
Start > All Programs > Microsoft SQL Server 2008 > Configuration
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

Author Comment

by:mogurek
ID: 37716116
I have a configuration Tools>
         >Reporting Services Configuration Manager
         >SQL Server Configuration Manager
                 >SQL Server Services
                 >SQL Server Network Configuation (32bit)
                 >SQL Native Client 10.0 Configuation (32bit)
                 >SQL Server Network Configuation
                 >SQL Native Client 10.0 Configuration
         >SQL Server Error and Usage Report
         >SQL Server Installation Center (64-bit)
0
 
LVL 29

Accepted Solution

by:
Paul Jackson earned 500 total points
ID: 37716198
0
 

Author Comment

by:mogurek
ID: 37716629
Thanks, all of that is set correctly.  I think it may have something to do with the sa account and setting up the ODBC access?  Is there a way to see where in the ODBC configuration where it maybe dieing?
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

760 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

20 Experts available now in Live!

Get 1:1 Help Now