Microsoft KB Archive/294535

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

Article ID: 294535

Article Last Modified on 11/21/2006

-

APPLIES TO


 * Microsoft SQL Server 2000 Analysis Services

-



This article was previously published under Q294535



BUG #: 10884 (Plato7.x)



SYMPTOMS
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 . Most significant primary key is . The statement has been terminated.



CAUSE
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.



RESOLUTION
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



STATUS
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.



MORE INFORMATION
SQL Server Books Online; topic: &quot;real-time cubes&quot;

Additional query words: OLAP CREATE UNIQUE INDEX terminated because a duplicate key was found

Keywords: kbbug kbfix kbssas800sp1fix KB294535

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.