?
Solved

Time out issue

Posted on 2013-06-19
6
Medium Priority
?
318 Views
Last Modified: 2013-06-19
I have two different machines that are querying a backend database from Excel in EXACTLY the same way and on the same network.

One times out and the other doesn't.

Looking for suggestions on things to check.
0
Comment
Question by:patriotpacer
[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
  • 4
  • 2
6 Comments
 
LVL 2

Accepted Solution

by:
eli411 earned 2000 total points
ID: 39260045
set the connection string timeout in config file!
0
 

Author Comment

by:patriotpacer
ID: 39260058
>>set the connection string timeout in config file!

Changing the query is not an option at this point.
0
 

Author Comment

by:patriotpacer
ID: 39260087
It's really 5 machines with NO issues and just one machine with an issue.

Wasn't sure if there's anything on the machine that doesn't work that could be checked?  Network card, etc...?
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
LVL 2

Expert Comment

by:eli411
ID: 39260248
Most likely is inside the coding with connection string opened.   The SQL Server automatically drop the connection to conserve resource and caused timeout.  I used to manage web servers and database servers and coding and had same issues.  I finally found that the issue was in my coding one day because I forget to close the connection in my coding.  

It is going to be painful to find that line of code or you can extending the SQL Server connection timeout setting!
0
 

Author Comment

by:patriotpacer
ID: 39260269
thx, Eli.

I agree the timeout issue can be extended.  But adjusting the code that connects is the last option at this point.

I want to know why 5 computers have no issues and only 1 computer has an issue.  All on the same network.  Again, only ONE will timeout.  The other 5 have absolutely ZERO issue running the EXACT same query and the exact same time.
0
 

Author Closing Comment

by:patriotpacer
ID: 39260463
don't have time to leave this open.

Might have to go down extending the time out route.
0

Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

770 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