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. sql server hangs with multi queries

sql server hangs with multi queries

Scheduled Pinned Locked Moved Database
databasesql-serversysadminwindows-adminhelp
4 Posts 2 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.
  • E Offline
    E Offline
    Eli Nurman
    wrote on last edited by
    #1

    Hi. I have a website (IIS) that clients make queries to the server which could take up to a minute to get the results. With that i have no problem. but when a different user(!) on IIS tries to query even a different table he will hang until the first user is responded. When i enter SSMS i can query and get immediate result. Does anyone have a solution for this? I must mention, that the SQL Connection in the website is not unique per request or per client, it is one connection for all requests, any chance that this is the reason for the wait? Thanks. Eli

    J 1 Reply Last reply
    0
    • E Eli Nurman

      Hi. I have a website (IIS) that clients make queries to the server which could take up to a minute to get the results. With that i have no problem. but when a different user(!) on IIS tries to query even a different table he will hang until the first user is responded. When i enter SSMS i can query and get immediate result. Does anyone have a solution for this? I must mention, that the SQL Connection in the website is not unique per request or per client, it is one connection for all requests, any chance that this is the reason for the wait? Thanks. Eli

      J Offline
      J Offline
      jschell
      wrote on last edited by
      #2

      Eli Nurman wrote:

      any chance that this is the reason for the wait?

      yes.

      E 1 Reply Last reply
      0
      • J jschell

        Eli Nurman wrote:

        any chance that this is the reason for the wait?

        yes.

        E Offline
        E Offline
        Eli Nurman
        wrote on last edited by
        #3

        Hi, Thanks for you reply. So how can i solve this? Why are queries via SSMS not affected?

        J 1 Reply Last reply
        0
        • E Eli Nurman

          Hi, Thanks for you reply. So how can i solve this? Why are queries via SSMS not affected?

          J Offline
          J Offline
          jschell
          wrote on last edited by
          #4

          Eli Nurman wrote:

          So how can i solve this

          Use more than one connection.

          Eli Nurman wrote:

          Why are queries via SSMS not affected?

          Because it is using a different connection.

          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