在Visual Studio中打开35个SSIS软件包中的2个时,我会获得错误弹出窗口,请参见错误列表。错误列出了DTSCONFIG中的所有连接,不在包装中。为什么?
我不明白为什么在Visual Studio打开软件包时,我的35个左右的SSIS软件包中的2个左右为何会引发连接错误。所有软件包都从同一dtsconfig配置,没有包装包含DTSCONFIG中的所有连接,但是其中33个不会弹出错误,也不会列出在软件包中找不到的连接。
有人知道为什么吗?
I don't understand why 2 of my 35 or so SSIS packages throw connection errors when opening package in Visual Studio. All packages configure from same dtsconfig and no package contains all the connections in dtsconfig but 33 of them don't throw the error pop up and don't list connections that couldn't be found in the package.
Does anyone have any idea why?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我没有弄清楚为什么有些软件包给出了其他问题,而其他问题没有通过改变我建立连接的方式来解决。
以前的连接字符串在.dtsconfig中为:
path =“ \ package.connections [d01_visn05] .properties [connectionsTring]“ valueType =“ string”> gt;
data source = vhacdwdwdwdwwhdwhsql33; Inital Catalog = d01_visn05; provider = sqlncli11.1; Integrated Security = sspi; auto translate = falss = falss; application name = ssis-th-v5dw; trust Server证书= true;
`
我更改为.dtsconfig中的设置变量,然后设置设置包装连接属性/表达式使用变量。
连接属性表达式:
@[USER :: CONNSTRINGD01_VISN05_OLEDB]
.dtsconfig:
`
I did not figure out why some packages gave hard errors that others didn't but resolved by changing the way I made connections.
Previously connection strings were in .dtsconfig as:
Path="\Package.Connections[D01_VISN05].Properties[ConnectionString]" ValueType="String">
Data Source=VHACDWDWHSQL33;Initial Catalog=D01_VISN05;Provider=SQLNCLI11.1;Integrated Security=SSPI;Auto Translate=False;Application Name=SSIS-TH-V5DW;Trust Server Certificate=True;
`
I changed to setting variables in .dtsconfig and then setting the package connection property/expression to use the variable.
Connection Property Expression:
@[User::ConnStringD01_VISN05_OLEDB]
.dtsconfig:
`