Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ODBC error Connecting to SQL 2008 DB

Posted on 2012-03-13
6
Medium Priority
?
1,523 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
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 

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 1500 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

971 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