


dtsConfig file to your clipboard, then left click on the Miscellaneous folder in Solution Explorer in Visual Studio, then type Ctrl-V to paste it into your SSIS project.
#Dtexec reporting windows
dtsx files, then in Windows Explorer copy the. dtsConfig out of the directory with your. dtsConfig files in your solution in Visual Studio. dtsConfig Files to Your Visual Studio Solution dtsConfig file it creates for you from your relative path will end up in the “C:\Program Files\Microsoft Visual Studio 8\Common7\IDE” directory. If you forget and start Visual Studio from the Start Menu (such that the working directory is not set to your packages directory), the. When setting up an Execute Package task, mimic the following screenshots to use a relative path: bat file that runs the CD command to change the working directory before it starts Visual Studio. sln file if it is in the same directory as the packages. This can be accomplished by double clicking the. When designing packages, Visual Studio must be started with the appropriate working directory which is the directory with all the packages. bat file which uses the CD command to set the working directory. This is accomplished by running dtexec from a.

When dtexec is run, the working directory has to be set to the directory with all your files. just the filename)ĭtexec executes packages from disk, not from SQL Server or from the SSIS package store dtsConfig file is just a relative path (i.e. Package Configurations are of type “XML configuration file” and the path to the. dtsConfig files are all inside one directoryĮxecute Package tasks refer to the package to execute using a File connection manager, and that connection manager refers to the. When I say “relative paths in SSIS” I mean the following:
#Dtexec reporting portable
As evidenced by the volume of posts in the forums about problems with deploying SSIS packages, anything that makes packages more portable will make deployment less prone to error. The whole purpose of using relative paths is to make packages more portable, as opposed to packages and dtsConfig files having to live in a specific directory structure or drive letter on servers and developers’ laptops. We have chosen to use relative paths in Integration Services on several projects now, and since it has worked well, it is time to share this tip with the community.
