Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/253751

From BetaArchive Wiki

PRB: OLE Error Code 0X00000001: Incorrect Function

'

ID: Q253751



The information in this article applies to:


  • Microsoft Visual FoxPro for Windows, version 6.0





SYMPTOMS

Loading an Extensible Markup Language (XML) document with the Microsoft MSXML ActiveX object causes the following error message to appear:

OLE error code 0X00000001: Incorrect function



CAUSE

The XML document is formatted incorrectly.



RESOLUTION

Make sure the XML document meets the World Wide Web Consortium (W3C) requirements for a well formed document or a valid XML document. The requirements can be found on the following Web site:

W3C Architecture Domain



MORE INFORMATION

Steps to Reproduce Behavior

  1. Install the MSXML parser from the following Web address:
  2. Create an incorrectly formed XML document from the XML code below:
  3. Create a Microsoft Visual FoxPro program file with the following code, and then run the program:

The following error message appears:

OLE error code 0X00000001: Incorrect function



REFERENCES

For more information about XML, see the following Web site and the Web sites mentioned earlier in this article:

http://www.xml.com

Additional query words:

Keywords : kbMiscTools kbVFp600 kbXML kbGrpFox kbGrpMDAC kbDSupport kbMDAC260
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbprb
Technology : kbvcSearch


Last Reviewed: July 20, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.


Article ID: Q253751

Last Reviewed:
July 20, 2000