C# 中的 SSIS 程序抛出 lineageID 未找到
我用 C# 编写了一个 SSIS 包,用于将数据从平面文件获取到数据库。问题是,当我通过 SSIS 接口运行程序时,它会抛出错误。如果我只是双击派生列,那么它就会刷新输入列并运行良好。现在我的问题是我必须通过 C# 程序刷新输入列连接。这怎么能做到呢?
以下是我通过 cmd 提示符运行 SSIS 包时遇到的错误。 错误:不存在 lineageID 11 的对象。
I have written an SSIS package in C# to get the data from a flat file to the database. The problem is that when i run the program through the SSIS interface then it is throwing error. If i just double click the derived column then it is refreshing the input column and running fine. Now my problem is I have to refresh the input column connection through C# program. How can this be done?
The following is the error which i am getting when i run the SSIS package through the cmd prompt.
Error: No Object exists which lineageID 11.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果不存在 lineageId 11 的对象,则意味着该包已被修改,并且该列已使用不同的 lineageId 重新映射或已删除。
为了始终拥有正确的 lineageId,您的代码需要 打开并读取 dtsx 文件并按列名称搜索。
If no object exists with lineageId 11, that means the package has been modified and the column has either been remapped with a different lineageId or removed.
In order to always have the correct lineageId, your code will need to open and read the dtsx file and search by column name.