Data for Source Column 3(’Col3’) is too large for the specified buffer size.
2007-03-08 13:41
387 查看
注册表问题出现在非常不寻常处,例如当使用 DTS 从 Excel插入数据时发生的常见问题可以通过隐晦的注册表调整解决。如果试图加载列大于 255 字符的 Excel 工作表,产生这个问题(在Knowledge Base 文章的 Q281517 中讨论)。在 DTS 中收到以下错误: "Error at source for row number 9. Errors encountered so far in this task :1" General Error: -2147217887(80040E21) Data for Source Column 3(’Col3’) is too large for the specified buffer size. 发生这个问题的原因是在缺省情况下 Jet 驱动程序只查看前 8行判断数据类型。如果发现列的前 8 行中存在超过 255 个字符的情况,那么驱动程序接受这个事实,因而不会发生任何问题。然而如果前 8 行中没有任何一行超出 255 个字符,那么驱动程序认为列不包含这个数目的字符。如果第 8 行之后存在这种情况,则错误消息将出现。 为了解决这个问题,可以将某个较大的行移至文件的顶部,以便于扫描到,或者可以修改注册表以避免这个问题。需要修改的注册表键是 HKEY_LOCAL_MACHINESoftwareMicrosoftJet4.0EnginesExcel,数据项为 TypeGuessRows。如果将其值修改为16384,则每一行均被扫描,这确保不出现错误,但是显著降低了加载工作表的速度。考虑输入一个数,为所使用的工作表提供最适宜的扫描行数。
相关文章推荐
- live555: The input frame data was too large for our buffer size 解决方法
- mysql: Packet for query is too large 和Data too long for column
- Typically this problem occurs when you are putting in a data that is too long for the column. In t
- OpenStack Error – Index column size too large. The maximum column size is 767 bytes [Solved]
- [Cassandra] Mutation of <x> bytes is too large for the maxiumum size of <y>
- Index column size too large. The maximum column size is 767 bytes
- Index column size too large. The maximum column size is 767 bytes.
- mysql: Packet for query is too large 和Data too long for column
- Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You
- mysql 报错:Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65
- Mysql [Err] 1118 - Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535.
- Index column size too large. The maximum column size is 767 bytes
- mysql: Packet for query is too large 和Data too long for column
- 'date' is an invalid value for the SoapElementAttribute.DataType property. The property may only be specified for primitive types.
- SharePoint 报错: The specified file or folder name is too long. The URL path for all files and folders must be 260 characters or less
- phpMyAdmin执行成功,但是mysql命令source导入失败: Data too long for column
- packet for query is too large <1781> 1024 >. you can change this value on the server by setting the
- Packet for query is too large (1986748 > 1048576). You can change this value on the server by setting the max_allowed_pa
- mysql导入备份文件(.sql)报错:Data too large for column
- [MySQL 错误]ERROR 1118 (42000): Row size too large. The maximum row size for the used table type, not