Microsoft Knowledge Base Email Alertz

(924454) - Describes a hotfix for Microsoft Dynamics CRM 3.0 that resolves the problem that is described in the Symptoms section.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 924454 - Last Review: July 17, 2007 - Revision: 2.2

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"

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 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:
This method can only be called in the context of web service request.
ErrorCode: -2147220970
If you have the DevErrors parameter enabled, the following error message is logged in the Web.config file:
Error code: 0x80040216 Description: An unexpected error occurred.
Platform:
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.BusinessEntities.SerializationState.ValidateInWebService()
at Microsoft.Crm.BusinessEntities.SerializationState.OnEndWebRequest()
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)
at System.Web.Services.Protocols.WebServiceHandler.Invoke()

CAUSE

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:
915791  (http://kbalertz.com/Feedback.aspx?kbNumber=915791/ ) An appointment time may change when you synchronize Outlook with Microsoft Dynamics CRM 3.0

RESOLUTION

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:
927751  (http://kbalertz.com/Feedback.aspx?kbNumber=927751/ ) Update Rollup 2 is available for Microsoft Dynamics CRM 3.0

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  (http://kbalertz.com/Feedback.aspx?kbNumber=824684/ ) Description of the standard terminology that is used to describe Microsoft software updates
887283  (http://kbalertz.com/Feedback.aspx?kbNumber=887283/ ) Microsoft Business Solutions CRM software hotfix and update package naming standards

APPLIES TO
  • Microsoft CRM 3.0
  • Microsoft Business Solutions CRM Software Development Kit (SDK), when used with:
    • Microsoft CRM 3.0
Keywords: 
kbfix kberrmsg kbbug kbexpertiseinter kbhotfixserver kbqfe kbmbsmigrate KB924454
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate