我是BIML新手,我正试图使用biml (和visual studio 2017)使用用户名和密码连接到Server (2017)。每次我试图连接连接时都会悬停,并且无法工作。即使之后我开始上网也不行。
我试着用SSID连接,一切正常--只有在提供“用户Id”和“密码”时才会出现问题
<Biml xmlns="http://schemas.varigence.com/biml.xsd">
<Connections>
<Connection Name="test_name" ConnectionString="Data Source=abc15\un1;Initial Catalog=extract;Persist Security Info=True;Provider=SQLNCLI11.1;User ID=biml_user;Password=biml_password;" CreateInProject="true"/>
</Connections>*
<Packages>
<Package Name="test_name" ConstraintMode="Parallel" ProtectionLevel="DontSaveSensitive">
<Tasks>
<ExecuteSQL Name="Test Select" ConnectionName="test_name">
<DirectInput>Select 1 As One</DirectInput>
</ExecuteSQL>
</Tasks>
</Package>
</Packages>
</Biml>错误消息:错误: SSIS错误代码DTS_E_OLEDBERROR。发生了OLE DB错误。错误代码: 0x80040E4D。OLE DB记录是可用的。来源:"Microsoft SQL Server本机客户端11.0“H结果: 0x80040E4D描述:”用户‘biml_ user’登录失败。“
你需要其他信息吗?
/Thomas
发布于 2018-08-21 13:51:13
您在Biml中设置了ProtectionLevel="DontSaveSensitive",它将输出一个SSIS包,该包不会(顾名思义)保存敏感信息,如用户名和密码。
您需要更改保护级别或将凭据保存在SSIS参数中。
https://stackoverflow.com/questions/51949863
复制相似问题