“Error parsing complete XML return string”, a Ghetto Hack for QODBC & ColdFusion

July 19th, 2007

qlogo202.gifI am testing the limits of QuickBooks, QODBC, & ColdFusion, so I am doing some bulk imports to see what (if anything) breaks or has poor performance.

In this particular case, I am trying to add 100000 customers to the database

<cfloop index=”i” from=”1″ to=”100000″>
<cfquery datasource=”qbs” name=”ds” >
INSERT INTO Customer ( Name)
VALUES (’#CreateUUID()#’)
</cfquery>
</cfloop>

When running the script, it blows out after inserting around 2000 records with the following error

[Macromedia][SequeLink JDBC Driver][ODBC Socket][QODBC] Error parsing complete XML return string.

If I try to run the script again, I get the error message again for the first record.

I have no know cause for the issues, but I have a quick fix. This is a ghetto hack, but It is working for me.

If you restart the windows service “ColdFusion 8 ODBC Server” everything is happy again. At least for 2000 more rows. ;)

Restarting the service obviously won’t do  in a production environment, but it will have to do for now.

2 Responses to ““Error parsing complete XML return string”, a Ghetto Hack for QODBC & ColdFusion”

  1. daveline Says:

    These 2156 records do not have to be on the same request.
    I could do three requests of 1000, and it will break on the 3rd request at row 156.

  2. daveline Says:

    my “free” qodbc tech support request
    http://www.qdeveloper.com.au/forum.php?homeinclude=topicdetails&forum_id=1&category_id=40&post_id=1657

Leave a Reply

Spam protection by WP Captcha-Free