Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

ssis dynamic configuration file

$
0
0

Hi everyone ,

current scenario :

A ssis package is created which loads the data from a folder with text files into the destination DB .

further this package is created Dynamic and all dynamic values(Server Name,DB Name,File location,Error File) are kept in  a Configuration table created in a MSDB DB..

Specific variables are created for the same like varservername,vardbname,varfilename ......etc

before teh loading process , an execute SQL process SQL Query is being executed which reads teh msdb DB and sets teh Values for variables .

everything is running fine dynamically . for DB change ,filename change,location change  on my local computer .

but when the Same ssis file is being loaded on another system & a SQLJob being created and executed for same . it does not read the Server Name Name .

before executing the package . Appropriate values are set in mSDB table so that the package takes correct values .

but unfortunate it is taking the  default value of the Filelocation and not the new one  from the msdb configurationTable

Upon research found that after i change the server name variable to New Server. all teh values are then correctly read

requirement :-

i want the file whenever placed on new server to correctly read teh values from the table (dynamic) .without Opening ssis package on new computer . All things should be dynamic .

Please help or suggest .......... How can i configure the server name in SSIS package without opening it ...... and then finally execute it.

I got teh concept of Offline working SSIS File . is this Ok..? Please suggest


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>