Avatar of DavidLumpkin
DavidLumpkin
Flag for United States of America asked on

Unable to open Query Window

I have a new installation of MS SQL SERVER 2008.  It is to be an upgrade to my SQL 2000 database.  Trying to import the system databases, I issued NET START MSSQLSERVER /m command to get into single user mode but was unable to import system dbs.  I then restarted SQL to be in multi user mode.

But I cannot open a query window.  I get the message that the server is in single user mode.  I’ve logged into the server using the same default start up account that SQL Services use, but still unable to connect to a query window.  I’ve tried my account (system administrator), the SA account and my sql services account.  Nothing worked.

I’ve stopped and restarted SQL Server several times (without the /m switch).  I’ve turned off SQL Agent and all other related SQL services.  When I restart, either from the command prompt or from the Services Management Console, I get the same error.
I cannot get the database out of single user mode.  Other posts give instructive commands to issue, but I cannot open a query window to issue them.  Any ideas?
Microsoft SQL ServerMicrosoft SQL Server 2008

Avatar of undefined
Last Comment
DavidLumpkin

8/22/2022 - Mon
David Kroll

avbsql

I guess you might have tried from DAC as well, but at times i have seen the toggle to switch to multiuser mode gets stuck as there are other services like sql agent running. try killing other services and just have sql server and agent up. That might help.
DavidLumpkin

ASKER
Yes, dkrollCTN, I had gone through that article.  That why I tried turning off SQL Agent, SSIS, SSAS, etc.  Still nothing.

avbsql, I tried DAC, but get the same connection error.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
mastoo

You tried closing SSMS, set your sql startup to have -m "sqlcmd"
and then try it without the DAC: sqlcmd -S servername -T
DavidLumpkin

ASKER
No luck.

Also, when I try to open activity monitor, I get the same single user mode error.  I can do nothing.
ASKER CERTIFIED SOLUTION
DavidLumpkin

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
DavidLumpkin

ASKER
The comments received, while helpful, did not work.  Most I had already found prior to stating my question.  Had to cut my losses and start again.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.