Microsoft KB Archive/259815

From BetaArchive Wiki

Article ID: 259815

Article Last Modified on 7/27/2001



APPLIES TO

  • Microsoft Visual Basic Repository 2.0
  • Microsoft Visual Basic Repository 2.0



This article was previously published under Q259815

SYMPTOMS

The following error message is generated on the ExportXML method when you attempt to export the chosen element(s) from the Microsoft Repository Browser to an XML File on a Microsoft Windows 95 or Microsoft Windows 98 workstation:

Runtime error '-2147467259 (800040005)': Automation error

The same error message occurs on the same platforms using the XMLEXP.VBP Visual Basic sample project that is installed by the Microsoft Repository 2.1 SDK.

CAUSE

This problem occurs because certain functions in the MSRXML.DLL component of the Repository SDK expect Unicode data. Windows 95 and Windows 98 do not store data in the double-byte Unicode format.

RESOLUTION

There is presently no solution or workaround for this problem. The error occurs on a Windows 95 or Windows 98 client regardless of the server on which the Repository database resides, and regardless of the combination of flags that are used with the ExportXML method.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

The ExportXML method of the MSRXMLLib.XIFExport object fails on Windows 95 and Windows 98 workstations. This method is invoked from within the Repository Browser when you choose the Export XML File option from the File menu after marking a repository element for export.

Running the XMLExp.vbp sample application (installed when you choose to install the Repository 2.1 SDK samples) on a Windows 95 or Windows 98 workstation produces the same error message when the ExportXML method of an instance of the XIFExport object is executed.

Steps to Reproduce Behavior

  1. Launch the Microsoft Repository Browser.
  2. Select an element, right-click on it, and then choose Mark Object for Export.
  3. On the File menu, select Export XML File, and note that the error message in the "Symptoms" section is generated.


Keywords: kbbug kbnofix KB259815