Microsoft KB Archive/936204

= Error message when you try to save a new custom entity in Microsoft Dynamics CRM 3.0: &quot;An error has occurred. For more information, contact your administrator&quot; =

Article ID: 936204

Article Last Modified on 8/2/2007

-

APPLIES TO


 * Microsoft Dynamics CRM 3.0

-



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.



SYMPTOMS
When you try to save a new custom entity in Microsoft Dynamics CRM 3.0, you receive the following error message:

An error has occurred. For more information, contact your administrator.

This problem occurs if you save the new entity in a Microsoft Dynamics CRM configuration that already includes many custom entities.



Hotfix information
A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Microsoft Dynamics CRM 3.0 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

File information
The 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.

Installation information
Install this hotfix on computers that are running the Microsoft Dynamics CRM 3.0 server software or the Microsoft Dynamics CRM client for Microsoft Office Outlook.

Prerequisites
You must have Update Rollup 2 for Microsoft Dynamics CRM 3.0 installed to apply this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

927751 Update Rollup 2 for Microsoft Dynamics CRM 3.0 is available

Restart requirement
If you are prompted to restart the computer, you must restart the computer after you apply this hotfix.

Removal information
To remove this hotfix from a computer that is running Microsoft Windows Server 2003, Windows XP, or 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 Windows 2000.

The Spuninst.exe tool is located in the %Windir%\$NTUninstallKB936204$\Spuninst folder. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

832475 Description of the new features in the package installer for Windows software updates



MORE INFORMATION
When this problem occurs, you receive the following error message in the Microsoft Dynamics CRM platform trace:

CRM Platform Trace:

RelationshipService.Update caught exception: System.Data.SqlClient.SqlException: Incorrect syntax near the keyword 'and'.

at System.Data.SqlClient.SqlCommand.ExecuteNonQuery

at Microsoft.Crm.Metadata.CascadingSpGenerator.Process(CrmDbConnection dbconn, SqlTransaction transaction) at Microsoft.Crm.Metadata.MetadataHelper.ProcessQueue

at Microsoft.Crm.Metadata.RelationshipService.Update(Guid relationshipId, RelationshipUpdateInfo relationshipInfo)

Additionally, you receive the following error message in the SQL Profiler trace:

User Error Message - Incorrect syntax near the keyword 'and'.

For more information about the terminology that is used to describe Microsoft software updates, click the following article numbers to view the articles in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

887283 Microsoft Business Solutions CRM software hotfix and update package naming standards

Keywords: kbmbscustomization kberrmsg kbhotfixserver kbqfe kbmbsmigrate kbpubtypekc KB936204

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.