You receive the "InfoPath cannot run the specified query" error message when a Web service data connection contains NULL characters in InfoPath 2003 (870845)
The information in this article applies to:
- Microsoft SOAP Toolkit 3.0
- Microsoft Office InfoPath 2003
SYMPTOMSYou create a Web Service that returns an ADO.NET DataSet. The DataSet contains data that is padded with the encoded NULL character "\0." The Web service serializes the DataSet as XML and serializes the NULL characters as "�." When you call the Web service from another .NET application, the .NET application successfully reads the Web service data. When you call the Web service from a data connection in Microsoft Office InfoPath 2003, you receive the following error message: InfoPath cannot run the specified query. CAUSEThis problem occurs because the character "�" is not a valid character in an XML document. Therefore, InfoPath 2003 cannot parse the encoded NULL character.STATUS This behavior is by design.
Modification Type: | Major | Last Reviewed: | 10/27/2004 |
---|
Keywords: | kbtshoot kbprb KB870845 kbAudDeveloper |
---|
|