Can't connect to other XML configuration file from SSIS Package Utility - sql-server

I am using an SSIS package for which i have created an XML configuration file.
But when I tried to run the package using the Execute Package Utility, and added a new XML Configuration file, it's taking the connection from in-built connection manager.
I am not being able to connect to any other Config file, until I configure that file by opening my solution.
How can I add some other configuration file while running from Execute Package Utility, without configuring it from the solution?

Related

Airflow 2.0 SQL Server connector

I want to use the airflow 2.01 docker-compose file from apaches github.
here is the link docker-compose.yaml and here is the link to the dockerfiledockerfile
I want to use a Dag which should grab data out of my SQL Server database. Actually I get the following error:
no module named pymssql
After I manually installed it, I get an error like no module named pyodbc.
When I want to install this manually I get an gcc error, that it is not possible to install.
Does anyone have any clue about this?
Is there any docker-compose file which is able to handle SQL Server connection for Airflow 2?
Thanks in advance

Is there a way to throw an exception if the configuration xml file is not found in SSIS Package?

I have an SSIS package (sql server 2012) which has a configuration xml file (dtsConfig). The path to the config is set by an environment variable. When executed using dtexec, and should the config file not be found in the expected location, the package runs regardless using the values in the package itself. Is there anyway to cause the package to immediately throw an exception if the dtsConfig is not found?
If the configuration file doesn't exists the package will take the variables default values and throw a warning that the configuration file is missing.
You can add a script task that checks if the file exists. If it doesn't exist then it throws an exception.
Additional Information
SSIS 2008 Package Configurations being ignored
Check if a File exists in C#

To run SSIS package outside of SQL server Data Tools you must install File_creation of Integration services or higher

Getting this error while trying to run Package.dtsx from command file(.cmd).
To run SSIS package outside of SQL server Data Tools you must install %File_creation% of Integration services or higher
I've used package parameters & File System Tasks in the package. I used below script in command file.
DTEXEC /FILE "F:\SOME FOLDER\Package.dtsx" /CONFIGFILE "F:\SOME FOLDER\PackagedtsConfig"
Appreciate any help on this.
The main problem is that SSIS packages are deployed using a SSDT version newer that the one installed on the server you are trying to execute the package on it. You have to install the same version of SSDT on the server.
Useful Links
https://social.technet.microsoft.com/Forums/en-US/e5a149bf-a636-44bd-b825-36f9984ae720/to-run-a-ssis-package-outside-of-sql-server-data-tools-you-must-install-move-file-to-archive-of?forum=sqlintegrationservices
https://dba.stackexchange.com/questions/49786/error-to-run-a-ssis-package-outside-of-sql-server-data-tools-you-must-install
https://dba.stackexchange.com/questions/138850/ssis-to-run-the-package-outside-of-sql-server-data-tools-you-must-install-expre

Unable to connect to SQL Server by Soap-ui

I want to connect to Microsoft SQL server 2012 by using SOAP-UI. I have downloaded JTDS-JDBC jar (jtds-1.3.1 Executable Jar File) and store this SoapUI-PRo-5.0.0\bin\ext folder.
Now while writing groovy code by Data Source Step, which Driver should i select.
How can I confirm that this jar file is loaded successfully when soapui is start up.
Try net.sourceforge.jtds.jdbc.Driver() Did you see the documentation?
You should see a message in the soapui log, like:
INFO:Adding [C:\Program Files\SmartBear\soapUI-...\bin\ext\....jar] to extensions classpath

How to view postgres on the hsql database manager

Mmm. I put the postgre jar on the lib folder of hsql database manager but then I tried to use the database manager an error occurs "java.lang.ClassNotFoundException:org.postgresql.Driver".
It is not enough to put the jar in the lib folder. You need to include the jar in the command line that you use to execute DatabaseManager. An example for Windows below:
java -cp /path/to/hsqldb.jar;/path/to/postgres/pg.jdbc3.jar org.hsqldb.util.DatabaseManagerSwing

Resources