Solved

SQL Server Connection Error- Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. (Microsoft SQL Server, Error: -2)

Posted on 2014-11-25
9
987 Views
Last Modified: 2014-12-15
HI,

I am facing an issue on SQL Server, i am getting this error: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. (Microsoft SQL Server, Error: -2). But error is not coming everytime i connect. It gives me error sometime.

I have enabled all services added exception on firewall, disabled firewall.
Os is windows server 2008 r2, and SQL server 2208 r2 is database.

Server gives me following error:

Error: 18456, Severity: 14, State: 8.

Error: 18456, Severity: 14, State: 5.: Login failed for user 'sa'. Reason: Password did not match that for the login provided.
0
Comment
Question by:Mandeep Singh
  • 5
  • 2
  • 2
9 Comments
 
LVL 9

Expert Comment

by:teebon
ID: 40466172
Hi Mandeep,

Where did you receive this error, in an application connecting to SQL Server or from SQL Server Management Studio?
0
 
LVL 6

Author Comment

by:Mandeep Singh
ID: 40466184
sq server managment studio and i am seeing this in sql server log.
0
 
LVL 9

Expert Comment

by:teebon
ID: 40466194
Hi Mandeep,

You are connecting locally? Any other users accessing this SQL Server?
0
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.

 
LVL 6

Author Comment

by:Mandeep Singh
ID: 40466243
i am connecting it through locally & remotely. It gives error on both.

also what i see is when i try to connect using IP, its throws error, but by . it works fine.
0
 
LVL 47

Expert Comment

by:Vitor Montalvão
ID: 40466308
Sounds like you didn't set the SPN for that SQL Server instance.
I wrote an article in my blog about that. Check if it can help you.
0
 
LVL 6

Author Comment

by:Mandeep Singh
ID: 40466332
Hi Vitor,

this is default instance and single instance on that machine, then so SPN helps me. What i understand about SPN is :  client uniquely identifies an instance of a service. If you install multiple instances of a service on computers throughout a forest, each instance must have its own SPN.
0
 
LVL 47

Expert Comment

by:Vitor Montalvão
ID: 40466333
If you install multiple instances of a service on computers throughout a forest, each instance must have its own SPN.
That's right. Check the SPN and if not exist just create it. Should work after.
0
 
LVL 6

Accepted Solution

by:
Mandeep Singh earned 0 total points
ID: 40493390
Do the services run as Local System , then it works fine.
0
 
LVL 6

Author Closing Comment

by:Mandeep Singh
ID: 40499961
none
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
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
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

776 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