Solved

SQL-Server refusing all outside ODBC connections

Posted on 1998-09-11
7
228 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

 
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need more granular date groupings 4 45
SQL State HYT00. Timeout expired proplem 8 44
Do not display comma when no last name 8 48
TDE for SQL Web Edition 1 40
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

734 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