Solved

Upgrade SQL 2012 to SQL 2014

Posted on 2016-07-28
4
70 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
ID: 41734243
I do not know the reason, But when I repair using 2014 installation - it has successfully upgraded
0
 
LVL 12

Expert Comment

by:Nakul Vachhrajani
ID: 41734252
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
ID: 41734256
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 12

Accepted Solution

by:
Nakul Vachhrajani earned 500 total points
ID: 41734258
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
I have a large data set and a SSIS package. How can I load this file in multi threading?
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

867 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

17 Experts available now in Live!

Get 1:1 Help Now