EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB47670: Customizing the Error Message "Maximum number of result rows retrieved per report was exceeded. Error Code = -2147205488" has No Effect for Documents Using the MicroStrategy Web SDK 9.4.x


Community Admin

• Strategy


SYMPTOM:
 
When the maximum rows retrieved for a report are exceeded, an error similar to the following may be shown in Strategy Web:

ka04W000000OdDiQAK_0EM440000002GTZ.png

 


(Maximum number of result rows retrieved per report was exceeded.Error in Process method of Component: QueryEngineServer, Project Strategy Tutorial, Job 25, Error Code= -2147205488.) 

 
It is possible to customize this error for Strategy Web, using the error code "-2147205488". For more information refer to the following Knowledge Base Technical Notes:

  • TN 32882: How to customize the error message "Maximum number of result rows retrieved per report was exceeded.  Error Code = -2147205488" in Strategy Web 9.3.x - 9.4.x.
  • TN 32648: How to customize error messages coming from the Intelligence Server in Strategy Web 9.3.x-9.4.x.

However, when adding this report to a document after applying this customization, the document does not show the custom error message when executed:

ka04W000000OdDiQAK_0EM440000002GTe.png

 
Error
Your request could not be processed. Please try again. If the problem persists, contact the Administrator.
Document Execution Failed: One or more dataset reports returned an error ...]: (Maximum number of result rows retrieved per report was exceeded.Error in Process method of Component: QueryEngineServer, Project Strategy Tutorial, Job 28, Error Code= -2147205488.)
 
CAUSE:
 
This is a limitation in how errors are handled in Strategy Web 9.4.x. If a dataset used by a document returns an error, the document will show the reason the dataset failed instead of the reason the document failed. There is an existing enhancement request for customized error messages coming from the dataset to be used when executed through a document.
 
ACTION:
 
Contact Technical Support for an update on this enhancement request.
 
WORKAROUND:
 
When a document fails to execute because one of the required datasets returned an error the error code returned for the document is "-2147466604".
 
This error code corresponds to the error: "DocumentDataPreparationTask: not all dataset reports are complete". Follow TN 32882 with this error code to customize this error for documents.
 
Note: This error applies to several errors caused by the dataset reports used in a document, including but not limited to a cube not being published, and the maximum row count being exceeded. This needs to be considered when customizing the message for this error.
 
 
CUSTOMIZATION WARNING
This customization is provided as a convenience to Strategy users and is only directly applicable to the version stated. While this code may apply to other releases directly, Strategy Technical Support makes no guarantees that the code provided will apply to any future or previous builds. In the event of a code change in future builds, Strategy Technical Support makes no guarantee that an updated version of this particular customization will be provided. In the event of a code change in future builds, Strategy may not be able to provide additional code on this matter even though this customization is provided at this time for this specific build. For enhancements to this customization or to incorporate similar functionality into other versions, contact your Account Executive to inquire about Strategy consulting assistance.


Comment

0 comments

Details

Knowledge Article

Published:

June 22, 2017

Last Updated:

June 22, 2017