SQL Server 导入和导出向导错误:“索引超出数组范围”通过32位ODBC数据源?
我收到“索引超出数组范围”的消息。当我执行以下操作时出错。
1) 我启动导入和导出数据向导(32 位)。
2) 数据源:.Net Framework Data Provider for Odbc。
3) 我为我设置的 32 位 Progress OpenEdge 10.2A ODBC 驱动程序提供了连接字符串和 DSN。
4)我设置了一个平面文件目标。
5) 当我单击“下一步”时,出现以下错误:
标题:SQL Server 导入和导出向导
无法检索源和目标数据的列信息,或者源列的数据类型未正确映射到可用的数据类型关于目的地提供商。
“VISION”.“PUB”.“tlrtran”-> C:\Documents and Settings\user\Desktop\flat-file.txt:
- Index was outside the bounds of the array.
附加信息:
索引超出了数组的范围。 (Microsoft.DataTransformationServices.Controls)
I get an "Index was outside the bounds of the array." error when I do the following.
1) I launch the Import and Export Data Wizard (32 bit).
2) Data source: .Net Framework Data Provider for Odbc.
3) I provide a connection string and DSN for a 32 bit Progress OpenEdge 10.2A ODBC driver that I've set up.
4) I set up a flat file destination.
5) When I click "Next" 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.
"VISION"."PUB"."tlrtran" -> C:\Documents and Settings\user\Desktop\flat-file.txt:
- Index was outside the bounds of the array.
ADDITIONAL INFORMATION:
Index was outside the bounds of the array. (Microsoft.DataTransformationServices.Controls)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
当尝试从 Sage MAS90 软件的 32 位 ProvideX ODBC 驱动程序的 DNS 中将数据导入 SQL 时,我收到了同样的错误。我通过首先创建目标表,然后使用选项编写查询而不是从一个或多个表或视图复制数据来解决这个问题。
I received this same error when trying to import data into SQL from a DNS for 32 bit ProvideX ODBC driver for Sage MAS90 software. I got around it by creating the destination table first and then using the option to write a query instead of copy data from one or more tables or view.
当我尝试从 Sybase 导入时,我收到了同样的错误。当更改为使用查询而不是复制表时,它可以工作。
I received the same error when tried to import from Sybase. It works when change to use the query instead to copy table.