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

Announcements

No record found.

News and Announcements icon
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

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 27 Super User 2026 Season 1

#2
Encore Business Solutions Profile Picture

Encore Business Sol... 14

#2
Eugen Podkorytov Profile Picture

Eugen Podkorytov 14

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans