When you run a report in Microsoft Dynamics CRM 4.0, you receive the following reporting error message:
The report cannot be displayed.
If the DevErrors
parameter is set to On in the Web.config file, you receive the following error message:
Microsoft CRM Unhandled Error Details:
Server Error in '/' Application.
One or more data sources is missing credentials
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Microsoft.Reporting.WebForms.MissingDataSourceCredentialsException: One or more data sources is missing credentials
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
[MissingDataSourceCredentialsException: One or more data sources is missing credentials]
Microsoft.Reporting.WebForms.ReportViewer.OnPreRender(EventArgs e) +643
[CrmException: An error occurred during report rendering.]
Microsoft.Crm.Web.Reporting.SrsReportViewer.ReportErrorHandler(Object sender, ReportErrorEventArgs e) +626
Microsoft.Reporting.WebForms.ReportViewer.OnError(Exception e) +56
Microsoft.Reporting.WebForms.ReportViewer.OnPreRender(EventArgs e) +1699
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360
When you verify the properties of the MSCRM data source in Microsoft SQL Server Reporting Services (SSRS), you receive the following error message:
The data processing extension used for this report is not available. It has either been uninstalled, or it is not configured correctly.
This problem occurs because the custom data processing extension that Microsoft Dynamics CRM 4.0 uses is registered incorrectly on the SSRS server. This behavior may occur if the Microsoft Dynamics CRM Data Connector for SSRS has been uninstalled or if the Microsoft Dynamics CRM Data Connector for SSRS is configured incorrectly.
If you install the following Critical Update for SQL Server 2005 Service Pack 2, the Microsoft Dynamics CRM Data Connector for SSRS will be removed:
The data string is not changed after you install Microsoft Dynamics CRM Data Connector for Microsoft SQL Server Reporting Services.
To resolve this problem, repair or reinstall the Microsoft Dynamics CRM Data Connector for Microsoft SQL Server Reporting Services.
Manually change the connection string and the data sources that must be changed. To do this, follow these steps:
- Open Reports Manager.
- Select the CRM Organization.
- Click Show Details.
- Click the v4 folder.
- Click the CRM Data Source.
When you are using Windows Authentication, the connection string will resemble the following:
Data Source=server;Initial Catalog=ORG_MSCRM;Integrated Security=SSPI
With Windows integrated authentication radio selected. When you use Microsoft CRM Data Extension, the connection string resembles the following:
MSCRM Data Connector Connection String
With Credentials Supplied by the user running the Report.
For more information about a similar problem, click the following article number to view the article in the Microsoft Knowledge Base:
Error message when you run a report in Microsoft Dynamics CRM 4.0: "Reporting Error. The report cannot be displayed"