SSIS Project Connections

给你一囗甜甜゛ 提交于 2019-12-04 05:56:41

问题


Using Visual Studio to build my SSIS packages. Project connections - they seem like a good idea so I'll do that instead of repeating my code....

Problem when you try to run the packages individually outside Visual Studio, say dtexec, they don't have any connection associated with them so they fail.

Do I really have to duplicate package connections for all 20 packages? Is there not a way to share a connection?

I want to be able to run each package separately/in groups as they will have a differing schedules.

I'm a developer so Visual Studio is my default goto - would SQL Server provide a better house for this?

Thanks


回答1:


For non-project based connections, when you run the package, it'd take a form like

dtexec /file MyPackage.dtsx 

However, for project based connections, you need to include the project in the dtexec call. Otherwise, you'll end up with missing connection errors

dtexec /package MyPackage.dtsx /project MyProject.ispac

Note: the current documentation is inaccurate as it specifies /file MyPackage.dtsx /project MyProject.ispac The /File parameter is invalid for Project deployment model solutions



来源:https://stackoverflow.com/questions/31388748/ssis-project-connections

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!