Solved

SQL-Server refusing all outside ODBC connections

Posted on 1998-09-11
7
221 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
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.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

821 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