This article was previously published under Q294535
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 10884 (Plato7.x)
When you process a real-time cube that uses the Distinct Count function as an aggregation type for a Measure, the following error message occurs:
CREATE UNIQUE INDEX terminated because a duplicate key was found for index <Index Name>. Most significant primary key is <Key Name>. The statement has been terminated.
Decision Support Objects (DSO) generates the CREATE INDEX statement incorrectly. The Distinct Count field is left off, which then causes the error message to occur.
To resolve this problem, obtain the latest service pack for the Microsoft SQL Server 2000 (the Analysis Services Components - Sql2kasp1.exe). For additional information, click the following article number to view the article in theMicrosoft Knowledge Base:
290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack
Microsoft has confirmed that this is a problem in SQL Server 2000 Analysis Services version 8.0. This problem was first corrected in the Analysis Services Components of Microsoft SQL Server 2000 Service Pack 1.
SQL Server Books Online; topic: "real-time cubes"
OLAP CREATE UNIQUE INDEX terminated because a duplicate key was found