Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
Error message when you run a solution that sets the state of a request or of a response for an entity in Microsoft Dynamics CRM 3.0: "This method can only be called in the context of web service request"
Article ID: 924454 - 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.
When you run a solution that sets the state of a request or of a response for an entity in Microsoft Dynamics CRM 3.0, you receive the following error message:
If you have the DevErrors parameter enabled, the following error message is logged in the Web.config file:
This method can only be called in the context of web service request.
Error code: 0x80040216 Description: An unexpected error occurred.
Details: This method can only be called in the context of web service request.
at Microsoft.Crm.CrmTrace.Assert(Boolean condition, String message)
at Microsoft.Crm.WebServices.CrmSoapExtension.ProcessMessage(SoapMessage message)
at System.Web.Services.Protocols.SoapMessage.RunExtensions(SoapExtension extensions)
at System.Web.Services.Protocols.SoapServerProtocol.WriteReturns(Object returnValues, Stream outputStream)
at System.Web.Services.Protocols.WebServiceHandler.WriteReturns(Object returnValues)
This problem may occur after you install hotfix 915791. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/915791/ )An appointment time may change when you synchronize Outlook with Microsoft Dynamics CRM 3.0
This problem is fixed in Microsoft Dynamics CRM 3.0 Update Rollup 2. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/927751/ )Update Rollup 2 is available for Microsoft Dynamics CRM 3.0
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:
(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
Article ID: 924454 - Last Review: July 17, 2007 - Revision: 2.2