• 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
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    #11
    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

    Comment


      #12
      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.
      Best Forum Advisor 2014
      Work in the public sector? You can read my FAQ here
      Click here to get 15% off your first year's IPSE membership

      Comment


        #13
        Originally posted by original PM View Post
        I seem to be stuck with the server team laying all the blame at the feet of the developers and their code.
        Quite right, too.
        Best Forum Advisor 2014
        Work in the public sector? You can read my FAQ here
        Click here to get 15% off your first year's IPSE membership

        Comment


          #14
          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


            #15
            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


              #16
              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


                #17
                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


                  #18
                  Ahh, the benefits of change control
                  yes - 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


                    #19
                    Originally posted by original PM View Post
                    yes - 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.
                    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.

                    Comment


                      #20
                      Originally posted by original PM View Post
                      yes - 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.
                      oh well at least you get paid for it!
                      This default font is sooooooooooooo boring and so are short usernames

                      Comment

                      Working...
                      X