Solved

Failed to upgrade SharePoint Products

Posted on 2016-09-23
8
94 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
  • 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When installing SharePoint 2010 RTM I came across a strange error, I was getting timeouts during the installation. I searched the web and found the best solution to be found here (http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010genera…
I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

856 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