Solved

Upgrade SQL 2012 to SQL 2014

Posted on 2016-07-28
4
87 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 13

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 13

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
The following article is intended as a guide to using PowerShell as a more versatile and reliable form of application detection in SCCM.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

735 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