We upgraded portal to latest patch (7.40.8.20) but now get the following error while executing the report in portal
BI exception with class "BIBaseRuntimeException" and message "Error while generating data provider:
<parameterList>
<param name="BI_COMMAND_TYPE" value="CREATE_DATA_PROVIDER"/>
<param name="INIT_PARAMETERS">
<param modification_type="delete_if_value_not_equal" name="INITIAL_STATE" value="QUERY">
<param name="QUERY" value="ZXXXXX"/>
</param>
</param>
<param name="NAME" value="DP_1"/>
<param name="TYPE" value="QUERY_VIEW_DATA_PROVIDER"/>
</parameterList>