DBF - parse error

Technical support for Spire.DataExport

Moderators: iceblue support, DataExport, Manager

DBF - parse error

Postby arlandeluta » Tue Apr 19, 2016 5:50 am

Hi,

I am having problem with converting to DBF attached xml file. The xmlfile came from a .Net dataset using DataSet.WriteXml. Below code:

DataSet dt = new DataSet();
dt.ReadXml("test.xml"); //attached file
dbfExport1.DataSource = Spire.DataExport.Common.ExportSource.DataTable;
dbfExport1.DataTable = dt.Tables[0];
dbfExport1.FileName = "test.dbf";
dbfExport1.SaveToFile();

The error is: Client found response content type of "text/html" but expected "text/xml". The request failed with the error: Parse Error.

The same program is working when tested on the datatable with 5000 rows.

Thank you!
Attachments
test.zip
sample file for export
(1.5 MiB) Downloaded 65 times
arlandeluta
 
Posts: 2
Joined: Fri Mar 29, 2013 6:29 am

Re: DBF - parse error

Postby caroline.zhang » Tue Apr 19, 2016 7:36 am

Hello,

Thanks for your feedback.
I tested your xml file with your code and the latest version Spire.DataExport for .NET (Hot Fix) Version: 3.5.10. It was converted to DBF successfully. Please try the version. In addition, the generated DBF file only can show the forty rows of data without applying a license.

Sincerely,
Caroline
E-iceblue support team
User avatar
caroline.zhang
 
Posts: 295
Joined: Mon Mar 07, 2016 9:22 am

Re: DBF - parse error

Postby caroline.zhang » Thu Apr 21, 2016 7:57 am

Hi,

Did you try the version? Has your issue been resolved?
Thanks for your feedback.

Best Regards,
Caroline
E-iceblue support team
User avatar
caroline.zhang
 
Posts: 295
Joined: Mon Mar 07, 2016 9:22 am


Return to Spire.DataExport

Who is online

Users browsing this forum: No registered users and 0 guests