?
Solved

SQL 2012 hosted database, losing connection on client

Posted on 2014-09-16
10
Medium Priority
?
101 Views
Last Modified: 2014-10-18
Hi,

I have a remote server which includes MS SQL 2012 on it.

I am hosting a database for a client, that he connects to with a remote Access app.

Recently he has reported multiple disconnections from the database per day, which occur from all sites using the database, so it sounds like the server end rather than the client end.

Looking in the SQL Server Logs in management studio, I see a lot of entries like:

SSPI handshake failed with error code 0x8009030c, state 14 while establishing a connection with integrated security; the connection has been closed. Reason: AcceptSecurityContext failed. The Windows error code indicates the cause of failure. The logon attempt failed   [CLIENT: ***.***.***.***]

(There is an actual IP address in the message, which I have removed!)

Any ideas how I can fix this?

Richard
0
Comment
Question by:rpm
[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
  • 5
  • 4
10 Comments
 
LVL 52

Expert Comment

by:Vitor Montalvão
ID: 40327395
Isn't a SQL Server problem. Seems to me that you need to talk with the people that manage the DNS.
0
 
LVL 1

Author Comment

by:rpm
ID: 40327489
That's interesting. What is the issue with DNS? I manage my own DNS through a company called 123-Reg
0
 
LVL 52

Expert Comment

by:Vitor Montalvão
ID: 40327493
Since you removed an IP address I think you should check if that IP still registed in DNS. Maybe is pointing to some other machine.
You can also check for the host file. Some old entry that you need to delete?
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 1

Author Comment

by:rpm
ID: 40327500
I think you might have misunderstood my comment. When I referred to removing an IP address I meant that I removed the actual address from the text that I posted, not that I have changed any IP settings on the server,
0
 
LVL 52

Expert Comment

by:Vitor Montalvão
ID: 40327506
Oh, sorry. I really misunderstood that.
0
 
LVL 52

Expert Comment

by:Vitor Montalvão
ID: 40327509
Did you try to restart the server?
0
 
LVL 1

Author Comment

by:rpm
ID: 40327510
Don't worry! Thanks for trying to help, anyway.
0
 
LVL 30

Expert Comment

by:Rich Weissler
ID: 40335604
Greetings rpm.  Lets look in the direction of authentication of the logins into the databases.  I assume some connections have in the past, and still do authenticate correctly and are working normally.  Are the connections mixed between using SQL authentication and Windows authentication?  (And if Windows... are they domain credentials?)  And if domain... are you using NTLM or Kerberos authentication?

I'm going to guess that you're missing Service Principle Name entries.

But there are a few other possibilities, and here's a good blog entry for troubleshooting.
0
 
LVL 1

Accepted Solution

by:
rpm earned 0 total points
ID: 40377646
Problem was never resolved! The client left me!
0
 
LVL 1

Author Closing Comment

by:rpm
ID: 40388142
Not resolved
0

Featured Post

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Ready to get certified? Check out some courses that help you prepare for third-party exams.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

718 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