Microsoft KB Archive/930464

= You receive an error message when you process documents that are created by the CRM BizTalk Adapter in Microsoft Dynamics CRM 3.0 =

Article ID: 930464

Article Last Modified on 9/14/2007

-

APPLIES TO


 * Microsoft Dynamics CRM 3.0
 * Microsoft BizTalk Server 2006 Adapter for Microsoft Dynamics CRM 3.0, when used with:
 * Microsoft Dynamics CRM 3.0

-



SYMPTOMS
When you process documents that are created by the Microsoft Biztalk Server 2006 Adapter for Microsoft Dynamics CRM 3.0, you receive an error message that resembles the following message:

SOAP Request failed:

Url:http://mmyservice/MSCRMServices/2006/crmservice.asmx

MethodName:Execute

Response:









soap:Client

Server was unable to read request. --> There is an error in XML document (1, 945). --> Condition for attribute 'account.accountnumber': expected argument(s) of type 'System.String' but received 'System.Xml.XmlNode[]'. --> Condition for attribute 'account.accountnumber': expected argument(s) of type 'System.String' but received 'System.Xml.XmlNode[]'.







This problem occurs even if the documents are valid according to the RetrieveMultipleRequest schema.



RESOLUTION
A supported hotfix is now 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. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

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

Microsoft Dynamics CRM 3.0 client for Microsoft Office Outlook Compatibility Release

Microsoft Dynamics CRM 3.0 server

Installation information
Install this hotfix on computers that are running the Microsoft Dynamics CRM 3.0 server or Microsoft Dynamics CRM 3.0 client for Microsoft Office Outlook software.

Prerequisites
 You must have Microsoft Dynamics CRM 3.0 installed to apply this hotfix. To apply this hotfix, you must have installed the update that is described in Microsoft Knowledge Base article 925874. For more information about this update, click the following article number to view the article in the Microsoft Knowledge Base:

925874 An update for the 2007 daylight saving time changes is available for Microsoft Dynamics CRM 3.0 and for the Microsoft Dynamics CRM 3.0 client for Outlook



Restart requirement
If you are prompted, restart the computer after you install this hotfix.

Removal information
To remove this hotfix from a computer that is running Microsoft Windows Server 2003, Microsoft Windows XP, or Microsoft 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 Microsoft Windows Server 2003, Microsoft Windows XP, or Microsoft Windows 2000.

The Spuninst.exe tool is located in the %Windir%\$NTUninstallKB930464$\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
When this problem occurs, you may receive an error message that resembles the following message in the platform trace.

CrmSoapExtension detected CrmException:

System.Web.Services.Protocols.SoapException: Server was unable to read request. --->

System.InvalidOperationException: There is an error in XML document (1, 945). --->

Microsoft.Crm.CrmArgumentException: Condition for attribute 'account.accountnumber': expected argument(s) of type 'System.String' but received 'System.Xml.XmlNode[]'. --->

System.ArgumentException: Condition for attribute 'account.accountnumber': expected argument(s) of type 'System.String' but received 'System.Xml.XmlNode[]'.

--- End of inner exception stack trace ---

at Microsoft.Crm.Query.ConditionExpression..ctor(AttributeMetadata attribute, ConditionOperator conditionOperator, Array values, Boolean isCustom)

at Microsoft.Crm.Query.FromQueryVisitor.Visit(ConditionExpression condition)

at Microsoft.Crm.Sdk.Query.ConditionExpression.Accept(IQueryVisitor visitor)

at Microsoft.Crm.Query.FromQueryVisitor.Visit(FilterExpression filter)

at Microsoft.Crm.Sdk.Query.FilterExpression.Accept(IQueryVisitor visitor)

at Microsoft.Crm.Query.FromQueryVisitor.Visit(QueryExpression query)

at Microsoft.Crm.Sdk.Query.QueryExpression.Accept(IQueryVisitor visitor)

at Microsoft.Crm.Query.EntityExpression..ctor(QueryBase query)

at Microsoft.Crm.Sdk.QueryParser.Parse(ParsingContext context)

at Microsoft.Crm.Sdk.RequestParser.Parse(ParsingContext context, RequestDescription requestDescription) at Microsoft.Crm.Sdk.Request.ReadXml(XmlReader reader)

at System.Xml.Serialization.XmlSerializationReader.ReadSerializable(IXmlSerializable serializable)

