Have you sat down with the DBA and run a SQL trace to see what is happening. Did anything change 2 weeks ago? It could be a network issue as well as a server issue. The trace should show you where the timeout is occurring
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Unhandled Exception errors and timeouts on application HELP!!
Collapse
X
-
-
No amount of resources is going to stop an unhandled exception - code it properly to handle all exceptions.
More resources MIGHT handle the timeout, it all depends on the underlying cause of the timeout - e.g. if the timeout is caused because of another user locking a record, then no amount of resources is going to make the timeout go away.Comment
-
Quite right, too.Originally posted by original PM View PostI seem to be stuck with the server team laying all the blame at the feet of the developers and their code.Comment
-
You need to run Perfmon on the SQL Server and determine what's going on first. Check to see how many SQL parses (hard parses) it is doing and how much disk activity and look for excessive numbers of waits and blocking etc.. Determine if the application is:
memory bound, IO bound or CPU bound.
Memory bound - adjust accordingly
IO bound - shift files to faster devices
CPU bould - either recode or install on faster machine
Good luck!McCoy: "Medical men are trained in logic."
Spock: "Trained? Judging from you, I would have guessed it was trial and error."Comment
-
Hi All,
Again thanks for the replies
With regards to whether something happened 2 weeks ago - apparently yes another databse was migrated onto the same server as ours and some of our resources were 'stolen' this has been resolved.
The DBA has been looking at it - apparently he made some tweaks which should speed up.
I will also ask the techy teams to look at the other areas you mentioned to ensure we can nail the reliability of the system.
Thanks again!Comment
-
Some good suggestions so far for the little info we have. App, DB, or network - it could be any one or a combination thats causing the problem.
You could also ask devs to isolate the query / stored proc thats running and put through query analyser to look at execution plans. Depending on the outcome, it maybe that your techies can improve things through indexing, updating statistics or rewriting the query involved.
You can try a short-term fix by increasing the watermark (and this is not ideal really). Increase the timeout in the sql connection string or increase the command-timeout; again not enough info to suggest which. The latter will require a small code change and the former probably just a config change (depending on how the app is written).
If your devs, dbas, sysadmins are palming the responsibility off on each other. Get them to work together. Lock them all in a room and don't let them out until they find a solution.Comment
-
Glad you found your solution.
[QUOTE=original PM;759987]With regards to whether something happened 2 weeks ago - apparently yes another databse was migrated onto the same server as ours and some of our resources were 'stolen' this has been resolved.[QUOTE]
Ahh, the benefits of change control
Comment
-
yes - up to about 6 months ago the developer and the server administrator sat pretty much next to each other.Ahh, the benefits of change control
unfortunately in the name of progress the server admin bod was moved up to Manchester (from Stoke) and then a load of red tape thrown around him (in the name of some form of crazy It service managment solution) - so we went from having something that worked to something that didn't!
in addition to this we have a load of b*ll*ck jugglers playing politics so if you speak to someone who is not their friend nothing gets done (even if you go through the correct but every changing lengthy and pointless procedures)
anyway it was my first brush with the new server control team and I think they now have the message of what we need and how to support us going forward so I do not foresee any further issues of this nature.Comment
-
Sounds all too familiar. If you'd have said Bangalore instead of Manchester, I'd have sworn we were both working for the same client.Originally posted by original PM View Postyes - up to about 6 months ago the developer and the server administrator sat pretty much next to each other.
unfortunately in the name of progress the server admin bod was moved up to Manchester (from Stoke) and then a load of red tape thrown around him (in the name of some form of crazy It service managment solution) - so we went from having something that worked to something that didn't!
in addition to this we have a load of b*ll*ck jugglers playing politics so if you speak to someone who is not their friend nothing gets done (even if you go through the correct but every changing lengthy and pointless procedures)
anyway it was my first brush with the new server control team and I think they now have the message of what we need and how to support us going forward so I do not foresee any further issues of this nature.Comment
-
oh well at least you get paid for it!Originally posted by original PM View Postyes - up to about 6 months ago the developer and the server administrator sat pretty much next to each other.
unfortunately in the name of progress the server admin bod was moved up to Manchester (from Stoke) and then a load of red tape thrown around him (in the name of some form of crazy It service managment solution) - so we went from having something that worked to something that didn't!
in addition to this we have a load of b*ll*ck jugglers playing politics so if you speak to someone who is not their friend nothing gets done (even if you go through the correct but every changing lengthy and pointless procedures)
anyway it was my first brush with the new server control team and I think they now have the message of what we need and how to support us going forward so I do not foresee any further issues of this nature.This default font is sooooooooooooo boring and so are short usernamesComment
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- Why contractors keep putting off their pension (and why I'm one of them) Today 02:43
- HMRC loan charge settlement offer: 3 things to check before you sign Yesterday 07:41
- HMRC standstill agreements extended to 72 months: why the term's doubled, and what to check before signing Jul 31 05:53
- Who owns the loans? Inside the mystery of the loan charge recall scandal Jul 30 06:20
- Umbrella company winding-up petitions in 2026: the practical guide for contractors Jul 29 05:29
- Payments on Account deadline: what contractors must do before July 31st — maybe for the final few times Jul 28 08:01
- Andy Burnham's first 100 days: five things contractors need from the new PM Jul 27 00:53
- Starmer vs Burnham on housing: What their rival plans mean for your contractor mortgage Jul 22 00:59
- Burnham's housing vision vs. Starmer's home-buying reforms: what it means for your contractor mortgage Jul 22 00:59
- In Khalil v Innovate Transport, a limited company contractor wasn’t a worker and was on £2.30 — not £230 Jul 21 07:58

Comment