cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Get unlimited expert tax help and powerful accounting in one place. Check out QuickBooks Online + Live Expert Tax.
AGBT900
Level 1

Getting Error while exporting Quickbooks desktop data through Microsoft Data Exporter Tool

Hello, 

I am using Microsoft Data Export Tool to export my QuickBooks Desktop data.

I am able connect to QuickBooks using data export tool. On clicking of export button, it exports 3 items , Account , Bills and Credit Memo. As it starts to export Customer I get the following error, where it tells there is something wrong with byte. 

I am attaching the error images as well as the detailed error.

I am not able to figure out how to resolve this issue.

 

Detailed ERROR

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

 

************** Exception Text **************
System.Runtime.InteropServices.COMException (0x80040301): An exception occurred! Type:UTFDataFormatException, Message:invalid byte 2 (x) of a 3-byte sequence.SAXParseException: error at line 2379, column 20 in XML data.
   at Interop.QBFC13.IQBSessionManager.DoRequests(IMsgSetRequest request)
   at Microsoft.DataMigrations.QBDConnector.QBDDataContext.QBSession.InvokeRequest[TResponse](Action`1 constructRequest)
   at Microsoft.DataMigrations.QBDConnector.QBDDataContext.<GetCustomers>b__17_0()
   at Microsoft.DataMigrations.QBDConnector.QBDDataContext.InvokeWrappedException[TResult](Func`1 invoke)

 

 

************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9290.0 built by: NET481REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Microsoft.DataMigrations.WindowsDesktopApp
    Assembly Version: 1.0.10.16
    Win32 Version: 1.0.10.16
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Data%20Exporter/Microsoft.DataMigrations.WindowsDesktopApp.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9251.0 built by: NET481REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9282.0 built by: NET481REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9037.0 built by: NET481REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9037.0 built by: NET481REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9277.0 built by: NET481REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9037.0 built by: NET481REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9037.0 built by: NET481REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Microsoft.DataMigrations.QBDConnector
    Assembly Version: 1.0.10.16
    Win32 Version: 1.0.10.16
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Data%20Exporter/Microsoft.DataMigrations.QBDConnector.DLL
----------------------------------------
System.ComponentModel.Composition
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9037.0
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.Composition/v4.0_4.0.0.0__b77a5c561934e089/System.ComponentModel.Composition.dll
----------------------------------------
Newtonsoft.Json
    Assembly Version: 9.0.0.0
    Win32 Version: 9.0.1.19813
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Data%20Exporter/Newtonsoft.Json.DLL
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9037.0 built by: NET481REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Runtime.Serialization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9241.0 built by: NET481REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.Xml.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9037.0 built by: NET481REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9214.0 built by: NET481REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------

 

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

 

For example:

 

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

 

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

13 Comments 13
RCV
QuickBooks Team
QuickBooks Team

Getting Error while exporting Quickbooks desktop data through Microsoft Data Exporter Tool

We know how hard it is to experience issues with exporting your QuickBooks data through the Microsoft Data Exporter Tool, AGBT900. Especially when you're trying to get important tasks done. Let's perform some troubleshooting steps to export customer data.

 

We appreciate you for providing us with a screenshot and in-depth details of your concern. Let's make sure we have an updated version of the Microsoft Data Exporter Tool since older versions may not work properly with newer QuickBooks Desktop versions. Then, try exporting the data again.

 

If the dataset is large, try exporting the customer list in smaller batches to help us isolate any damaged data entries. You can also filter the data by date range or alphabetically divided segments to make it more manageable. Then, we need to identify if a specific part of the data is causing the issue. To learn more about exporting info with QuickBooks Desktop, you can check out this article: Import and export data in QuickBooks Desktop.

 

If the same thing happens, ensure your QuickBooks version meets the following criteria:

 

  • Your operating system and QuickBooks are fully updated.
  • The Microsoft Data Exporter Tool and QuickBooks Desktop are compatible with your operating system and meet all system requirements.
  • Your system meets the minimum requirements specified by Intuit for QuickBooks Desktop of the version you're using.

 

Once done, check you have proper permissions to access the QuickBooks company file before exporting the customer's data. The Windows user account running the Data Exporter needs full access. Right-click the application icon and select Run as administrator to run QuickBooks or the Data Exporter Tool as an administrator.

 

Moreover, you can refer to these articles to help you import and export lists or files to and from QuickBooks Desktop: 

 

 

The Community is only one post away if you need help with exporting your company data or have any QuickBooks-related concerns. We are always here to help, AGBT900.

Chrea
Level 6

Getting Error while exporting Quickbooks desktop data through Microsoft Data Exporter Tool

@AGBT900 

Did you try to convert data from QB Desktop US version to QB Online US version or another region?

AGBT900
Level 1

Getting Error while exporting Quickbooks desktop data through Microsoft Data Exporter Tool

No, we did not try to convert data from QB Desktop US version to QB Online US version as this is not required. Because my company want to migrate through Data Exporter tool. - Download Microsoft Dynamics 365 Data Export from Official Microsoft Download Center

AGBT900
Level 1

Getting Error while exporting Quickbooks desktop data through Microsoft Data Exporter Tool

Can you please guide me how this is done using Microsoft Data Export Tool ?

"If the dataset is large, try exporting the Customers in smaller batches to help us isolate any damaged data entries. You can also filter the data by date range or alphabetically divided segments to make it more manageable. "

AGBT900
Level 1

Getting Error while exporting Quickbooks desktop data through Microsoft Data Exporter Tool

Can you please guide me how this is done using Microsoft Data Export Tool ?

