Solved

ODBC error Connecting to SQL 2008 DB

Posted on 2012-03-13
6
1,417 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
Swamped with email signature updates?

Have you been given a load of changes to make to your users’ email signatures? Having to manually implement multiple signatures for every department? Let Exclaimer save you from being swamped with email signature updates!

 

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
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…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

863 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

26 Experts available now in Live!

Get 1:1 Help Now