Solved

ODBC error Connecting to SQL 2008 DB

Posted on 2012-03-13
6
1,427 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
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

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…
A procedure for exporting installed hotfix details of remote computers using powershell
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…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

840 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