SSMS not connected on query tabs but still connected in object explorer

  • Hello,

    I leave SSMS open on my desktop overnight. Every morning when I get in, all of my query tabs show as "not connected"

    Is there a setting that controls this ?

    Note, it's not a timeout issue on queries and the databases are still connected in object explorer.

    Thanks

    R

  • I have the same problem in 2008. I never used to but I re-installed it recently and this started happening.

    Have you found anything yet?

  • zip184 (6/6/2013)


    I have the same problem in 2008. I never used to but I re-installed it recently and this started happening.

    Have you found anything yet?

    Maybe the autoclose proeprty is disconnecting you?

    I know on all express versions, you have to pay special attention to the autoclose property, which is ON by default in order to conserve resources.

    if you are connected to any of the databases with that proerty =true, it might be the issue:

    SELECT * FROM sys.databases where is_auto_close_on = 1

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • When I run: "SELECT * FROM sys.databases where is_auto_close_on = 1" I get no results.

    I don't think it's a DB property because other people who connect to it in my office don't have this problem. I didn't before I re-installed my client either.

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply