FIX: Real-Time Cubes Fail to Process with a Measure Defined as Distinct Count

Article translations Article translations
Article ID: 294535 - View products that this article applies to.
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)
Expand all | Collapse all


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 the Microsoft 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"


Article ID: 294535 - Last Review: October 23, 2013 - Revision: 1.2
  • Microsoft SQL Server 2000 Analysis Services
kbnosurvey kbarchive kbbug kbfix kbssas800sp1fix KB294535

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from