Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Failed to upgrade SharePoint Products

Posted on 2016-09-23
8
Medium Priority
?
276 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 20

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 20

Accepted Solution

by:
Walter Curtis earned 2000 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
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
LVL 20

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 20

Expert Comment

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

Featured Post

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!

Question has a verified solution.

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

Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

597 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