Hi,
We have recently upgraded from CRM 4.0 to CRM 2011. And the custom reports which have some lookup fields in the criteria fail to run. When i remove the lookup field from the criteria, the reports runs successfully. These reports run succesfully on CRM 4.0 environment.
Report fails with the following criteria.
Report runs succesfully with this criteria updated.
And the following is the error from the event logs.
Exception information: Exception type: CrmReportingException Exception message: An error occurred during report rendering. at Microsoft.Crm.Web.Reporting.RemoteSrsReportViewer.LoadReportAndSetParameters() at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
An unexpected error occurred. at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.XrmExecuteInternal() at Microsoft.Crm.Application.Platform.ServiceCommands.RetrieveReportSqlFromQueryCommand.Execute() at Microsoft.Crm.Reports.ReportUtility.FilterXmlToParameters(String filterXml) at Microsoft.Crm.Reports.ReportUtility.GetReportQueryParameters(Report report, HttpRequest request, String filterXml, String parameterXml, Boolean addImplicitParameter) at Microsoft.Crm.Web.Reporting.RemoteSrsReportViewer.GetReportParameters(Report reportObj, HttpRequest request, String filterXml, String parameterXml, Boolean addImplicitParameter) at Microsoft.Crm.Web.Reporting.RemoteSrsReportViewer.LoadReportAndSetParameters()
Stack trace: at Microsoft.Crm.Web.Reporting.RemoteSrsReportViewer.LoadReportAndSetParameters() at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint