Solved

Upgrade SQL 2012 to SQL 2014

Posted on 2016-07-28
4
63 Views
Last Modified: 2016-08-01
I am trying to upgrade SQL 2012 to SQL 2014 Express (SCCM Secondary Site).  Database engine has failed and Reason: Server is in single user mode. Only one administrator can connect at this time...
How to solve this issue?
0
Comment
Question by:asnagesh
  • 2
  • 2
4 Comments
 

Author Comment

by:asnagesh
Comment Utility
I do not know the reason, But when I repair using 2014 installation - it has successfully upgraded
0
 
LVL 11

Expert Comment

by:Nakul Vachhrajani
Comment Utility
Repair would have rebuilt the databases, which is why all open connections would have been killed and hence you are now able to connect.
0
 

Author Comment

by:asnagesh
Comment Utility
I have 12 more servers to upgrade - How can I make sure all connections are killed before the upgrade so that the error may not repeat - any idea
0
 
LVL 11

Accepted Solution

by:
Nakul Vachhrajani earned 500 total points
Comment Utility
Best way to close out all open connections by stopping user services that connect to the databases on the instance.

Once you have shutdown all services, then you can use sp_who/sp_who2 to determine who is still connected to the server and close those user connections as well.

Once all user connections are closed, stop and restart the existing SQL 2012 service.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now