Microsoft KB Archive/931413

= You may receive error messages when you try to run a query by using the data connection to SQL Server 2005 XML Web services in an InfoPath 2007 form template =

Article ID: 931413

Article Last Modified on 2/1/2007

-

APPLIES TO


 * Microsoft Office InfoPath 2007
 * Microsoft Office Forms Server 2007

-



SYMPTOMS
Consider the following scenario. You create a Microsoft Office InfoPath 2007 form template that contains one data connection or more than one data connection to Microsoft SQL Server 2005 XML Web services. Then, you try to run a query by using the data connection. In this scenario, you may receive error messages that resemble the following:

Error message 1

The 'urn:schemas-microsoft-com:xml-msdata:UseDataSetSchemaOnly' attribute is not declared.

Error message 2

The 'urn:schemas-microsoft-com:xml-msdata:UDTColumnValueWrapped' attribute is not declared.



CAUSE
This issue occurs because the attribute contents of the SqlRowSet element in the http://schemas.microsoft.com/sqlserver/2004/SOAP/types namespace are processed too strictly.



WORKAROUND
To work around this issue, follow these steps:  Save the solution as source files. Find the schema that has the http://schemas.microsoft.com/sqlserver/2004/SOAP/types target namespace.  Locate the SqlRowSet element, and then add the following code to the SqlRowSet complex type.  

Additional query words: IP2007 InfoPath2007 IFS2007

Keywords: kbexpertiseinter kbtshoot kberrmsg kbprb KB931413

-

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

© Microsoft Corporation. All rights reserved.