Share via

SharePoint 2016 WebApplication Content Database schemas are not getting created on latest version using SharePoint server side API

Anonymous
2017-07-12T14:26:16+00:00

I'm trying to create new SharePoint content database from SharePoint server side API using Microsoft.SharePoint.dll and using below method. 

SPWebApplication.ContentDatabases.Add(parameters...)

But, it is not creating content database schema on latest available version and Farm is asking to upgrade the database.

Database Schema Versions <br> --- <br> <br> Microsoft.SharePoint.Upgrade.SPContentDatabaseSequence Current Schema Version: 16.0.77.0, Maximum Schema Version: 16.0.79.0 <br> --- <br> Microsoft.SharePoint.Upgrade.SPContentDatabaseSprocsSequence Current Schema Version: 16.0.87.0, Maximum Schema Version: 16.0.96.0 <br> Microsoft.SharePoint.Upgrade.SPContentDatabaseSequence2 Current Schema Version: 16.0.3.0, Maximum Schema Version: 16.0.5.0 <br> Microsoft.SharePoint.Upgrade.SPGlobalExtensionUpgradeSequence Current Schema Version: 16.0.4.0, Maximum Schema Version: 16.0.6.0 <br> Microsoft.Office.Project.Server.Database.Extension.Upgrade.PDEUpgradeSequence Current Schema Version: 16.1.250.0, Maximum Schema Version: 16.1.287.0 <br> Microsoft.SharePoint.Administration.SPContentDatabase Current Schema Version: 16.0.4230.1204, Maximum Schema Version: 16.0.4549.1000

How to fix this issue?

Your help is much appreciated

Microsoft 365 and Office | SharePoint | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Anonymous
    2017-07-12T15:43:18+00:00

    Hi Vikasjeet51,

    Given your description, we suggest you post a new thread in our SharePoint TechNet forum for professional support. This is the specific channel which handles on-premises SharePoint server related questions and issues.

    Thanks for your understanding.

    Tim

    Thank You Tim,

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2017-07-12T14:44:57+00:00

    Hi Vikasjeet51,

    Given your description, we suggest you post a new thread in our SharePoint TechNet forum for professional support. This is the specific channel which handles on-premises SharePoint server related questions and issues.

    Thanks for your understanding.

    Tim

    Was this answer helpful?

    0 comments No comments