102
questions
0
votes
0
answers
18
views
How to Use a Dynamic Connection String During SSIS Package Validation in Visual Studio 2017 Package Deployment Model?
Is there any event handler or task that can dynamically change the connection during the validation phase of a package when executed through the Execute Package utility?
I have two variables in my ...
-1
votes
0
answers
59
views
Issue with ExecuteSQLTask when run from Batch File (only?)
I recently upgraded Visual Studio 2017 to 2019, and I'm having an issue kicking off an SSIS package with a Windows batch file.
The package runs without error from the console in VS, but when run from ...
0
votes
0
answers
106
views
DTExecUI works but DTExec does not
I'm trying to run an SSIS package on a remote workstation located inside a company network because a firewall prevents the ETL servers from communicating directly with each other. Reconfiguring the ...
0
votes
1
answer
160
views
Executing SSIS Package from DTExec batch file [closed]
I have an SSIS package which contains a Script Task, Execute SQL Task and File System Task inside of a Foreach Loop container.
I can execute the package without issue in Visual Studio, but when I try ...
0
votes
0
answers
53
views
Double click on SSIS package not loading
I've migrated from Visual Studio & SQL Server 2012 to 2022, and in the new server when I want to run a dtsx package manually I have to specify which one I want to run (even when double clicking on ...
1
vote
1
answer
545
views
DTEXEC override of connection string is not working
We have many SSIS packages stored on a network drive. Every package has a connection manager called config_connection and all the package configurations are stored in a database that ...
0
votes
1
answer
2k
views
Error Running DTEXEC 64 bit from command line
I'm migrating all my SSIS packages and solution to Visual Studio 2022.
When I try the packages inside visual studio they run ok without problems.
But when I try it from cmd and I get this error:
...
0
votes
1
answer
337
views
How to run dtexec remotely
On my work i have a situation that we have a three tier setup:
Database server
Application server
Clients
We work with SSIS packages which are stored in Database Server (on a share) but are called ...
0
votes
0
answers
228
views
Execute DTExec file via Command Line
I've got a dotnet core 6 project where I need to execute SSIS packages via dtexec.
So far I have the following code:
private void ExecutePackage()
{
var processOutput = string.Empty;
...
0
votes
0
answers
176
views
Is it still possible to run SSIS Packages from DTEXECUI or similar?
My organization depends on SSIS packages to be run by data entry folks who are not trained, qualified, nor the least bit interested in database development. In our old SQL Server implementations (2008,...
0
votes
0
answers
375
views
DTExec.exe fails when running from a PowerShell script from remote
I'm trying to run the following PowerShell script on server A to a remote server B (REMOTE_PC):
$username = 'domain1\user22'
$password = ConvertTo-SecureString -String 'PASSWORD' -AsPlainText -Force
$...
1
vote
0
answers
207
views
How to migrate .dtsx package which executes python script to SSIS Linux using dtexec?
I am migrating SSIS ETL from Windows to Linux and using dtexec.
In Windows, the executables can be added as ...python.exe. I would like to know how the same can be migrated to Linux as python3 will be ...
1
vote
0
answers
183
views
VBS DTEXEC - SSIS Package fails to fully execute before continuing on
I have a vbs script that's failing to finish loading a file before moving on to the next steps. I've been using this code for 2+ years so this is likely due to my poor code and error handling - If the ...
1
vote
0
answers
392
views
Command line SSIS (DTEXEC) with Proxy account
I know we can start an SSIS package from DTExec. And when we define an SSIS job in SQL Agent, I can change the Run As to be a pre-defined Proxy account.
Now, can I run an SSIS package from DTExec, ...
1
vote
1
answer
2k
views
SSIS' DtExec 32bit vs 64bit Confusion
this question has been asked before in different flavours, but I cant find a satisfactory answer.
We are an MS based shop and we have plenty of SQL 2016 databases. We also use SSIS 2016 a lot and in ...
1
vote
0
answers
239
views
Not able to get error code and description in Dtexec /ISServer command in SQL Server 2019
I'm running a SSIS package which is developed in Visual Studio 2019 using dtexec command given below. We are using SQL Server Management Studio 2019 version. Packages are deployed to Integration ...
0
votes
0
answers
100
views
Error while trying to run package with dtexec
I'm attempting to run a package from command line with plans to schedule the run via batch.
I enter the following
dtexec /Project "C:\Users\XXXXXX\Documents\Batch\ScheduleRun\ScheduledRun\...
0
votes
2
answers
1k
views
Is it possible to override a variable value calculated via an expression by passing a different value in the DTExec command line?
Is it possible to override the value of a variable in a SSIS package, which is calculated via an expression, by passing in a different value on the DTExec command line?
I have a parameterized query ...
1
vote
1
answer
187
views
Run DTEXEC from SSMS to run SSIS Catalog Package
I would like to execute SSIS package using Catalog in a stored procedure using DTEXEC:
DECLARE @cmd varchar(8000)
DECLARE @params varchar(4000)
SELECT @params = '/SET
\Package.Variables[User::...
0
votes
0
answers
969
views
Executing SSIS package using command prompt
I am trying to execute an SSIS package using command prompt.
I have visual studio 2019 community edition installed and have selected 'Data storage and processing' during the installation.
Also ...
0
votes
1
answer
2k
views
Executing SSIS Package from File System
We execute SSIS package using below command written in a batch file. (On premises MSSQL DB)
D:\Program Files\Microsoft SQL Server\130\DTS\Binn\DTEXEC.exe>" "E:\Packages\SSISPKG1.dtsx"...
0
votes
0
answers
74
views
Cannot find the file specified | SSIS | Execute Package SSIS using Dtexec on SQL Server
I have a doubt about Package SSIS.
I am loading an information from an Excel file to a table on the SQL Server using SSIS. My file is on the Desktop and the package is successfully executed using ...
1
vote
0
answers
2k
views
could not create dts.application because of error 0x80040154 dtexec error in SSIS
Should the SSIS package execution work with dtexec.exe without installing integration services or SQL server?
1
vote
1
answer
2k
views
SSIS Package Failing when called through DTExec - fine through VS
I have an SSIS package that is running fine when I press the "Start" button in VS, but when I run it via DTExec, it's bombing part way through with the following errors.
Error: 2020-06-10 13:47:...
0
votes
1
answer
5k
views
Error: To run a SSIS Package outside SQL Server Data Tools you must install Standard Edition of Integration Services or higher
We are moving an existing system from a SQL Server 2005 system. A component of that system was an SSIS project created with VS2005.
We installed SQL Server 2016 STANDARD EDITION in January. The ...
0
votes
0
answers
89
views
DTEXEC imported text file location
Does anybody know where the intermediate text file is stored by DTEXEC when it uses BULK INSERT for fast import the localy stored Excel file?
As far as I know the BULK INSERT command can import only ...
3
votes
1
answer
2k
views
Dtexec ISSERVER returns is not a valid server package path
I am executing a SSIS package via master..xp_cmdshell from a stored procedure and I am always getting the error
"Description:
'\SSISDB\Main\Projects\ProjectName\Packages\PackageName.dtsx' is not ...
3
votes
3
answers
5k
views
To run a SSIS package outside of SQL Server Data Tools you must install Standard Edition of Integration Services or higher
I am trying to run the SSIS package from a batch file,but it's throwing an error
To run a SSIS package outside of SQL Server Data Tools you must install Standard Edition of Integration Services or ...
10
votes
2
answers
16k
views
Execute Package Utility (dtexecui) not installed after installing SQL Server 2017
I was not able to find Execute Package Utility (dtexecui) after installing SQL Server 2017. Was not able to find any standalone installer from Microsoft to install it as well. Will any one please ...
1
vote
2
answers
489
views
Console application execute Dtsx file with error -1073679321
My code have not a problem. I know that because to console application don't execute only in my machine.
Basically I load the package and after execute.
I tried:
Execute Visual studio as ...
2
votes
1
answer
1k
views
How to run SSIS package with password in Windows Scheduler?
I have an SSIS package that has the ProtectionLevel=EncryptSensitiveWithPassword and would like to run this project .dtsx file from the Windows Task Scheduler (on MS Windows Server 2012). In the task ...
1
vote
1
answer
3k
views
problems running SSIS routine from command line
Can't run SSIS package from commend line
tried all the locations of DTExec.exe on machine
I have a basic SSIS package that reads files and loads into database. (runs fine from SSDT)
tried the ...
1
vote
1
answer
3k
views
SQL Server 2016 : Error running DTS package using dtexec from cmd line to export from table to flat file
I have the following software:
Microsoft SQL Server 2016
Windows Server 2016 Datacenter
SQL Server Management Studio v18.2 (SSMS)
Running services:
C:\workspace> net start | grep -i sql
SQL ...
5
votes
0
answers
2k
views
Execute SSIS package with proxy account from command line
I need to run SSIS2016 package from older SSIS (another server) because of extending legacy system. The package runs fine from SQL Agent, but I am unable to run it using tsql or DTEXEC. The problem is ...
3
votes
1
answer
534
views
SSIS Command line - ORA-00907: missing right parenthesis
I am trying to run a SSIS package from command line but I keep getting this
"ORA-00907: missing right parenthesis".
The package runs fine from the SSDT and the query I am using is also a simple ...
0
votes
0
answers
7k
views
Cannot run ssis packages because 64-bit dtexec is not installed
I've been able to successfully create an ssis package (.dtsx) file using the SSMS 'import data' option and the VS 2017 SSIS toolbox (SQL Server 2017). The package itself works and it reads a csv file ...
4
votes
1
answer
1k
views
How SQL Server maintenance plans work in relation with Jobs and DTExec?
How SQL Server maintenance plans work in relation with Jobs and DTExec?
I am specially interested in the maintenance plan's local connection which seems to be passed somehow to dtexec.
I have read ...
-1
votes
1
answer
60
views
it doesnt throw error when it fails. I'm running it in SQL agent job
dtexec /SQL "\Export table" /SERVER svr1 /USER User1 /PASSWORD "*******" /CHECKPOINTING OFF /REPORTING E
I also added this part
"/Par "$ServerOption::SYNCHRONIZED(Boolean)";True"
but it throws an ...
-1
votes
1
answer
168
views
dtexec /val /proj my.ispac /pack my.dtsx /rep v returns immediately without any messages
I'm trying to setup a command-line call to dtexec to validate packages, using the project model. I'm calling dtexec like this:
dtexec /val /proj my.ispac /pack my.dtsx /rep v
Though the real ...
2
votes
1
answer
4k
views
Passing Project parameter to dtexec
My SSIS package has a project parameter called SMTPServer.
I pass that parameter like below when executing dtexec:
"E:\Program Files\Microsoft SQL Server\110\DTS\binn\dtexec" /Server
{myDBServer} /...
1
vote
1
answer
6k
views
The term 'EXEC' is not recognized as the name of a cmdlet Powershell
I have an SSIS dtsx package that I want to run using PowerShell. Below is what I am running in powershell.
EXEC xp_cmdshell '"C:\Program Files\Microsoft SQL Server\130\DTS\Binn\DTExec.exe" /f "F:\...
0
votes
1
answer
623
views
How can i use dtsExec command in stored procedure to execute ssis package by passing entire configuration from a table?
I am using given command line to execute ssis packages in sp in sql server.
SET @dtsExecCmd = @DTSEXECCMDPATH + ltrim(rtrim(@ssisPkgFilePath)) + '" /CONFIGFILE "' + ltrim(rtrim(@ssisCommonConfigPath))...
0
votes
2
answers
842
views
Bare Bones Setup to Run SSIS Package
I work with Microsoft Access 2016 with a SQL Server 2008 R2 backend. I have used SQL Server Management Studio to create some SSIS package for quick copying of data (right-click DB -> Tasks -> Import/...
3
votes
0
answers
89
views
Having xp_cmdshell error running DTSX file
To export some data to a text file, I used the wizard in SSMS 17.x to create an SSIS file, and it ran fine from the wizard, but it gives me an error when I try to execute it again using xp_cmdshell, ...
0
votes
1
answer
720
views
Issue with SSIS Package parameter - dtexec
I am trying to execute SSIS package using command line dtcexe but I am getting error.
Error I get - Description: The package path referenced an object that cannot be found: "\Package.Variables[$...
0
votes
1
answer
1k
views
Appcrash Kernelbase.dll error when attempting to run SSIS package via DTExec.exe
I recently came across an issue while attempting to run a master parent SSIS package which calls several children packages. I haven't found a post with this exact issue, so I thought I'd share how I ...
0
votes
1
answer
108
views
DTEXEC doesn't trigger dtsx package in a power shell when triggered from java but works from command prompt on local machine
I'm calling a dtsx file in PowerShell(test.ps1) using below:
& $dtexec /f "$dtsx"
This works fine when I run the test.ps1 from command prompt in local machine but the same doesn't even trigger ...
13
votes
1
answer
18k
views
Is it possible to pass parameters to a .dtsx package on the command line?
I am currently executing an SSIS package (package.dtsx) from the command line using Dtexec.
This is as simple as:
dtexec /f Package.dtsx
However, I have some parameters that I would like to pass to ...
0
votes
2
answers
801
views
DTExec reporting only Data Flow task
In Windows 7 I want to schedule the execution of some DTSX packages. What I've done is to make a CMD file for each DTSX package, and schedule them with Windows Scheduler.
Starting from this article, ...
2
votes
1
answer
2k
views
Package Source Path not populated while using DtExecUI.exe
I had SQL Server 2008 installed earlier. I had the ability to right click on any SSIS package and select Open With "SQL Server 2008 Integration Services Package Execution Utility" as an option to ...