Article ID: 939867 - View products that this article applies to.
The hotfix that is discussed in this article is not available for the Chinese version of Microsoft Dynamics CRM or for the Japanese version of Microsoft Dynamics CRM.
Symptom 1Consider the following scenario in Microsoft Dynamics CRM 3.0. You download a customized report that contains Microsoft Dynamics CRM Pre-Filtering code. Then, you try to upload the report to Microsoft Dynamics CRM 3.0. In this scenario, you receive the following error message:
This problem occurs if you use Microsoft SQL Server 2005 Reporting Services (SSRS) in Microsoft Dynamics CRM.
Error Uploading Report
An error occurred while trying to add the report to Microsoft CRM. Try adding the report again. If the problem continues, contact your system administrator.
The CRM Platform error is
Exception of type Microsoft.Crm.CrmException was thrown. 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.Crm.CrmException: Exception of type Microsoft.Crm.CrmException was thrown.
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.
[CrmException: Exception of type Microsoft.Crm.CrmException was thrown.]
Microsoft.Crm.Application.Platform.Report.InternalCreate(String xml) +721
Microsoft.Crm.Application.Forms.AppForm.RaiseDataEvent(FormEventId eventId) +406
Microsoft.Crm.Application.Forms.EndUserForm.Initialize(Entity entity) +57
Microsoft.Crm.Application.Forms.EndUserForm.Execute(Entity entity) +13
Microsoft.Crm.Application.Controls.AppPage.OnPreRender(EventArgs e) +30
Symptom 2Consider the following scenario in Microsoft Dynamics CRM 3.0. You download a customized report that contains Microsoft Dynamics CRM Pre-Filtering code. Then, you try to upload the report directly to Reporting Services or you try to modify the report in Microsoft Visual Studio Report Designer. In this scenario, you receive the following error message:
The element 'Report' in namespace 'http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition' has invalid child element 'Custom' in namespace 'http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition'. List of possible elements expected: 'http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition:Description http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition:Author http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition:AutoRefresh http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition:DataSources http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition:DataSets http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition:Body http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition:ReportParameters http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition:Code http://schemas.microsoft.com/sqlserver/reporting/2005/... Line 56, position 2034.
This problem occurs because the downloaded report was formatted incorrectly. The report contains the appended Microsoft Dynamics CRM Pre-Filtering code for the SQL Server 2003 Reporting Services schema or for the SQL Server 2000 Reporting Services schema. The SQL Server 2003 Reporting Services schema and the SQL Server 2000 Reporting Services schema use the <Custom> tag for pre-filtering. The SQL 2005 Reporting Services schema contains new schema definitions. The new schema definitions do not use the <Custom> tag when you re-upload the report. Therefore, Microsoft Dynamics CRM cannot validate the XML code in the report.
This problem was corrected in Microsoft Dynamics CRM 3.0 Update Rollup 3.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
935364To resolve this problem, modify the report to use the correct format. To do this, use the appropriate method:
(http://support.microsoft.com/kb/935364/ )Update Rollup 3 is available for Microsoft Dynamics CRM 3.0
Hotfix informationA supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.
If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.
Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=supportNote The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.
File informationThe English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Microsoft Dynamics CRM 3.0 server
Microsoft Dynamics CRM 3.0 laptop client for Microsoft Office Outlook Compatibility Update
Collapse this tableExpand this table
Microsoft Dynamics CRM 3.0 laptop client for Microsoft Office Outlook
Collapse this tableExpand this table
After you apply the hotfix to Microsoft Dynamics CRM, the report will be formatted correctly.
Collapse this tableExpand this table
Installation informationInstall this hotfix on computers that are running the Microsoft Dynamics CRM 3.0 server and the Microsoft Dynamics CRM 3.0 client for Microsoft Office Outlook.
PrerequisitesYou must have the Microsoft Dynamics CRM 3.0 server and the Microsoft Dynamics CRM 3.0 client for Microsoft Office Outlook installed to apply this hotfix.
Restart requirementIf you are prompted, restart the computer after you apply the hotfix.
Removal informationTo remove this hotfix from a computer that is running Windows Server 2003, Windows XP, or Microsoft Windows 2000, use Add or Remove Programs in Control Panel. System administrators can use the Spuninst.exe tool to remove this hotfix from a computer that is running Windows Server 2003, Windows XP, or Microsoft Windows 2000.
The Spuninst.exe tool is located in the %Windir%\$NTUninstallKB939867$\Spuninst folder.
Method 2To resolve this problem, modify the report to use the RDL 2005 tags instead of the RDL 2003 tags in XML. To do this, follow these steps:
For more information about software update terminology, click the following article numbers to view the articles in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/824684/ )Description of the standard terminology that is used to describe Microsoft software updates
(http://support.microsoft.com/kb/887283/ )Microsoft Business Solutions CRM software hotfix and update package naming standards