Solved

Create a new Data Source to SQL SERVER

Posted on 2006-11-08
14
990 Views
Last Modified: 2012-05-05

When i trying to create new data source name i got the following error

Connection failed:
SQL State : '01000'
SQL Server Error : 11001
[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]Connection Open[Connect[]].
Connection failed:
SQL State : '08000'
SQL Server Error : 6
[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]Specified SQL Server not found.

how do i rectify it
0
Comment
Question by:taru_bhargava
  • 7
  • 5
14 Comments
 
LVL 9

Expert Comment

by:gpompe
ID: 17901730
This error means that you cannot reach the Server. So some of possible problem are:

1. Typo in the Server name you wrote.

2. Due to network configuration you cannot reach the server box from your box

3. The sql server was configured to listen in other port than 1433

4. SQL server is not running

Some test you can do are ping the server box. Try creating the datasource using IP instead of server name.

If you have the SQL Client tools, try connecting usin Query Analyzer (or Management Studio depending on the version you are using)

Let me know the result so we work from there.
0
 

Author Comment

by:taru_bhargava
ID: 17901862
I am using Apachee Tomcat as server, Server name i typed in the window is "Local Server".SQL Server is also running.
How would i test that whether SQL Server is configured to listen to another port than 1433.


Please help
0
 
LVL 9

Expert Comment

by:gpompe
ID: 17901941
In the server name try Localhost or (local).

0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 9

Expert Comment

by:gpompe
ID: 17901956
To check the port there is a program called Server Network Utility in the SQL Server program group.

Select the protocol TCP/IP and then click properties...
0
 

Author Comment

by:taru_bhargava
ID: 17902043
I couldn't find out that where this server network utility is located and please be little elaborate so that i can solve my problem fast as i really running out of time Kindly give me all details
0
 
LVL 9

Expert Comment

by:gpompe
ID: 17902168
On the SERVER BOX goto All programs >> Microsoft SQL Server >> Server Network Utility. (This application is installed with the Server)
0
 

Author Comment

by:taru_bhargava
ID: 17902216
what is this server box
0
 
LVL 9

Expert Comment

by:gpompe
ID: 17902224
the machine where SQL SERVER is Running.
0
 

Author Comment

by:taru_bhargava
ID: 17902273
SQL server is running on my machine that is local server,  actually could you please provide me the whole solution to my problem as exactly what should i do, is there any problem in installation and whatever links you are telling to search i am not getting them
0
 
LVL 9

Expert Comment

by:gpompe
ID: 17902312
What version of SQL Server are you using ?
0
 

Author Comment

by:taru_bhargava
ID: 17902330
7.0
0
 
LVL 9

Accepted Solution

by:
gpompe earned 500 total points
ID: 17902373
If you are using 2005 you have to go to Start >> All Program >> Microsoft SQL Server 2005 >> Configuration Tools >> Sql Server Configration Manager

In there you have to check if you server is running. Check if the column state of SQL Server (MSSQLSERVER) says "Running"

and to check the port click on Sql Server 2005 Network Configration >> Protocols for MSSQLSERVER and Double click on TCP/IP.
This will open a window, on this window click on tab IP Address check the rows TCP Port
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

730 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