IMPORTANT: Follow the steps below only if you are an SQL specialists and only after you have created a backup of your databases.
Run the following SQL query on the
MTMaster database to confirm the error "Arithmetic overflow error converting expression to data type int." is returned:
SELECT SUM(len) AS TotalHits FROM MtIndexes -- will error overflow if [len] is [int]
If the error is confirmed, run the following query on the
[MTMaster] database to convert the type from
int to
bigint:
SELECT SUM(convert(bigint,len)) AS TotalHits FROM MtIndexes
ALTER TABLE [dbo].[MtIndexes]
ALTER COLUMN [len] bigint not null -- was [int]