"If the dataset is large, try exporting the Customers in smaller batches to help us isolate any damaged data entries. You can also filter the data by date range or alphabetically divided segments to make it more manageable. "

AGBT900
Level 1

Getting Error while exporting Quickbooks desktop data through Microsoft Data Exporter Tool

Can you please guide me how this is done using Microsoft Data Export Tool ?

 

"If the dataset is large, try exporting the Customers in smaller batches to help us isolate any damaged data entries. You can also filter the data by date range or alphabetically divided segments to make it more manageable. "

KayePe
QuickBooks Team

Getting Error while exporting Quickbooks desktop data through Microsoft Data Exporter Tool

To export your data from QuickBooks Desktop (QBDT), start by performing a Verify and Rebuild Data process to ensure optimal data integrity, @AGBT900. Let’s review the details to ensure a smooth data export process.

 

To accurately identify and address any errors encountered during the export process, conducting a Verify and Rebuild Data operation is essential. This method identifies common issues within your company file and uses the rebuild tool to resolve them effectively. Here's how to begin verifying your company's data:

 

  1. In the Window, select Close All.
  2. Go to File and hit Utilities.
  3. Select Verify Data.

 

Then, proceed to rebuild your company file data to address the specific issues you're experiencing.

 

  1. From the File, Utilities, and select Rebuild Data.
  2. QuickBooks requires a backup before rebuilding. Click OK to proceed.
  3. Choose your backup location, enter a new filename to prevent overwriting existing backups, and click Save.
  4. Hit OK once you get the message Rebuild has completed.
  5. In the File menu, click Utilities and select Verify Data again to check for additional damage.

a. If the verification reveals more damage, manual repair is necessary. Search the error(s) in the qbwin.log on the QuickBooks Desktop support site for solutions.

b. If the error isn't listed, restore from a recent backup. Go to File and select Open or Restore Company.

 

For additional reference, you can check this article: Verify and Rebuild Data in QuickBooks Desktop.

 

After completing these steps, you're ready to export your data and continue your work seamlessly with QBDT.

 

Additionally, discover how to use your backup company file (.qbb) to restore your data in QBDT. For a step-by-step guide, check out: Restore a Backup of Your Company File.

 

Data exporting is invaluable for businesses today, enhancing data analysis, reporting, and migration processes. If you have any questions or need further assistance, simply click the Reply button below. I'm here to support you in achieving your QBDT goals. 

Chrea
Level 6

Getting Error while exporting Quickbooks desktop data through Microsoft Data Exporter Tool

@AGBT900 

Run the Verify/Rebuild Data utility. Any error message?

AGBT900
Level 1

Getting Error while exporting Quickbooks desktop data through Microsoft Data Exporter Tool

After rebuilding, errors occurred that the system couldn't resolve automatically, so I had to manually correct them.

After resolving all the errors, I ran the rebuild again, and the following is the result.

Do these errors impact the migration process?

I also ran the exporting process again while again resulted into the same error as pasted initially.

 

 

Chrea
Level 6

Getting Error while exporting Quickbooks desktop data through Microsoft Data Exporter Tool

Open the sample file and try using the exporter tool to isolate the problem. If you don't encounter any problems, it means having a company file without any error messages is very important for the export process. If the Verify/Rebuild Data utility cannot fix the error, consider purchasing a third-party service to do so.

Dandie_A
QuickBooks Team

Getting Error while exporting Quickbooks desktop data through Microsoft Data Exporter Tool

I appreciate your effort in following the troubleshooting steps of the previous expert, AGBT900 We'll explore several steps, such as reviewing error logs closely, ensuring your QuickBooks version is fully updated, and making use of the Verify Data utility, all designed to support a resolution. I'll guide you through each step and we can explore additional specialized support if needed.

 

Resolving these errors will greatly enhance your migration process in QuickBooks Desktop. By tackling the issues that emerged during the rebuilding and exporting phases, you create a clearer path for a more efficient and stable data migration. Addressing these errors reduces the risk of data corruption or complications during the transfer, setting you up for success.

 

Once the errors persist, I suggest performing the Rebuild the Data process again to verify that all is set before you start the migration. This will give you an extra layer of confidence that your data is ready to be moved without any issues.

 

If the error remains a concern, I recommend reaching out directly to our live support team. You can contact them via our direct phone line or through the live chat feature on our website. Our live support team has immediate access to extensive resources and can provide real-time solutions, which may expedite the recovery of your data.

 

Here's how you can contact our live support:

 

  1. Open QuickBooks.
  2. Go to Help, then select QuickBooks Desktop Help/Contact Us.
  3. Enter the question, keyword, or topic you need help with.

 

 

 

You can also check this article for more details and be sure to review their support hours to know when agents are available.

 

Additionally, If you need a user to manage your books. You can refer to this article: Create and add user in QuickBooks Desktop.

 

Keep in mind that the Community is always available to help with exporting your company data or addressing any other QuickBooks-related questions. We aim to make your experience as seamless as possible, so please feel free to get in touch whenever you need assistance.

AGBT900
Level 1

Getting Error while exporting Quickbooks desktop data through Microsoft Data Exporter Tool

Can you please tell me from where can I get a sample file for running this experiment?

Chrea
Level 6

Getting Error while exporting Quickbooks desktop data through Microsoft Data Exporter Tool

Run the program as usual and you can see the button to open the sample file.

Get answers fast!
Log in and ask our experts your toughest QuickBooks questions today.

Need to get in touch?

Contact us
Sign in for the best experience
Ask questions, get answers, and join our large community of QuickBooks users.
Sign In / Sign Up