Solved

Failed to upgrade SharePoint Products

Posted on 2016-09-23
8
118 Views
Last Modified: 2016-09-28
Running SP 2013 on premise. Server updated and virus software stop. Using a system SP admin account, Cleared the SharePoint Timer, Stop search, ran this command in an Admin SP command window :  PSConfig.exe -cmd upgrade -inplace b2b -force -wait

Received this error what can I Do?:

PS C:\Users\mossdomain> PSConfig.exe -cmd upgrade -inplace b2b -force -wait
SharePoint Products Configuration Wizard version 15.0.4569.1503. Copyright (C) Microsoft Corporation 2012. All rights reserved.

Performing configuration task 1 of 4
Initializing SharePoint Products upgrade...

Waiting to get a lock to upgrade the farm.

Successfully initialized the SharePoint Products configuration.

Performing configuration task 2 of 4
Initiating the upgrade sequence...

Successfully initiated the upgrade sequence.

Performing configuration task 3 of 4
Upgrading SharePoint Products...

100.00% :
Failed to upgrade SharePoint Products.

An exception of type System.NullReferenceException was thrown.  Additional exception information: Object reference not s
et to an instance of an object.

Total number of configuration settings run: 3
Total number of successful configuration settings: 2
Total number of unsuccessful configuration settings: 1
Successfully stopped the configuration of SharePoint Products.
Configuration of SharePoint Products failed.  Configuration must be performed before you use SharePoint Products.  For f
urther details, see the diagnostic log located at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\1
5\LOGS\PSCDiagnostics_9_23_2016_8_45_56_940_283923486.log and the application event log.
0
Comment
Question by:cyberservices
[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
  • 4
  • 4
8 Comments
 
LVL 17

Expert Comment

by:Walter Curtis
ID: 41812487
Sure you have done this, but check the diagnostics log. It is large usually. Search for 'error' or 'failure'.

The message you show above usually indicates an issue with connecting to SQL. Double check connection, ports that may be blocked, and if possible, restart the SQL service.

Also, appears that you are starting the upgrade using PowerShell. Make sure you are running as an administrator, and that your SP Admin account has necessary permissions. On SP server(s) local administrator and on SQL server as least ??? Don't remember what you needs on SQL, but probably Sysadmin or something elevated like that on SQL. On SQL the SP Admin does not need to be a local admin. I will check on the SQL permissions if you need me to, let me know.

Hope that helps...
0
 

Author Comment

by:cyberservices
ID: 41812543
More info from the log states this is missing, CN=Microsoft SharePoint Products, I checked AD and the CN is not there. therefore if the CN is not there I can't write or give permissions to it. How do you get it there?


More info from log:

09/23/2016 08:05:30  13  INF              Resource retrieved id ServiceConnectionPointNotCreatedEventLog is Unable to create a Service Connection Point in the current Active Directory domain. Verify that the SharePoint container exists in the current domain and that you have rights to write to it.
 09/23/2016 08:05:30  13  INF            Leaving function StringResourceManager.GetResourceString
 09/23/2016 08:05:30  13  WRN            Unable to create a Service Connection Point in the current Active Directory domain. Verify that the SharePoint container exists in the current domain and that you have rights to write to it.
 Microsoft.SharePoint.SPException: The object LDAP://CN=Microsoft SharePoint Products,CN=System,DC=domain,DC=local doesn't exist in the directory.
    at Microsoft.SharePoint.Administration.SPServiceConnectionPoint.Ensure(String serviceBindingInformation)
    at Microsoft.SharePoint.PostSetupConfiguration.UpgradeTask.Run()
 09/23/2016 08:05:45  13  INF            Entering function TaskCommon.TraceToPsconfigLogAndUpgradeManagerLog
 09/23/2016 08:05:45  13  INF              Not spawning off the upgrade job, but rather running upgrade synchronously by calling SPFarm.Local.Upgrade() for inplace upgrade
 09/23/2016 08:05:45  13  INF            Leaving function TaskCommon.TraceToPsconfigLogAndUpgradeManagerLog
 09/23/2016 08:06:43  13  ERR            Task upgrade has failed with an unknown exception
 09/23/2016 08:06:43  13  ERR            Exception: System.NullReferenceException: Object reference not set to an instance of an object.
0
 
LVL 17

Accepted Solution

by:
Walter Curtis earned 500 total points
ID: 41812589
Great find, this is a straight fix, and this article does a good job of explaining this;

https://blogs.msdn.microsoft.com/opal/2010/04/18/track-sharepoint-2010-installations-by-service-connection-point-ad-marker/

Hope that helps...
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 17

Expert Comment

by:Walter Curtis
ID: 41813304
Any luck?
0
 

Assisted Solution

by:cyberservices
cyberservices earned 0 total points
ID: 41816553
I created the ADSI container and added permissions for the service account. I'm rerunning the psconfig and see what happens.
0
 

Author Comment

by:cyberservices
ID: 41820608
I started over from a backup and installed updates first then one by one did the updates that refer to SP and all seems well
0
 

Author Closing Comment

by:cyberservices
ID: 41820610
I started over from a backup and installed updates first then one by one did the updates that refer to SP and all seems well
0
 
LVL 17

Expert Comment

by:Walter Curtis
ID: 41820676
Thanks, glad you got it working.
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

730 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