Solved

Time out issue

Posted on 2013-06-19
6
311 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
  • 4
  • 2
6 Comments
 
LVL 2

Accepted Solution

by:
eli411 earned 500 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
Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

 
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

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
voice vlan on meraki using 3CX 3 55
Sonicwall TZ 205- Dropping Incoming E-mail as IP Spoof 13 88
Guest Wi-Fi Marketing solution required 8 58
PCI Compliance Free scan 2 74
Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

930 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now