Sql server 2008 跨域使用Windows身份验证部署SSIS包失败
正在尝试在本地PC上部署软件包并连接到客户端的vpn 我得到一个错误:Sql server 2008 跨域使用Windows身份验证部署SSIS包失败,sql-server-2008,ssis,Sql Server 2008,Ssis,正在尝试在本地PC上部署软件包并连接到客户端的vpn 我得到一个错误: c:\Program Files\Microsoft SQL Server\110\DTS\Binn>dtutil /File c:\www\clients\SomeCompany\ssis\warehouse\Warehous e_Update_Table1.dtsx /DestServer SomeServerName /Copy sql;Warehouse_Update_Table1 Microsoft (R)
c:\Program Files\Microsoft SQL Server\110\DTS\Binn>dtutil /File c:\www\clients\SomeCompany\ssis\warehouse\Warehous
e_Update_Table1.dtsx /DestServer SomeServerName /Copy sql;Warehouse_Update_Table1
Microsoft (R) SQL Server SSIS Package Utilities
Version 10.50.1600.1 for 64-bit
Error (0xC0014014) while checking for the existence of package "Warehouse_Update_Table1" on SQL Server.
Could not save package "Warehouse_Update_Table1" because of error 0x80004005.
Description: Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.
Source: Microsoft SQL Server Native Client 10.0
c:\Program Files\Microsoft SQL Server\110\DTS\Binn>dtutil /File c:\www\clients\SomeCompany\ssis\warehouse\Warehouse_Update_Table1.dtsx /DestServer SomeServerName.SomeDomain.net /Copy s
;Warehouse_Update_TestTable1
c:\Program Files\Microsoft SQL Server\110\DTS\Binn>dtutil /File c:\www\clients\SomeCompany\ssis\tmlwarehouse\Warehouse_Update_Table1.dtsx /DestServer/SomeServerName.SomeDomain.net /Copy sql;Warehouse_Update_Table1
(obviously I have real values for "SomeCompany" and SomeServerName.SomeDomain"
是否有方法提升权限,例如您可以使用.exe来指定发件人的域或提升此请求以使其正常工作
不幸的是,我们使用windows auth来调用它,因为这正是客户端所需要的。请看一下使用runas和netonly选项:
runas.exe/netonly/user:DOMAIN\DOMAINUSERNAME Dtutil.exe
这是“DTUtil.exe”权限问题,这就是我停止尝试使用SSIS包执行任何操作的原因。我发现,我可以在没有SSI的情况下完成同样的任务(使用直接SQL和批处理文件,或者更复杂的话使用C#app),而且花费的时间更少,也不太容易出现此类问题。根本不喜欢SSIS包。