at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read20_Execute

at Microsoft.Xml.Serialization.GeneratedAssembly.ExecuteSerializer.Deserialize(XmlSerializationReader reader)

at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)

--- End of inner exception stack trace ---

at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)

at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, XmlDeserializationEvents events)

at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader)

at System.Web.Services.Protocols.SoapServerProtocol.ReadParameters

--- End of inner exception stack trace ---

at System.Web.Services.Protocols.SoapServerProtocol.ReadParameters

at System.Web.Services.Protocols.WebServiceHandler.Invoke

at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest

[2006-12-15 14:48:42.7] Process: w3wp |Thread: 1136 |Category: Platform.Soap |User: 634c97db-5556-da11-aa5d-0003ff06be00 |Level: Warning |

at SoapContext.DumpErrorResponse(Stream responseStream, String url, String methodName) at CrmSoapExtension.ProcessMessage(SoapMessage message)

at SoapMessage.RunExtensions(SoapExtension[] extensions)

at SoapServerProtocol.WriteException(Exception e, Stream outputStream)

at WebServiceHandler.WriteException(Exception e)

at WebServiceHandler.CoreProcessRequest

at SyncSessionlessHandler.ProcessRequest(HttpContext context)

at CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute

at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at HttpApplication.ResumeSteps(Exception error)

at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)

at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)

at HttpRuntime.ProcessRequest(HttpWorkerRequest wr)

at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)

>SOAP Request failed:

Url:http://myserver/MSCRMServices/2006/crmservice.asmx

MethodName:Execute

Response:

<?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?>

<soap:Envelope xmlns:soap=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot;>





soap:Client

Server was unable to read request. --&gt; There is an error in XML document (1, 945). --&gt; Condition for attribute 'account.accountnumber': expected argument(s) of type 'System.String' but received 'System.Xml.XmlNode[]'. --&gt; Condition for attribute 'account.accountnumber': expected argument(s) of type 'System.String' but received 'System.Xml.XmlNode[]'.

</soap:Fault>

</soap:Body>

</soap:Envelope>

[2006-12-15 14:48:42.7] Process: w3wp |Thread: 1136 |Category: Exception |User: 634c97db-5556-da11-aa5d-0003ff06be00 |Level: Error |

at CrmArgumentException..ctor(String message)

at ConditionExpression..ctor(AttributeMetadata attribute, ConditionOperator conditionOperator, Array values, Boolean isCustom)

at FromQueryVisitor.Visit(ConditionExpression condition)

at ConditionExpression.Accept(IQueryVisitor visitor)

at FromQueryVisitor.Visit(FilterExpression filter) at FilterExpression.Accept(IQueryVisitor visitor) at FromQueryVisitor.Visit(QueryExpression query)

at QueryExpression.Accept(IQueryVisitor visitor)

at EntityExpression..ctor(QueryBase query) at QueryParser.Parse(ParsingContext context) at RequestParser.Parse(ParsingContext context, RequestDescription requestDescription)

at Request.ReadXml(XmlReader reader)

at XmlSerializationReader.ReadSerializable(IXmlSerializable serializable)

at XmlSerializationReader1.Read20_Execute

at ExecuteSerializer.Deserialize(XmlSerializationReader reader)

at XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) at XmlSerializer.Deserialize(XmlReader xmlReader, XmlDeserializationEvents events) at XmlSerializer.Deserialize(XmlReader xmlReader)

at SoapServerProtocol.ReadParameters

at WebServiceHandler.Invoke at WebServiceHandler.CoreProcessRequest

at SyncSessionlessHandler.ProcessRequest(HttpContext context)

at CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute

at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at HttpApplication.ResumeSteps(Exception error)

at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)

at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)

at HttpRuntime.ProcessRequest(HttpWorkerRequest wr)

at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)

>Crm Exception: Message: Condition for attribute 'account.accountnumber': expected argument(s) of type 'System.String' but received 'System.Xml.XmlNode[]'., ErrorCode: -2147220989, InnerException: System.ArgumentException: Condition for attribute

'account.accountnumber': expected argument(s) of type 'System.String' but received 'System.Xml.XmlNode[]'.

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

Keywords: kberrmsg kbqfe kbpubtypekc kbmbsmigrate kbhotfixserver KB930464

-

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

© Microsoft Corporation. All rights reserved.