Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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.

↑ Back to the top


Resolution

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:
935364Update Rollup 3 is available for Microsoft Dynamics CRM 3.0
A 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.

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, submit a request to 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: Note 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 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.

Microsoft Dynamics CRM 3.0 server

File nameFile versionFile sizeDateTimePlatform
Setup.exe3.0.5300.1630474,98413-Nov-200717:54x86
Articleseditcontent.xslNot applicable5,52717-Aug-200722:06Not applicable
Crmbulkmailservice.exe3.0.5300.17262,832,40014-Dec-200700:12x86
Crmmsg.dll1.2.3297.12316,08813-Nov-200717:54x86
Crmnativeinteropproxy.dll3.0.5300.17263,402,25613-Dec-200708:16x86
Crmobjectmodel.dll3.0.5300.17266,740,49614-Dec-200700:16x86
Crmsecurity.dll3.0.5300.1726770,57614-Dec-200700:18x86
Crmworkflowservice.exe3.0.5300.17263,888,14414-Dec-200700:12x86
Edit_article.aspxNot applicable6,92716-Nov-200721:15Not applicable
Grid.htcNot applicable17,56010-Dec-200721:05Not applicable
Kbtemplateeditor.jsNot applicable5,66610-Dec-200721:05Not applicable
Listaction.jsNot applicable9,10210-Dec-200721:05Not applicable
Microsoft.crm.application.components.application.dll3.0.5300.1726689,16814-Dec-200700:01x86
Microsoft.crm.application.components.core.dll3.0.5300.1726291,85614-Dec-200700:02x86
Microsoft.crm.application.components.platform.dll3.0.5300.1726369,68014-Dec-200700:02x86
Microsoft.crm.application.components.strings.dll3.0.5300.1726726,03214-Dec-200700:02x86
Microsoft.crm.application.components.ui.dll3.0.5300.1726222,22414-Dec-200700:00x86
Microsoft.crm.application.pages.dll3.0.5300.1726967,69613-Dec-200708:01x86
Microsoft.crm.dll3.0.5300.1726381,96814-Dec-200700:02x86
Microsoft.crm.managedinterop.dll3.0.5300.172682,96014-Dec-200700:02x86
Microsoft.crm.metadatahelper.dll3.0.5300.172682,96014-Dec-200700:02x86
Microsoft.crm.objectmodel.dll3.0.5300.1726324,62414-Dec-200700:02x86
Microsoft.crm.platform.bulkoperationcontrolassembly.dll3.0.5300.172637,90413-Dec-200723:58x86
Microsoft.crm.platform.server.dll3.0.5300.1726246,80014-Dec-200700:02x86
Microsoft.crm.reports.reportschedule.dll3.0.5300.172699,34413-Dec-200723:58x86
Microsoft.crm.tools.workflowlibrary.dll3.0.5300.1726275,47213-Dec-200723:58x86
Mscrmcustom.dll3.0.5300.1656181,09613-Nov-200717:54x86
Msvcr71.dll7.10.3052.4355,03213-Nov-200717:54x86
Pkgutil.cmdNot applicable11313-Nov-200701:54Not applicable
Pkgutil.exe1.2.3297.10188,79213-Nov-200717:54x86
Print_dlg.aspxNot applicable8,82213-Dec-200721:02Not applicable
Crmsecurity.dll3.0.5300.1726770,57614-Dec-200700:18x86
Microsoft.crm.dll3.0.5300.1375,56017-Nov-200504:39x86
Microsoft.crm.managedinterop.dll3.0.5300.180,64817-Nov-200504:38x86
Microsoft.crm.metadatahelper.dll3.0.5300.180,64817-Nov-200504:38x86
Microsoft.crm.objectmodel.dll3.0.5300.1318,21617-Nov-200504:39x86
Microsoft.crm.platform.server.dll3.0.5300.1244,48817-Nov-200504:39x86
Crmdbhotfix.dll3.0.5300.1656105,83213-Nov-200717:54x86
Crmhotfix.cdfNot applicable14,36614-Dec-200701:12Not applicable
Kb927207_client.dll3.0.5300.172661,45614-Dec-200700:08x86
Kb930604_client.dll3.0.5300.172665,04013-Dec-200708:08x86
Kb930610_client.dll3.0.5300.1726116,75213-Dec-200708:08x86
Kb931627_client.dll3.0.5300.1726159,76014-Dec-200700:08x86
Kb932205_client.dll3.0.5300.172663,50414-Dec-200700:08x86
Kb933214_client.dll3.0.5300.172670,67214-Dec-200700:08x86
Kb933423_client.dll3.0.5300.172691,15214-Dec-200700:08x86
Kb933658_client.dll3.0.5300.172667,08814-Dec-200700:08x86
Kb935529_client.dll3.0.5300.172671,18414-Dec-200700:08x86
Kb935844_client.dll3.0.5300.1726115,72814-Dec-200700:08x86
Kb936019_client.dll3.0.5300.172661,96814-Dec-200700:08x86
Kb936204_client.dll3.0.5300.172692,17614-Dec-200700:08x86
Kb938125_client.dll3.0.5300.172661,96814-Dec-200700:08x86
Kb938238_client.dll3.0.5300.172670,16014-Dec-200700:08x86
Kb940496_client.dll3.0.5300.172671,69614-Dec-200700:08x86
Kb940761_client.dll3.0.5300.172681,93614-Dec-200700:08x86
Mscrmcustom.dll3.0.5300.1656181,09613-Nov-200717:54x86

