Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms
of Use |
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
Consider the following scenario. You create a Microsoft
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
'urn:schemas-microsoft-com:xml-msdata:UseDataSetSchemaOnly' attribute is not
Error message 2
'urn:schemas-microsoft-com:xml-msdata:UDTColumnValueWrapped' attribute is not
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.
To work around this issue, follow
- 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.
<xsd:anyAttribute namespace="urn:schemas-microsoft-com:xml-msdata" processContents="lax"/>
Article ID: 931413 - Last Review: February 1, 2007 - Revision: 1.1
- Microsoft Office InfoPath 2007
- Microsoft Office Forms Server 2007
|kbexpertiseinter kbtshoot kberrmsg kbprb KB931413|
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
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