2

need some help in executing my SSIS package from command prompt. below is the path of my DTExec file and the package path. when i run this , i am getting an error "missing argument for option "file"

"C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\DTExec.exe"/f

"C:\Users\myname\Documents\Visual Studio 2015\Projects\SSIS tutorials\SSIS tutorials\filtering duplicates using fuzzy grouping.dtsx"

please help

Hadi
  • 36,233
  • 13
  • 65
  • 124
Data Enthusiast
  • 37
  • 1
  • 2
  • 4

2 Answers2

0

When installed Integration Services the DTExec path (C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\) is added by default to PATH environment variable so you can use the following command (make sure it is one line command)

Dtexec /f "C:\Users\myname\Documents\Visual Studio 2015\Projects\SSIS tutorials\SSIS tutorials\filtering duplicates using fuzzy grouping.dtsx"

Also check spacing between arguments

Reference

Hadi
  • 36,233
  • 13
  • 65
  • 124
0

I was able to resolve my issue by placing everything on one line as criticalfix and Hadi mentioned above. Make sure there are no returns after the /f argument, just a space.

James Vaughn III
  • 145
  • 1
  • 3
  • 11