Microsoft Dynamics CRM client for Microsoft Office Outlook

File nameFile versionFile sizeDateTimePlatform
Articleseditcontent.xslNot applicable5,52717-Aug-200722:06Not applicable
Crmmsg.dll1.2.3297.12316,08813-Nov-200717:54x86
Crmnativeinteropproxy.dll3.0.5300.17263,402,25613-Dec-200708:16x86
Crmobjectmodel.dll3.0.5300.17266,740,49614-Dec-200700:16x86
Crmsecurity.dll3.0.5300.1726770,57614-Dec-200700:18x86
Edit_article.aspxNot applicable6,92716-Nov-200721:15Not applicable
Grid.htcNot applicable17,56010-Dec-200721:05Not applicable
Listaction.jsNot applicable9,10210-Dec-200721:05Not applicable
Microsoft.crm.application.components.application.dll3.0.5300.1726599,05614-Dec-200700:01x86
Microsoft.crm.application.components.core.dll3.0.5300.1726295,95214-Dec-200700:02x86
Microsoft.crm.application.components.platform.dll3.0.5300.1726410,64014-Dec-200700:03x86
Microsoft.crm.application.components.strings.dll3.0.5300.1726726,03214-Dec-200700:03x86
Microsoft.crm.application.components.ui.dll3.0.5300.1726222,22414-Dec-200700:01x86
Microsoft.crm.application.pages.dll3.0.5300.1726738,32014-Dec-200700:02x86
Microsoft.crm.dll3.0.5300.1726381,96814-Dec-200700:02x86
Microsoft.crm.managedinterop.dll3.0.5300.172682,96014-Dec-200700:02x86
Microsoft.crm.metadatahelper.dll3.0.5300.172682,96014-Dec-200700:02x86
Microsoft.crm.objectmodel.dll3.0.5300.1726324,62414-Dec-200700:03x86
Microsoft.crm.platform.server.dll3.0.5300.1726246,80014-Dec-200700:03x86
Mscrmcustom.dll3.0.5300.1656181,09613-Nov-200717:54x86
Msvcr71.dll7.10.3052.4355,03213-Nov-200717:54x86
Pkgutil.cmdNot applicable11313-Nov-200701:54Not applicable
Pkgutil.exe1.2.3297.10188,79213-Nov-200717:54x86
Print_dlg.aspxNot applicable8,82213-Dec-200721:02Not applicable
Microsoft.crm.dll3.0.5300.1375,57617-Nov-200504:42x86
Microsoft.crm.managedinterop.dll3.0.5300.180,66417-Nov-200504:42x86
Microsoft.crm.metadatahelper.dll3.0.5300.180,66417-Nov-200504:42x86
Microsoft.crm.objectmodel.dll3.0.5300.1318,23217-Nov-200504:42x86
Microsoft.crm.platform.server.dll3.0.5300.1244,50417-Nov-200504:42x86
Crmhotfix.cdfNot applicable7,84814-Dec-200701:10Not applicable
Mscrmcustom.dll3.0.5300.1656181,09613-Nov-200717:54x86

