Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Stored procedure timeout

Stored procedure timeout

Scheduled Pinned Locked Moved Database
databasequestionsharepointsql-serversysadmin
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Johnny J
    wrote on last edited by
    #1

    I have a quite simple SP that for some reason generates a timeout ONCE IN A WHILE - mostly it's ok, but in some cases it isn't. I've tried increasing the timeout period twice, but I still get the timeout, so I don't really think that that's the problem. The timeout ONLY occurs in production, it is not reproducable in any staging environment or on my local development computer. So my question for today is: Does anybody know if it's possible to somehow get more detailed information from the SQL Server on WHY it times out? If it is simply due to the SP taking too long or if it has to do with something being locked or some entirely different possibility? The exception I catch is simply "The timeout period elapsed prior to completion of the operation or the server is not responding." TIA...

    Why can't I be applicable like John? - Me, April 2011
    -----
    Beidh ceol, caint agus craic againn - Seán Bán Breathnach
    -----
    Da mihi sis crustum Etruscum cum omnibus in eo!
    -----
    Just because a thing is new don’t mean that it’s better - Will Rogers, September 4, 1932

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups