Solved

SQL-Server refusing all outside ODBC connections

Posted on 1998-09-11
7
205 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 7

Expert Comment

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

Author Comment

by:altena
Comment Utility
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
Comment Utility
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
Comment Utility
Tnx for your Effort.
an E-mail messgae is in the mail-box :-)

0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

772 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

11 Experts available now in Live!

Get 1:1 Help Now