Error occured while Exporting(Downloading) Categories

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
lab_n_chemicals
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 33
Joined: Mon Mar 10, 2008 12:18 am
Location: us
Contact:

Error occured while Exporting(Downloading) Categories

Post by lab_n_chemicals » Thu Apr 17, 2008 5:49 pm

Error: Using latest version of Dataport, RC3 upgrade from RC2


There is an error in XML document (2, 2).
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle)
at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)
at CommerceBuilder.DataClient.Api.EncodeHelper.Deserialize(String Xml, Type ThisType, Boolean defaultNull)
at CommerceBuilder.DataClient.Api.EncodeHelper.Deserialize(String Xml, Type ThisType)
at CommerceBuilder.DataClient.Client.Controls.CustomizedCategoryExportWizard.doExport()


Any ideas why?

Thx
Lab supplies, consumables & chemicals
http://www.espchemicals.com

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Error occured while Exporting(Downloading) Categories

Post by AbleMods » Thu Apr 17, 2008 7:53 pm

Not going to be able to tell from that error message unfortunately.

Did it create an XML file at all? If so, edit it and look at the last line. Most likely it the export died on the field/product or the field/product just before whatever is crashing the data client. You could then browse the ac_Products and see if you can find what is different about the offending record and correct it.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

lab_n_chemicals
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 33
Joined: Mon Mar 10, 2008 12:18 am
Location: us
Contact:

Re: Error occured while Exporting(Downloading) Categories

Post by lab_n_chemicals » Thu Apr 17, 2008 8:30 pm

Nothing at all.
I'm trying to download files thru dataport so I can match structure and code (coldfusion) my categories,etc. to create an upload file.
But hell, it took forever. Only 3 categories and no products. Could that be the problem?
Lab supplies, consumables & chemicals
http://www.espchemicals.com

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Error occured while Exporting(Downloading) Categories

Post by AbleMods » Thu Apr 17, 2008 9:33 pm

Hmmm "took forever" sounds like a timeout issue.

Did it work with RC2? Can you download anything else like Orders etc?
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

lab_n_chemicals
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 33
Joined: Mon Mar 10, 2008 12:18 am
Location: us
Contact:

Re: Error occured while Exporting(Downloading) Categories

Post by lab_n_chemicals » Thu Apr 17, 2008 9:47 pm

No orders in database. Just 3 categories.
I'm populating sample data, orders in an attempt to simulate a working store.

thanks for asking.
Lab supplies, consumables & chemicals
http://www.espchemicals.com

lab_n_chemicals
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 33
Joined: Mon Mar 10, 2008 12:18 am
Location: us
Contact:

Re: Error occured while Exporting(Downloading) Categories

Post by lab_n_chemicals » Thu Apr 17, 2008 10:01 pm

After sample data, order, etc. dataport finishes in about 10 seconds with error message:
Saved at: Thursday, April 17, 2008
----------------------------

Title: Error occurred while Exporting(Downloading) Categories
----------------------------

Summary: Some error has occurred while Exporting(Downloading) Categories data.
----------------------------

Detailed Message: There is an error in XML document (2, 2).
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle)
at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)
at CommerceBuilder.DataClient.Api.EncodeHelper.Deserialize(String Xml, Type ThisType, Boolean defaultNull)
at CommerceBuilder.DataClient.Api.EncodeHelper.Deserialize(String Xml, Type ThisType)
at CommerceBuilder.DataClient.Client.Controls.CustomizedCategoryExportWizard.doExport()
Lab supplies, consumables & chemicals
http://www.espchemicals.com

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Error occured while Exporting(Downloading) Categories

Post by jmestep » Fri Apr 18, 2008 7:12 am

You mentioned cold fusion- is it supposed to work with the cold fusion version? Does the database structure in cold fusion match 5.5 net?
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

lab_n_chemicals
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 33
Joined: Mon Mar 10, 2008 12:18 am
Location: us
Contact:

Re: Error occured while Exporting(Downloading) Categories

Post by lab_n_chemicals » Fri Apr 18, 2008 1:23 pm

No idea.
The plan is to connect to my existing database and create an XML file using CF to upload to AC7 via Dataport. So I populated AC7 with sample data and tried downloading it via dataport but no success. Still trying...
Lab supplies, consumables & chemicals
http://www.espchemicals.com

Robbie@FireFold
Commodore (COMO)
Commodore (COMO)
Posts: 433
Joined: Wed May 28, 2008 9:42 am
Location: Concord, NC
Contact:

Re: Error occured while Exporting(Downloading) Categories

Post by Robbie@FireFold » Mon Jul 14, 2008 4:35 pm

I had a very similar error:

Code: Select all

There is an error in XML document (215928, 28).
   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle)
   at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)
   at CommerceBuilder.DataClient.Api.EncodeHelper.Deserialize(String Xml, Type ThisType, Boolean defaultNull)
   at CommerceBuilder.DataClient.Api.EncodeHelper.Deserialize(String Xml, Type ThisType)
   at CommerceBuilder.DataClient.Client.Controls.StandardExportPanel.doExport()
It did not create a backup. This was an attempt to backup the entire store vi AC7 Data Port(lastest update). Also I am using the final release of Able.

On Windows Vista if it matters.
Robbie Hodge
General Manager
Robbie@FireFold.com
http://www.FireFold.com

lab_n_chemicals
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 33
Joined: Mon Mar 10, 2008 12:18 am
Location: us
Contact:

Re: Error occured while Exporting(Downloading) Categories

Post by lab_n_chemicals » Mon Jul 14, 2008 10:28 pm

Hi,

Using RC3 Final / Win2003 Server / Dataport ver 1.0.0.11.

Have not done a backup yet.

Gave up on XML due to too many errors; used csv files.
Uploaded parent categories, subcats - almost 1000 parent cats + 3868 subcats with summary fields, large description fields, image urls, etc. Only lost 9 records due to paragraph symbols.

Does not like hidden paragraph(¶) - does not process the record.
Does not like symbols (®, °, µ, etc.) but processes the record. Replaces symbols with a diamond with question mark in it.

Hope this helps.
Lab supplies, consumables & chemicals
http://www.espchemicals.com

User avatar
Naveed
Rear Admiral (RADM)
Rear Admiral (RADM)
Posts: 611
Joined: Thu Apr 03, 2008 4:48 am

Re: Error occured while Exporting(Downloading) Categories

Post by Naveed » Tue Jul 15, 2008 12:22 am

Nice point, this may happen due to some special characters in your data, which are not allowed in XML. I think this might be some encoding issue, when your data is tried to deserialize to create an xml document it gives error....

There must be something special in your data. I recommend to delte your existing data and create new categories and products and test it again...

If it still does not work then post the data what you are using to create your categories..

User avatar
Naveed
Rear Admiral (RADM)
Rear Admiral (RADM)
Posts: 611
Joined: Thu Apr 03, 2008 4:48 am

Re: Error occured while Exporting(Downloading) Categories

Post by Naveed » Tue Jul 15, 2008 12:26 am

It is recommened to use the latest version of DataPort, You can download the latest version from:
viewtopic.php?f=42&t=5707

Post Reply