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
1,045 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
[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
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 50

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 50

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

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
encrypt SQL Server 2008 port 1433 3 47
Complex SQL Server WHERE CLause 9 39
Cannot get group page break to work in SSRS 2008R2. 14 38
SQL Query 9 27
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.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
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.

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