Generic error loading DIM search-based dashboard
search cancel

Generic error loading DIM search-based dashboard

book

Article ID: 368934

calendar_today

Updated On:

Products

Information Centric Analytics

Issue/Introduction

When Information Centric Analytics (ICA) portal users attempt to load a Data In Motion (DIM) search-based dashboard, the following error message is displayed:

Request Failed

Your request failed. Click 'OK' to close this window or 'Refresh' to refresh the page.
Try again or contact the site administrator.

Error ID: <error-ID>

This error is displayed for all users, regardless of their assigned portal privileges.

Environment

Version : 6.x

Component : Dashboards

Cause

The underlying cause of this condition is unknown.

Resolution

To resolve this condition, restart both the World Wide Web Publishing service (W3SVC) on the server hosting the ICA application and the SQL Server service (MSSQLSERVER[\<instance-name>]) on the server hosting the RiskFabric relational database.

Additional Information

The error ID displayed to the user refers to an entry in the table dbo.Log_Client. Corresponding errors are also captured in the RiskFabric server log (w3wp_RiskFabric.<yyyyMMdd>.log) containing the failing query in the exception stack trace. For example:

[151:ERROR] DALException.SaveLog() Error: Incorrect syntax near ';'.

When a DIM search-based dashboard is loaded, the application executes a SQL statement that includes an OPENQUERY function containing an MDX query for execution against the RiskFabric cube. Under certain conditions, the query is corrupted by the anomalous presence of HTML character codes, causing the statement to fail. For example:

SELECT  *     FROM OPENQUERY(%%linked_server%%, &amp;#39;%%mdx_query%%&amp;#39;) ) x (ID, Measure)  WHERE Measure &amp;gt; 0 &quot;,\r\n  &quot;filter&quot;: &quot;Measure &amp;gt; 0 &quot;,\r\n  &quot;return_values&quot;: [\r\n    {\r\n      &quot;name&quot;: &quot;ID&quot;,\r\n      &quot;type&quot;: &quot;INT&quot;,\r\n      &quot;formatted&quot;: &quot;TRY_CAST(CONVERT(VARCHAR(32), ID) AS INT)&quot;\r\n    }\r\n  ]\r\n}&#39;,\r\n\t@i_tempTableName = &#39;#DIMIncidentActionID_EntityScoperID_tempTable&#39;,\r\n\t@i_bCreateTempTable = 0,\r\n\t@i_bSQLOnly = 0,\r\n\t@i_bSaveToTempTable = 1,\r\n\t@i_bIsDebug = 0;\r\nCREATE CLUSTERED INDEX CLIX_#DIMIncidentActionID_EntityScoperID_tempTable_ID ON #DIMIncidentActionID_EntityScoperID_tempTable (ID ASC);\r\nDROP TABLE IF EXISTS #DIMIncidentStatusID_EntityScoperID_tempTable;\r\nCREATE TABLE #DIMIncidentStatusID_EntityScoperID_tempTable\r\n(\r\n    ID VARCHAR(256) NULL,\r\n\tMeasure VARCHAR(128) NULL\r\n);\r\n\r\nDECLARE @DIMIncidentStatusID_EntityScoperID_defaultValue VARCHAR(50) = &#39;-1&#39;;\r\n\r\nEXEC dbo.Search_GetMDXResults\r\n\t@i_sMDXJson = &#39;{\r\n  &quot;mdx&quot;: &quot;SELECT NON EMPTY{[Measures].[DIM Incident Count]}ON 0,NON EMPTY FILTER({[DIM Incident Status].[DIM Incident Status ID].CHILDREN},[Measures].[DIM Incident Count]&amp;gt;0)ON 1FROM(SELECT({[DIM Incident Status].[DIM Incident Status].&amp;amp;[Business - Not Reviewed]})ON 0FROM[Risk Fabric])&quot;,\r\n  &quot;linked_server&quot;: &quot;[RiskFabric_ASDB]&quot;,\r\n  &quot;sql_wrapper&quot;