I am getting 'Index was outside the bounds of the array' while migrating data from Sage 100 CRM to SQL Server

浪子不回头ぞ 提交于 2019-12-02 18:52:33

问题


My company is using Sage CRM and wants me to create a batch job to transport the data from Sage 100 to Dynamics 365 every midnight. They also want me to have the CRM data inside SQL Server first and then migrate that data to Dynamics 365.

I have tried to use the import/export wizard of SQL Server by creating source for ODBC driver datasource (my datasource is the server database path for sage data) and in the destination I provided driver for OLE DB provider for SQL but while I started the import for a single table, I get the following error:

TITLE: SQL Server Import and Export Wizard

Column information for the source and the destination data could not be retrieved, or the data types of source columns were not mapped correctly to those available on the destination provider(left side of arrow being a source and right one being destination).

"AP_ACHCheckEntry" -> AP_ACHCheckEntry:

Index was outside the bounds of the array.

Then I figured out other way using a linked server as mentioned in their forum. Now what I get is data in tables but I can't see their schema inspite of using linked server queries maybe because of data type mismatch( even date is coming as binary datatype in SSIS package while I try data migration using SSIS). Here is a snapshot of the linked server:

As you can see, I can't expand the table for AP_ACHCheckEntry.

I am literally stuck for weeks and moreover Sage asks our company to pay for the support help. Can anyone help me regarding this?

来源:https://stackoverflow.com/questions/52782237/i-am-getting-index-was-outside-the-bounds-of-the-array-while-migrating-data-fr

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!