尝试通过 bluefinity 工具使用 mv.NET。使用它制作了一些集成包,用于将数据从 d3 多值数据库导入 MS SQL 2012,但映射似乎遇到了一些问题。
对于 VOYAGES 表,在 D3 应用程序中有一些 commentX 字段,这些字段的行为非常笨拙,并且在一定数量的行后 INSERT 失败并显示以下消息
>Error: 0xC0047062 at INSERT, mvNET Source[354]: System.Exception: Error @8: dataReader[0] = LTPAC002 ci.BufferColumnIndex = 52, ci.ColumnName = COMMGROUP(Error @8: dataReader[0] = LTPAC002 ci.BufferColumnIndex = 52, ci.ColumnName = COMMGROUP(The value is too large to fit in the column data area of the buffer.))
at mvNETDataSource.mvNETSource.PrimeOutput(Int32 outputs, Int32[] outputIDs, PipelineBuffer[] buffers)
at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostPrimeOutput(IDTSManagedComponentWrapper100 wrapper, Int32 outputs, Int32[] outputIDs, IDTSBuffer100[] buffers, IntPtr ppBufferWirePacket)
Error: 0xC0047038 at INSERT, SSIS.Pipeline: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.The PrimeOutput method on mvNET Source returned error code 0x80131500.The component returned a failure code when the pipeline engine called PrimeOutput().The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.There may be error messages posted before this with more information about the failure.
该值太大而无法放入缓冲区的列数据区域。-> 尝试更改输入/输出类型,但似乎无法正确处理。在 SQL 表中,列的类型为 ntext。在 .dtsx 作业中,列的数据类型是 Unicode String [DT_WSTR] 类型,长度为 4000 ,我猜这些是自动检测的。
导入适用于像这样的其他 D3 文件,不确定为什么这些评论字段会失败。
在 mv.NET 数据管理器(在 d3 服务器上)上运行查询会在 240 秒后超时,所以这可能是根本问题吗?
任何想法如何进行?谢谢~