Solved

Failed to upgrade SharePoint Products

Posted on 2016-09-23
8
151 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 18

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 18

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
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 
LVL 18

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 18

Expert Comment

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

Featured Post

Independent Software Vendors: 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!

Question has a verified solution.

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

I recently came across an issue with a MOSS 2007 deployment where access into some sub-sites were denied, even for the MOSS farm administrators. A bit of background to the setup of this MOSS farm; this was a three server setup, consisting of a fr…
SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

695 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