Microsoft KB Archive/914644

= Error message when you try to view the activities for an account in Microsoft Dynamics CRM 3.0: &quot;A SQL Server error occurred&quot; =

Article ID: 914644

Article Last Modified on 8/18/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
You cannot view the activities for an account in Microsoft Dynamics CRM 3.0. Additionally, you receive the following error message:

SQL Server Error

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

If you have the DevErrors parameter enabled, you also receive the following error message:

Microsoft CRM Unhandled Error Details:

Server Error in '/' Application.

Server was unable to process request.

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: System.Web.Services.Protocols.SoapException: Server was unable to process request.

Source Error: 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.

Stack Trace:

[SoapException: Server was unable to process request.]

System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message,

WebResponse response, Stream responseStream, Boolean asyncCall) +1495

System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +217

Microsoft.Crm.Platform.Proxy.ActivityPointerWebService.RollupByObject(Guid rollupById, String rollupByName, RollupType rollupType, QueryBase queryExpression) +148

Microsoft.Crm.Application.SMWrappers.ActivityPointer.RollupByObject(Guid rollupById, String rollupByName, RollupType rollupType, QueryExpression activityQueryExpression) +44

Microsoft.Crm.Application.Platform.ActivityPointer.RollupByObject(CObjectName gridObjectName, RollupType rollupType, QueryExpression activityQueryExpression) +119

Microsoft.Crm.ApplicationQuery.ExecuteActivityAPI(String api) +232

Microsoft.Crm.ApplicationQuery.ExecuteAPI(String queryApi) +2726

Microsoft.Crm.ApplicationQuery.GetViewData +91 Microsoft.Crm.Application.Controls.ActivitiesGridDataProvider.GetDataXml(QueryBuilder qb) +189 Microsoft.Crm.Application.Controls.AppGridDataProvider.Execute +156 Microsoft.Crm.Application.Controls.ActivitiesGridDataProvider.Execute +4 Microsoft.Crm.Application.Controls.AppGridUIProvider.Render(HtmlTextWriter output) +229 Microsoft.Crm.Application.Components.UI.DataGrid.RenderData(HtmlTextWriter output) +525 Microsoft.Crm.Application.Components.UI.DataGrid.RenderInnerHtml(HtmlTextWriter output) +471 Microsoft.Crm.Application.Components.UI.DataGrid.Render(HtmlTextWriter output) +125 Microsoft.Crm.Application.Controls.AppGrid.Render(HtmlTextWriter writer) +128 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243 Microsoft.Crm.Application.Controls.AppAreaPage.Render(HtmlTextWriter output) +427 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243

System.Web.UI.Page.ProcessRequestMain +1926



CAUSE
This problem may occur if the following conditions are true:
 * A lead is converted to an opportunity. Additionally, the lead is associated with an existing account.
 * The lead is re-activated.
 * The lead is again converted to an opportunity. Additionally, the lead is associated with the same existing account with which it was associated before.



RESOLUTION
This problem is fixed in Microsoft Dynamics CRM 3.0 Update Rollup 1. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

922815 Update Rollup 1 for Microsoft Dynamics CRM 3.0 is available



MORE INFORMATION
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

Additional query words: crm3 crm30 crm3.0

Keywords: kberrmsg kbbug kbmbsmigrate kbpubtypekc KB914644

-

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

© Microsoft Corporation. All rights reserved.