Microsoft KB Archive/940496

= Error message when you try to view activities in Microsoft Dynamics CRM 3.0: &quot;A SQL Server error occurred. For more information, contact your system administrator&quot; =

Article ID: 940496

Article Last Modified on 1/4/2008

-

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 view activities in Microsoft Dynamics CRM 3.0, you receive the following error message:

SQL Server Error

A SQL Server error occurred. For more information, contact your system administrator.

This problem occurs if the following conditions are true:
 * Many users are creating appointments.
 * The appointments contain many parties.
 * Other users try to view activities.

When this problem occurs, the following users receive the error message:
 * The users who create the appointments.
 * The users who view activities.



RESOLUTION
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that this article describes. Apply this hotfix only to systems that are experiencing this specific problem.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or 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. To create a separate service request, visit the following Microsoft Web site:

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

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 components and the Microsoft Dynamics CRM client for Microsoft Office Outlook components.

Prerequisites
You must have Microsoft Dynamics CRM 3.0 installed to apply this hotfix.

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 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%\$NTUninstallKB940496$\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
If you have enabled platform tracing, you also receive an error message in the trace log file that resembles the following error message:

Transaction (Process ID 71) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

at System.Data.SqlClient.SqlDataReader.Read

at Microsoft.Crm.BusinessEntities.BusinessProcessObject.FillEntityCollectionFromDataReader(BusinessEntityCollection entities, SqlDataReader reader, EntityExpression entityExp, PagingHelper pagingHelper)

at Microsoft.Crm.BusinessEntities.BusinessProcessObject.DoRetrieveMultiple(BusinessEntityCollection entities, EntityExpression entityExp, ExecutionContext context)

at Microsoft.Crm.BusinessEntities.BusinessProcessObject.RetrieveMultiple(EntityExpression entityExpression, ExecutionContext context)

at Microsoft.Crm.ObjectModel.CommunicationActivityServiceBase.RetrieveMultiple(EntityExpression entityExpression, ExecutionContext context)

at Microsoft.Crm.BusinessEntities.BusinessProcessObject.RetrieveMultiple(EntityExpression entityExpression)

at Microsoft.Crm.ObjectModel.QueryService.RetrieveMultiple(EntityExpression entityExpression)

at Microsoft.Crm.WebServices.QueryWebService.RetrieveMultiple(QueryBase query)

For more information about software update terminology, click the following article number to view the article 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: kberrmsg kbmbsperformance kbhotfixserver kbqfe kbmbsmigrate kbpubtypekc KB940496

-

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

© Microsoft Corporation. All rights reserved.