Hi,
Im trying to delete old partitions but the system is not allowing me. I checked partition list and I found out that the last partition could not be created. (using CRM Job editor)
This is a CRM 2013 instance On premise.
The error is the following
Failed to drop Partition on AuditBase. Exception message ALTER TABLE SWITCH statement failed. There is no identical index in source table 'XXXXX_mscrm.dbo.AuditBase' for the index 'ndx_PrimaryKey_NonPartitionAuditTable' in target table 'XXXXX_mscrm.dbo.NonPartitionAuditTable' .
* XXXX is my Organization.
The thing is that I tried all solutions around, OLEDBTimeout... and more.
I think that the metadata on the indexes is corrupted, because I compare the indexes with another server and they are ok. A rebuild over the clustered index should recreate the metadata of every clustered and non clustered index, right? Any other ideas?
The Audit log is too big now, I don't know how to force creating a new partition nor fix this problem.