"dtutil", how to tell which configuration file for packages using after deployment?

Hello All, 
Trying to achieve this feature, 
Using DOS command to automatic my deployment process--glad I found dtutil. However, it doesnt give you any chance to identify which configuration file to be used by SSIS packages after deployment.
Deployment Method: file deployment
Configuration sued: XML file and SQL Table. IN XML file, it tells which DB connection for packages to look up the configuration table.
Who can share some thoughts on this?
Derek

It is NOT about sequence.
It is about how to point which configuration file to be used by deployed packages as during the "dtutil.exe"
deployment, you dont have chance to identify which physical location confg files to be used.
Derek
That you do only at the time of execution of packages. By default it uses configuration settings created at design time within the package. If you want to override it, you can use \Configfile switch of dtexec for that. You can also set explicit values for
properties using /SET switch
http://technet.microsoft.com/en-us/library/ms162810(v=sql.105).aspx
See this to understand how configs are applied in runtime
http://technet.microsoft.com/en-us/library/ms141682(v=sql.105).aspx
and this to understand behaviour difference in ssis 2008 
http://technet.microsoft.com/en-us/library/bb500430(v=sql.105).aspx
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

Similar Messages

  • How to control which Configuration File a package Opens with in MS Visual Studio 2008 ?

    When running our jobs, I know which Configuration File is being used, as it's specified in the path.
    But when opening SSIS Jobs in MS Visual Studio, lets say there is four different Config files.
    How do you control which one is used when you are working with the job in Visual Studio?
    For example in the above screen, you can 'Add' or 'Edit' or 'Remove' Configurations but you can seem to say
    "Reload this package with x Configuration", or "Select this particular one at the moment" for instance?

    The configuration file mentioned last in the above screen is the one loaded last and the values of this file are applied. You can specify the sequence of the file with the arrow buttons on the right in case if you want a different config file to be loaded
    in development and then change them back when you are deploying the package as a job. 
    Surender Singh Bhadauria
    My Blog

  • How to create a configuration file for open ldap.

    hi,
    I have installed open ldap on my machine. Now I want to configure it to NetWeaver.
    For this, I started configuration through configtool utility of NetWeaver. While configuring, we need to select or upload configuration file. But now as it is open ldap we need to write our own config file.
    I tried it by selecting dataSourceConfiguration_ads_deep_readonly_db.xml  as a configuratio file. it shows successful test connection but the user which  I have created is not appearing in UME store.
    Does any body having solution for this?
    I am trying to solve this problem from two days. I really appriciate one who will sove this problem

    Well the configuration file you chose does not allow users created in NetWeaver to be created in the LDAP.  That's why it's a "readonly" configuration.  I would guess that you need a custom configuration file specifically for open ldap.
    This should help get you started on a custom configuration file:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b7/14d43f2dd44821e10000000a1550b0/frameset.htm
    Then again, if the only problem with the .XML file you chose is that you can't write to the LDAP, give the dataSourceConfiguration_ads_writeable_db.xml configuration file a shot.

  • How to search a .csv file for data using its timestamp, then import to labview

    Hi, I'm currently obtaining density, viscosity and temperature data from an instrument, adding a timestamp and writing it to a .csv file which I can view in Excel. This works fine (see attached code) but what I need to do now is to search that csv file for data which was obtained at a certain time, import the temperature, density & viscosity values at this time back into Labview to do some calculations with them, while the data acquisition process is still ongoing.
    I've found various examples on how to import an entire csv file into labview, but none on how to extract data at a specific time. Also, whenever I try to do anything with the .csv file while my data acquistion VI is running, I receive error messages (presumably because I'm trying to write to and import data from the .csv file simultaneously). Is there some way around this, maybe using case structures?
    If you need to know my skill level, I've been using Labview for a few weeks and prior to that have basically no experience of writing code, so any help would be great. Thanks!
    Solved!
    Go to Solution.
    Attachments:
    Lemis VDC-30 read registers MODBUS v5.vi ‏56 KB

    It sounds as if you are going about this a little backwards writing to a data file and then extracting from the file but its the weekend so I can't think of an improved way to do it at the moment. 
    Searching for a specific time with those specific values is quite easy, or if you wanted to select any time then you could interpolate the values to find any value that you want (This is where the contiguous measurement comes in, as you have readings at discrete times you will have to interpolate the values if you want to get the 'measured value' at a time point that is not exactly one of your measured points).
    If you can extract the TDMS time column and the T, D & V then simply thresholding and interpolating each of your array/data sets should allow readings at your desired times.
    Attachments:
    Interpolate.png ‏301 KB

  • How to tell which Indexes are not being used?

    We are a large development shop and have many customers. Our database design is very generic so that it works for all of our customers. Each night we use an SSIS ETL process to bring down large amounts of data from the iSeries into SQL. One
    particularily large customer takes a very long time and we are looking for ways to speed up thier data import and transformation. I would like to see which indexes he does not use and possibly remove them. Each night we fully repopulate hundreds of staging
    and ods tables and incrementally delete and repopulate the days work for a handful of history type tables. Removing some indexes off of the large tables could make a big impact. 
    How can i tell which indexes the customer does not use?

    > IDENTIFYING UNUSED INDEXES IN A SQL SERVER DATABASE 
       Just because an index is not being used does not necessarily mean it should be removed.
    > Index This: All About SQL Server Indexes
    sp_BlitzIndex
    José Diz     Belo Horizonte, MG - Brasil

  • How to tell which GSM band phone is using

    I've looked and can't find any info on this...is there a way to tell which of the 4 bands the phone is using and/or a way to pick which band it's using?

    The band in use is based on the network you are on. You have no control over it and no real need to know it. In general for a given location there is only one band that is available. The following Wikipedia article discusses bands:
    http://en.wikipedia.org/wiki/GSMfrequencybands

  • How to tell which serial number was already used for CS5.5 Web?

    I have a 2 copies of CS 5.5 Web Premium at work.  I need to reinstall them on 2 laptops and 2 PCs.  Each copy has been used before on the laptops, but the hard drives on the laptops crashed and will need to be reinstalled.  Will this cause any issues?  Thanks in Advance!
    -Tim

    Contact Customer Service:
    Contact Customer Care
    Pick a topic like Creative Suite. Then pick a question. Choose the "Still Need Help" option and you should see Web Chat.

  • How do i connect/configure MBA for presentation using wireless/bluetooth microphone

    Hi,
    am rather desperate.
    i am using a Plantronics Voyager PRO+ which is connected to my MBA via bluetooth.
    i tested using Skype and it works, sound from the speakers on MBA and input from my wireless microphone.
    how do i configure my MBA so that i can speak into the bluetooth microphone and have the sound coming out from the speakers of my MBA or connected to my MBA?  Is there a program that i need to run in the background or install?
    i configured using Audio MIDI Setup for input from Plantronics and output via speakers on my MBA.
    My presentation is due very soon and getting this to work is crucial.
    thank you very much!

    I've been going at this for days, and have probably exhausted all the proposed solutions on the first 3 pages of various google searches. I'm getting the feeling that Vista users are pretty much SOL for the time being.
    For the record, I just tried out a few of the solutions (mRouter & SoftickPPP) on XP and they work perfectly.
    Post relates to: Centro (Verizon)
    Message Edited by Cogwheel on 02-13-2009 09:45 AM

  • How to tell if a file is being used by another process?

    Thanks to nrlz for helping me with my last question http://forum.java.sun.com/thread.jsp?forum=31&thread=387999&tstart=15&trange=15 i have been able to make my virtual folder containing folders :) sort of a tounge twister :)
    However i have had to put in a 1 second delay before running the script after i create it otherwise the script will fail as it thinks the file is still being used by the java program.
    I wish to know how to test for wether a file is currently locked by a process (with out trying to create a File() instance in a try/catch block as this would lock the file again :/ )
    the program is below.
    If you are using win98 you may need to change:
    Runtime.getRuntime().exec("c:\\winnt\\system32\\wscript.exe \"createShorcut.vbs\"");
    to
    Runtime.getRuntime().exec("c:\\windows\\system32\\wscript.exe \"createShorcut.vbs\"");
    you will need a file called directories.ini with the following format:
    <directory that will hold the shortcuts>
    <directory 1>
    <directory 2>
    <directory n>
    END
    example
    --->file start<---
    c:\root
    c:\
    d:\
    f:\apps\
    g:\games\
    END
    --->file end<----
    import java.io.*;
    class winVirtualFolder
         public static void main (String args[]) throws IOException, InterruptedException
               File inFile = new File("directories.ini");
             FileReader fileReader = new FileReader(inFile);
             BufferedReader bufReader = new BufferedReader(fileReader);
             String str="";
                   String home="";
                   winVirtualFolder wVF=new winVirtualFolder();
             home= bufReader.readLine();
                   str=bufReader.readLine();
                   System.out.println("HOME DIR: "+home);
                   while (!str.equals("*END*"))
                        System.out.println("***STR: "+str);
                        wVF.createShortcuts(str,home);
                        str=bufReader.readLine();
         void createShortcuts(String path,String home) throws IOException, InterruptedException
              File directory= new File(path);
              String[] listing =directory.list();
              File[] fileListing =directory.listFiles();
              String[] directories= new String[listing.length];
              for (int i=0;i<listing.length;i++)
                   System.out.print(listing);
                   if (fileListing[i].isDirectory())
                        System.out.println(" DIRECTORY");
              File outFile = new File("createShorcut.vbs");
              FileWriter fileWriter = new FileWriter(outFile);
                   BufferedWriter bufWriter = new BufferedWriter(fileWriter);
                        bufWriter.write("set WshShell = WScript.CreateObject(\"WScript.Shell\")\r\n");
                        bufWriter.write("set oShellLink = WshShell.CreateShortcut(\""+home+""+listing[i]+".lnk\")\r\n");
                        bufWriter.write("oShellLink.TargetPath = \""+path+""+listing[i]+"\\\"\r\n");
                        bufWriter.write("oShellLink.Description = \""+listing[i]+"\\\"\r\n");
                        bufWriter.write("oShellLink.Save\r\n");
              bufWriter.close();
                        sleep(1000);
                        Runtime.getRuntime().exec("c:\\winnt\\system32\\wscript.exe \"createShorcut.vbs\"");
                   else System.out.println("");
         void sleep (long time)
              long waitValue=System.currentTimeMillis()+time;
              while (System.currentTimeMillis()<waitValue){}

    I have over come my problem by creating a seperate script for each shortcut first and then running the scripts later. This does mean that there needs to be space for the temporary script files... but since each of those are under 1K each i do not suppose that it is much of an issue. It has however remakably increased performance by over 100 fold!
    here is the code if anyone is interested:
    import java.io.*;
    import java.util.*;
    class winVirtualFolder
         public static void main (String args[]) throws IOException
               File inFile = new File("directories.ini");
             FileReader fileReader = new FileReader(inFile);
             BufferedReader bufReader = new BufferedReader(fileReader);
             String str="";
                   String home="";
                   int count=0;
                   winVirtualFolder wVF=new winVirtualFolder();
             home= bufReader.readLine();
                   str=bufReader.readLine();
                   System.out.println("Home Directory: "+home);
                   Vector createdDirectories = new Vector();
                   File directory= new File(home);
                   String[] listing =directory.list();
                   for (int i=0;i<listing.length;i++)
                        if (wVF.isAlink(listing))
                             createdDirectories.add(listing[i].substring(0,listing[i].length()-4));
                             count++;
                   int startCount=count;
                   while (!str.equals("*END*"))
                        System.out.println("Creating shortcuts scripts of directories from "+str);
                        count=wVF.createScripts(str,home,createdDirectories,count);
                        str=bufReader.readLine();
                   System.out.print("Running Scripts");          
                   wVF.runScripts(startCount,count,home);
                   int dirCount=0;
                   File file;
                   while (dirCount<count-1)
                        dirCount=0;
                        String str1;
                        for (int i=0;i<createdDirectories.size();i++)
                             str1=(String) createdDirectories.get(i);
                             file = new File(home+""+str1+".lnk");
                             if (file.exists()) dirCount++;
                        System.out.print(".");
                        wVF.sleep(100);
                   System.out.println("Done!");
                   System.out.println("Deleting Scripts");
                   wVF.deleteScripts(startCount,count,home);
         int createScripts(String path,String home,Vector createdDirectories, int count) throws IOException
              File directory= new File(path);
              String[] listing =directory.list();
              File[] fileListing =directory.listFiles();
              String[] directories= new String[listing.length];
              for (int i=0;i<listing.length;i++)
                   if (fileListing[i].isDirectory())
                        int no=0;
                        String number="";
                        while(exists(listing[i]+""+number,createdDirectories))
                             no++;
                             number="-"+no;
                        createdDirectories.add(listing[i]+""+number);
                        File outFile = new File(home+"createShorcut"+count+".vbs");
              FileWriter fileWriter = new FileWriter(outFile);
                   BufferedWriter bufWriter = new BufferedWriter(fileWriter);
                        bufWriter.write("set WshShell = WScript.CreateObject(\"WScript.Shell\")\r\n");
                        bufWriter.write("set oShellLink = WshShell.CreateShortcut(\""+home+""+listing[i]+""+number+".lnk\")\r\n");
                        bufWriter.write("oShellLink.TargetPath = \""+path+""+listing[i]+"\\\"\r\n");
                        bufWriter.write("oShellLink.Description = \""+listing[i]+"\\\"\r\n");
                        bufWriter.write("oShellLink.Save\r\n");
              bufWriter.close();
                        count++;
              return count;
         void runScripts(int startCount,int count,String home) throws IOException
              for (int i=startCount;i<count;i++)
                   Runtime.getRuntime().exec("c:\\winnt\\system32\\wscript.exe \""+home+"createShorcut"+i+".vbs\"");
         void deleteScripts(int startCount,int count,String home) throws IOException
              for (int i=startCount;i<count;i++)
                   File outFile = new File(home+"createShorcut"+i+".vbs");
                   outFile.delete();
         void sleep (long time)
              long waitValue=System.currentTimeMillis()+time;
              while (System.currentTimeMillis()<waitValue){}
         boolean exists(String str,Vector createdDirectories)
              for (int i=0;i<createdDirectories.size();i++)
                   if (str.equals((String) createdDirectories.get(i))) return true;
              return false;
         boolean isAlink(String str)
              if (str.endsWith(".lnk"))
                   return true;
              return false;

  • [SOLVED]How to totally remove configuration files that pacman uses?

    Hi,
    Playing with Arch linux with a view to ditching windows completely, but came across one very small issue. One where I have tried to find the answer on the wiki and using the forum search
    Anyway, I installed firefox using pacman, no problems. Then I discovered Yaught (can never spell it right) and found a proper branded firefox package on there.
    I run:
    sudo pacman -R firefox
    and it is rightly removed. The issue is it still seems to keep the installation files on the system.
    How do I completely remove all the installation files?
    Last edited by oxymoron (2009-03-16 14:06:34)

    Dont need a -y to clean your cache. Also -Scc will wipe the whole thing if you dont want them taking room.
    Some thoughts on making use of the cache...
    '-Sc' keeps the currently installed pkges and cleans only uninstalled/old pkges from cache, its a good practise to do it everytime *before* you upgrade. Doing that ensures youll always be able to downgrade to a working set of pkges if theres something wrong with an upgrade.

  • How to tell the PO is for re-approve after price change when release PO

    Hi,
    When doing PO approval (release) with transaction code ME28, we want to know whether the PO is a newly created PO for approval or it is for Re-approve due to changes (on price, quantity etc). We want to be able to differential the Re-approve PO in ME28 screen without drill down to the PO changes history screen. Is that possible?
    best rgds

    hi
    from ME28  goto  environmentdisplay documentit will take u to po
    in Po from menuenvironmentheader changes
    here u can see release history
    Vishal...

  • How to create different log files for each of web applications deployed in OC4J

    Hi All,
    I am using OC4J(from Oracle) v1.0.2.2 and Windows2000. Now I want to know
    1. how to create different log files for each of my deployed web applications ?
    2. what are the advantages in running multiple instances of oc4j and in what case we should run
    multiple instances of OC4J ?
    3. how to run OC4J as Windows2000 Service rather than Windows2000 Application ?
    Thanks and Regards,
    Kumar.

    Hi Avi,
    First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
    I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
    I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
    Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
    Thanks and Regards,
    Ravi.

  • How can I Create a Client Configuration File for RemoteApp and Desktop Connection with Server 2012?

    I have a working RDS RemoteApp site and looking to test out the feature in Windows 7 Control Panel\All Control Panel Items\RemoteApp and Desktop Connections
    I came across this link: Create a Client Configuration File for RemoteApp and Desktop Connection and I believe this is what I need to do first, but these instructions are for
    Server 2008, and I'm running 2012.
    Any suggestions or tips on how I can begin testing this with Server 2012?

    Hi,
    You can manually enter the path to the 2012 feed and it will connect and download the RemoteApps and Desktop connections.
    If you need a sample .wcx file I have posted one here a couple of times.  If you want I will look for it and post a link.
    -TP
    I tried adding my URL's below, these are sample links that work for me right now for when I log into the web page, but neither of these work.  And I'm not sure what I would need to do with or how to create a .wcx file.
    When I type in my URL of: https://connect.mydomain.org/RDWeb, I get redirected to: 
    https://connect.mydomain.org/RDWeb/Pages/en-US/login.aspx?ReturnUrl=/RDWeb/Pages/en-US/Default.aspx

  • How to create multiple pof configuration files for c# client

    Is there a way to have multiple pof files for c# coherence client?
    Can I create a file called my-pof-config.xml with the following line...
    <pof-config xmlns="http://schemas.tangosol.com/pof">
    <user-type-list>
    <include>assembly://Coherence/Tangosol.Config/coherence-pof-config.xml</include>
         <include>file://pof-config.xml</include>
    and here is what pof-config.xml file look like
    <?xml version="1.0" encoding="UTF-8"?>
    <pof-config xmlns="http://schemas.tangosol.com/pof">
    <user-type-list>
    In my C# visual studio project, this is where I load my-pof-config.xml in app.config
    <coherence>
    <cache-factory-config>coherence.xml</cache-factory-config>
    <cache-config>coherence-cache-config.xml</cache-config>
    <pof-config>my-pof-config.xml</pof-config>
    </coherence>
    and this is what I saw in the log...
    2012-02-23 14:35:35,529 DEBUG Coherence (null) - 2012-02-23 14:35:35.529 level(thread=System.Threading.Thread): Loaded POF configuration from "FileResource(Uri = file://my-pof-config.xml, AbsolutePath = D:\worktrees\ads\mainline\v2\ads\demos_cs\build\my-pof-config.xml)"
    2012-02-23 14:35:35,545 DEBUG Coherence (null) - 2012-02-23 14:35:35.545 level(thread=System.Threading.Thread): Loaded included POF configuration from "EmbeddedResource(Uri = assembly://Coherence/Tangosol.Config/coherence-pof-config.xml, AbsolutePath = assembly://Coherence/Tangosol.Config/coherence-pof-config.xml)"
    2012-02-23 14:35:35,623 DEBUG Coherence (null) - 2012-02-23 14:35:35.623 level(thread=ExtendTcpCacheServiceCSharp:TcpInitiator): Loaded POF configuration from "FileResource(Uri = file://my-pof-config.xml, AbsolutePath = D:\worktrees\ads\mainline\v2\ads\demos_cs\build\my-pof-config.xml)"
    I don't see pof-config.xml is loaded at "Loaded included POF configuration....". How do I get around it so I can load multiple pof configuration files for c# client?

    Hi,
    Not sure about C# but I would suggest try removing file:// from
    <include>file://pof-config.xml</include>and keep pof-config.xml and my-pof-config.xml in the same directory.
    Hope this helps!
    Cheers,
    NJ

  • How to create bulk configuration files from a template for staging?

    Hello,
    We have created a sample configuration for ISRG2 2901 Router.  The sample configuration is long, and with copy/paste it is possible to skip some lines, and it is difficult to ensure the configuration of every device is standardized due to this error possibility. What we are trying to achieve is first create a template from this sample configuration file, and then create configuration files for each device seperately and automatically. After creating this configuration instances, we want to be able to distribute the configuration files (and possibly the ios) to the devices during the staging phase. Since there are about 1000 2901 routers, creating configuration files is important?
    From searching we have found the following tools:
    1) CCE (Cisco Configuration Engine): This tool seems to be very efficient for distributing the created configuration files. We may use the serial number of the device, and it provides almost zero touch provisioning of the configuration files to the devices. Creating the configuration file from the template seems to be manual, i.e enter the ip addresses of the interfaces, the routing tables one by one for each device. How can we use velocity template for device configs?
    2) Ciscoworks LMS Prime: It is possible to create a baseline template for the devices, and after getting the backup configuration of the routers, it is possible to compare the actual configuration of the device with the baseline template, and understand if there is any difference with each other. This is indeed very useful in order to keep the configuration standardized, we again could not find a way to create bulk configuration files from the baseline template.
    3)  Solarwinds Config Generator: This tool is useful for creating a configuration file from a template, but again not for automatically creating configuration files, and needs manual intervention.
    4) Excel Macro: It seems that some people have achived to automatically create configuration files with using an excel macro, but we could not find a procedure or tip of how to achieving this.
    5) Pearl or TCL/TK Script: Again since we are not software developers but from networking field, it is difficult to achieve a working form of this scripts or codes due to to lack of documentation and development experience.
    So our problem comes down to creating a template from a sample configuration, and creating bulk configuration files from the template. Is there a specific tool or procedure to achive this purpose?
    Thanks in Advance,
    Best Regards,

    Hi,
    Try this one http://www.gen-it.net
    Regards,
    Stuart

Maybe you are looking for

  • Trying to Understand the Structure of table GLPCT

    Hello SCN Community, I'm in the process of learning about how the fields in table GLPCT are closely connected to fields in related tables such as GLPCA, GLPCC, and GLPCO. All has been accomplished except for the source of GLPCT-SOBJNR (Object number

  • Losing a session variable!

    I have a Cold Fusion module being called from an Authorware piece. The module is called twice. The first time is when the course is started for the first time, where it sets a session variable to the current date and time and adds a record to the cou

  • Plug-ins won't work with aperture 3.5.1

    Just updated to aperture 3.5.1 and now none of my plug-ins won't work what can I do to fix this problem. Any help woud be great.

  • CCMS alert texts

    Hi Guys, ANy idea how to read the CCMS alert texts into an ABAP program? Need to capture the alert texts of a red alert in CCMS and display via a program. pls help. Will reward points if useful. Thanks a lot Leeza

  • In house Repair confusion

    CAn someone give some Inhouse Repair Process. Any help will be appreciated.