Microsoft Dynamics CRM client for Microsoft Office Outlook Compatibility Update

File nameFile versionFile sizeDateTimePlatform
Setup.xmlNot applicable3,38114-Dec-200701:30Not applicable
V3cclientpatch30.mspNot applicable2,921,47214-Dec-200702:07Not applicable
Articleseditcontent.xslNot applicable5,52717-Aug-200722:06Not applicable
Crmnativeinteropproxy.dll3.0.5300.17263,402,25614-Dec-200700:16x86
Crmobjectmodel.dll3.0.5300.17266,740,49614-Dec-200700:16x86
Crmsecurity.dll3.0.5300.1726770,57614-Dec-200700:18x86
Edit_article.aspxNot applicable6,92716-Nov-200721:15Not applicable
Grid.htcNot applicable17,56010-Dec-200721:05Not applicable
Listaction.jsNot applicable9,10210-Dec-200721:05Not applicable
Microsoft.crm.application.components.application.dll3.0.5300.1726599,05614-Dec-200700:00x86
Microsoft.crm.application.components.core.dll3.0.5300.1726295,95214-Dec-200700:01x86
Microsoft.crm.application.components.platform.dll3.0.5300.1726410,64014-Dec-200700:01x86
Microsoft.crm.application.components.strings.dll3.0.5300.1726726,03214-Dec-200700:01x86
Microsoft.crm.application.components.ui.dll3.0.5300.1726222,22414-Dec-200700:00x86
Microsoft.crm.application.pages.dll3.0.5300.1726738,32013-Dec-200708:00x86
Microsoft.crm.dll3.0.5300.1726381,96814-Dec-200700:01x86
Microsoft.crm.managedinterop.dll3.0.5300.172682,96014-Dec-200700:01x86
Microsoft.crm.metadatahelper.dll3.0.5300.172682,96014-Dec-200700:01x86
Microsoft.crm.objectmodel.dll3.0.5300.1726324,62414-Dec-200700:02x86
Microsoft.crm.platform.server.dll3.0.5300.1726246,80014-Dec-200700:02x86
Print_dlg.aspxNot applicable8,82213-Dec-200721:02Not applicable
Setup.xmlNot applicable1,76014-Dec-200701:29Not applicable
V3clightclientpatch30.mspNot applicable585,72814-Dec-200702:07Not applicable
Microsoft.crm.application.components.core.dll3.0.5300.1726295,95214-Dec-200700:01x86
Microsoft.crm.application.components.platform.dll3.0.5300.1726410,64014-Dec-200700:01x86
Microsoft.crm.application.components.strings.dll3.0.5300.1726726,03214-Dec-200700:01x86
Microsoft.crm.dll3.0.5300.1726381,96814-Dec-200700:01x86
Microsoft.crm.platform.server.dll3.0.5300.1726246,80014-Dec-200700:02x86

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

↑ Back to the top


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

↑ Back to the top


Keywords: KB940496, kbmbsmigrate, kbqfe, kbhotfixserver, kbmbsperformance, kberrmsg, kbautohotfix

↑ Back to the top

Article Info
Article ID : 940496
Revision : 4
Created on : 4/3/2008
Published on : 4/3/2008
Exists online : False
Views : 262