web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Unanswered

upgrading Dynamics365 8.2 to 9.0 error - AuditBase_EnableIncrementalStatistics.sql

(0) ShareShare
ReportReport
Posted on by

receiving the following error, during the upgrade process.

I will be grateful to have the errors resolve.

Many thanks,

PJ

00:30:28|  Error| Applying database updates to organization with name = abc-company Id=4efef903-4bb5-e311-9402-003067776c5b failed with Exception:
Microsoft.Crm.CrmException: Error in Action: AuditBase_EnableIncrementalStatistics.sql on attempt 3. System.Data.SqlClient.SqlException (0x80131904): This type of statistics is not supported to be incremental.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
Error Number:9108,State:3,Class:16
00:30:28|  Error| Installer Complete: OrganizationDBUpdateInstaller - Error encountered
00:30:28|  Error| Exception occurred during Microsoft.Crm.Tools.Admin.OrganizationDBUpdateInstaller: Error.ActionFailed Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction
Microsoft.Crm.CrmException: Error in Action: AuditBase_EnableIncrementalStatistics.sql on attempt 3. System.Data.SqlClient.SqlException (0x80131904): This type of statistics is not supported to be incremental.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
Error Number:9108,State:3,Class:16
00:30:28|  Error| Import Organization (Name=ZeabaSolutionsLtd, Id=4efef903-4bb5-e311-9402-003067776c5b) failed with Exception:
System.Exception: Error.ActionFailed Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction ---> Microsoft.Crm.CrmException: Error in Action: AuditBase_EnableIncrementalStatistics.sql on attempt 3. System.Data.SqlClient.SqlException (0x80131904): This type of statistics is not supported to be incremental.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
Error Number:9108,State:3,Class:16
00:30:39|  Error| Import Organization (Name=ZeabaSolutionsLtd, Id=4efef903-4bb5-e311-9402-003067776c5b) failed with Exception:
System.Exception: Error.ActionFailed Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction ---> Microsoft.Crm.CrmException: Error in Action: AuditBase_EnableIncrementalStatistics.sql on attempt 3. System.Data.SqlClient.SqlException (0x80131904): This type of statistics is not supported to be incremental.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
Error Number:9108,State:3,Class:16

I have the same question (0)
  • Community Member Profile Picture
    on at

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 20 Super User 2025 Season 2

#2
TAHER Mehdi Profile Picture

TAHER Mehdi 14

#3
Pallavi Phade Profile Picture

Pallavi Phade 9

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans