在Visual Studio中打开35个SSIS软件包中的2个时,我会获得错误弹出窗口,请参见错误列表。错误列出了DTSCONFIG中的所有连接,不在包装中。为什么?

发布于 2025-02-10 07:33:34 字数 157 浏览 0 评论 0原文

我不明白为什么在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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

好听的两个字的网名 2025-02-17 07:33:34

我没有弄清楚为什么有些软件包给出了其他问题,而其他问题没有通过改变我建立连接的方式来解决。

以前的连接字符串在.dtsconfig中为:

`<Configuration ConfiguredType="Property" 

path =“ \ package.connections [d01_visn05] .properties [connectionsTring]“ valueType =“ string”&gt; 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:
`

          <ConfiguredValue>Data Source=VHACDWDWHSQL33.vha.med.va.gov;Initial Catalog=D01_VISN05;Provider=SQLNCLI11;Integrated Security=SSPI;Auto Translate=False;Packet Size=32767;</ConfiguredValue>

   </Configuration>
`

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:

`<Configuration ConfiguredType="Property" 

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:
`

          <ConfiguredValue>Data Source=VHACDWDWHSQL33.vha.med.va.gov;Initial Catalog=D01_VISN05;Provider=SQLNCLI11;Integrated Security=SSPI;Auto Translate=False;Packet Size=32767;</ConfiguredValue>

   </Configuration>
`
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文