SSIS Connection not found in package

前端 未结 20 1932
一整个雨季
一整个雨季 2020-12-06 09:48

I\'m kind of new to SSIS programming, and I\'m having some problems deploying an SSIS package.

This package runs correctly on my PC, does everything it needs to do ..

20条回答
  •  一个人的身影
    2020-12-06 09:55

    The previous remarks about deleting or removing a connection are absolutely a possibility. But you can also get this error when you attempt to invoke a package that uses project level connections (instead of package level connections).

    If you are using project level connections and still want to use dtexec, never fear there is a way. I would not recommend converting them to package level connections (assuming you created them as project level connections for a good reason).

    You will need to deploy your SSIS project. Your SSIS server will need to have a catalog created (https://msdn.microsoft.com/en-us/library/gg471509.aspx). Once you have the catalog, in your SSIS project select Project->Deploy and follow the wizard. The result will be a *.ispac file generated in your SSIS solution folder/bin/Development

    Now for the money command, instead of invoking your package with a simple: dtexec.exe /f "package.dtsx"

    instead call it this way: dtexec.exe /project "<...>/project.ispac" /package "<...>/package.dtsx"

    The ispac file has the project level connection info that is needed to execute your package and you should be set!

提交回复
热议问题