【问题标题】:SSIS package deploy to remote SQL Server 2012SSIS 包部署到远程 SQL Server 2012
【发布时间】:2013-03-05 20:52:35
【问题描述】:

我已经在

上创建了 SSIS 包

VS 2010 外壳

我能够成功地将我的包部署到SSISDB/Folder/Projects/PackageName(本地服务器)

但我无法将其部署到远程 SQL Server 2012。

我该怎么做?

我在 VS 2010 Shell 中的文件系统/MS SQL Server 包部署在哪里?

我试过这个: FTP 包(ispac)到远程数据库服务器并从那里运行它。 当我尝试这样做时,出现以下错误

Warning: Failed to decrypt an encrypted XML node. Verify that the project was created by the same user. Project load will attempt to continue without the encrypted information.

Warning: Failed to decrypt sensitive data in project with a user key. You may not be the user who encrypted this project, or you are not using the same machine that was used to save the project. If the sensitive data is a parameter value, the value may be required to run the package on the Integration Services server.

【问题讨论】:

    标签: visual-studio-2010 deployment ssis package


    【解决方案1】:

    所以……你的问题有很多要解开。

    在 SQL Server 2012 中,Microsoft 引入了一种新的默认部署模型,即项目部署模型。您无需部署单独的 .DTSX 包文件,而是“构建”一个项目部署文件(您的 .ISPAC)并将其in toto 部署到服务器。

    这就是您看不到文件系统/包部署模型的原因。如果您想将项目的部署模型更改为包部署模型,则可以。只需右键单击项目并选择“转换为包部署模型”,然后您就可以像以前一样继续将包单独部署到文件系统或 MSDB 存储。

    (顺便不推荐这个,项目部署挺甜的。)

    所以一个问题是,当您为您的 SSIS 项目执行 VS2010 的部署过程并选择远程服务器作为您的部署目标时,您会看到什么错误?

    对于您的加密问题,请阅读this link about Access and Security Controls in SSIS Packages,并特别注意底部标题为“基于包生命周期的保护级别设置”的部分,其中包含一些修改包加密的最佳实践将包从开发环境迁移到生产环境时的级别。

    【讨论】:

    • 使用新的部署模型,我如何实现我的转换?我的意思是当我部署到远程服务器时,我希望更新我的连接字符串,因为我在本地会有不同的字符串。
    • 所以你要找的是环境。 copperblueblog.com/2012/05/02/…
    • 非常感谢,它很有帮助。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-01-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-02-28
    • 2023-04-06
    相关资源
    最近更新 更多