Solved

Failed to upgrade SharePoint Products

Posted on 2016-09-23
8
35 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 14

Expert Comment

by:SneekCo
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 14

Accepted Solution

by:
SneekCo 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
 
LVL 14

Expert Comment

by:SneekCo
ID: 41813304
Any luck?
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

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 14

Expert Comment

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

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

The Scenario: Let’s say you have a quote worksheet in Excel that you use to work up sales figures and such for your clients. You utilize SharePoint to manage and keep track of these documents. You would like values from your worksheet to populate Sh…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

760 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now