Solved

SQL-Server refusing all outside ODBC connections

Posted on 1998-09-11
7
208 Views
Last Modified: 2010-03-19
For reasons unknown to me, my Development-setup suddenly
refuses all and any ODBC logins from other machines.

The database accepts all requests from the local machine.

This happened a few hours after i finished my pre-release
"Now format that hard-disk and recover the whole system" excercise. (after which it all worked for a while.)

An "A" if you can help me fix this before next week.
(Then I'll recover the DB again)

tnx
0
Comment
Question by:altena
  • 3
  • 3
7 Comments
 

Accepted Solution

by:
SpaarQ earned 200 total points
ID: 1090013
Check the settings of your Login Security Mode.  If it was previously setup for Windows Integrated Security, you must add into your Server Logins the login names of users accessing your Server from a clien workstation.

Also, check on the number of connections allowable.

Good Luck!
0
 

Expert Comment

by:SpaarQ
ID: 1090014
In addition to the above.

If the machines are logged on to another Machine(Domain) othet than your SQL Server, check if mapping exists between the client machines and your SQL Server.  Otherwise,
the machines will be logged on as 'guest' - or 'sa' if they have administrator priviliges to NT.

Hope this helps.
0
 
LVL 3

Author Comment

by:altena
ID: 1090015
Tnx for the commments, Ill  look into it monday.

I use SQL-Security only, since only components log into
the database. User access to the components is protected
by NT-security.

By the way, here is my e-mail, we weem to be doing a lot
of the same work: AltenaR@Yahoo.com.
0
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.

 
LVL 7

Expert Comment

by:spiridonov
ID: 1090016
Do you receive any error messages or entries in SQL  error log or NT event log?
0
 
LVL 3

Author Comment

by:altena
ID: 1090017
I checked the security mode today: It doesnt seem to matter how I set it.
Only Logins from within the Domain are accepted (Using SQL-Server Security). The easiest way to test seems to be with the ODBC manager.

 Access Refused. (or success if in the domain itself)

I could use some more hints this week...

0
 

Expert Comment

by:SpaarQ
ID: 1090018
Here's a suggestion:

1. From your client workstation, Ping the IP address of you SQL Server.  If you there is no response, setup your network connections in your Server Manager and add the Domain/s where the client machines are logged on.  You should make sure that you can receive any response from you Server if you try to Ping from the client workstation after the Network has been setup.

2. If the client machine can receive response from you Server, try to map a drive or directory from the client to your Server.
You might see a message that asks for a login name and/or password.  Enter the login name and/or password that you are using to access or bring up your Server(SA or Administrator, perhaps).

3. After getting a mapped drive, open you Control Panel\ODBC. Check your ODBC Drivers if you have one for SQL Server (check the versions). I you have one,  Add a Data Source to the System DSN\System Data Sources.

Specify the Data Source Name(and keep it).  The Server field should have the IP Address of your Server.  If your SQL Server allows Trusted connection, set the Trusted connection to TRUE.

4.  Specify the Database name you wish to have access to from you SQL Server.

If it doesn't work still,  I suspect two the ff: are the reasons.
1.  Network Connections.  Your machines can't Ping your SQL Server.

2.  ODBC SQL Driver is corrupt or it is of incorrect version.  Reinstall it.

I had the same similar problems few weeks ago.  Luckily, I was able to restore it.

Good Luck!

0
 
LVL 3

Author Comment

by:altena
ID: 1090019
Tnx for your Effort.
an E-mail messgae is in the mail-box :-)

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduced in Microsoft SQL Server 2005, the Copy Database Wizard (http://msdn.microsoft.com/en-us/library/ms188664.aspx) is useful in copying databases and associated objects between SQL instances; therefore, it is a good migration and upgrade tool…
Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

929 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

12 Experts available now in Live!

Get 1:1 Help Now