dbTalk Databases Forums  

Call for Experts! Urgent Drillthrough error using drillthrough.htc

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Call for Experts! Urgent Drillthrough error using drillthrough.htc in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
pras
 
Posts: n/a

Default Call for Experts! Urgent Drillthrough error using drillthrough.htc - 06-17-2005 , 06:55 AM






Hello,

Drillthru is Enabled in the cubes, works fine some times gives this
serious error message.

"Could not get detail records for this aggregate.
Make sure that permissions to obtain drillthrough records are set
properly on the OLAP server"


Solution proposed by one of the experts was to change the code

from
=============================
sMDX = "DRILLTHROUGH\n";
sMDX = sMDX + "SELECT FROM [" + element.DataMember + "]\n";
sMDX = sMDX + "WHERE (" + GetTupleMDX(tupCore);
=============================


to
=============================
sMDX = "DRILLTHROUGH\n";
if (element.DataMember.charAt(0) == "[")
sMDX = sMDX + "SELECT FROM " +
element.DataMember + "\n";
else
sMDX = sMDX + "SELECT FROM [" +
element.DataMember + "]\n";
sMDX = sMDX + "WHERE (" + GetTupleMDX(tupCore);
=============================


but the error still persisits.


Can anyone let me know resolution for the same.


Thanks in advance.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.