从数据库配置中的连接字符串中剥离了SSIS密码 [英] SSIS password stripped from connection string in database configuration

查看:89
本文介绍了从数据库配置中的连接字符串中剥离了SSIS密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个SSIS包,该包正在SQL Server中使用SSIS配置表来检索OLE DB连接管理器的连接字符串属性。

I have a SSIS package that is using SSIS Configuration table in a SQL server to retrieve the connection string property for a OLE DB connection manager.

我还需要相同的连接字符串来调用使用实体框架的程序集。我尝试访问连接管理器的连接字符串属性,但SSIS始终剥离密码,因此连接字符串在EF Code First上下文中不完整,并给出登录错误。

Thing is that I also need that same connection string to invoke an assembly that uses Entity Framework. I've tried to access the connection manager connection string property but SSIS always strips the password so the connection string goes incomplete to the EF Code First Context and gives login errors.

有什么想法可以克服吗?谢谢

Any ideas to overcome this?! thanks

推荐答案

我已经走了另一条路。出于安全原因,配置管理器中的连接字符串属性似乎总是​​隐藏密码,因此我没有重用该属性,而是从SSIS配置文件中获取了所有我需要的东西。

I've already gone another path. It seems that the connection string property in the configuration manager always "hides" the password for security reasons so I'm not reusing that property and instead I'm getting all I need from the SSIS configuration file.

这篇关于从数据库配置中的连接字符串中剥离了SSIS密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