File connection and database connection as a parameter

hi
i am using ssis 2012, now i want all my  connection ,database and file connection as a parameter.
how to do it

Hi coool_sweet,
If I understand correctly, you want to use a parameter to control the connection string of flat file or database.
If in this scenario, we can add two parameters in the package with appropriate values, like the connection string of flat file and the connection string of database. Then use an expression with the parameter value to control the ConnectionString property
of Flat File Connection Manager and the ConnectionString property of OLE DB Connection Manger. The following screenshot is for your reference:
Besides, as Arthur said above, if you want to change the ConnectionString property of Flat File Connection Manager and the ConnectionString property of OLE DB Connection Manger via changing parameter values after deploying the package to SSISDB, there is no
need to do this. Because we can also change the connection manager properties in the Configure dialog box as below:
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support

Similar Messages

  • Note on applying patches to the file system and database

    Dear all,
    I am new to Oracle E-business suite. Anyone in the house that can give a note (either a step by step or oracle metalink note) on how to apply patches to a file system or database.
    Kind Regards.

    Hi,
    Steps to apply an application patch:
    - Stop all application services (keep the database and the database listener up and running)
    - Download the patch from Metalink
    - Copy the patch file to any directory (i.e. /u04/patches)
    - As 'applmgr' do the following:
    - Source the environment file
    - $ cd /u04/patches
    - Type 'unzip <patch_number>.zip'
    - cd <patch_number>
    - Type 'adpatch'
    - When it prompts you to enter the patch driver, type 'u<patch_number>.drv'
    Apply the patch on the database tier first then on the application tier.
    Do not forget to 'Enable Maintenance Mode' from adadmin before applying the patch. Once you apply the patch successfully, 'Disable Maintenance Mode' from adadmin.
    And, always follow the steps in the patch README file.
    For database patches, follow the steps in the patch README file and apply the patch using opatch as oracle user.
    For more details about applying patches, please refer to:
    "Oracle Applications Maintenance Utilities" manual
    http://download-uk.oracle.com/docs/cd/B25516_14/current/html/docset.html
    How to apply EBS 12i pathces in both Linux and Windows
    Re: How to apply EBS 12i pathces in both Linux and Windows
    Need to apply patch!
    Need to apply patch!
    Regards,
    Hussein

  • File adapter and database adapter

    hello everybody,
    i am using 10.1.3.1.o 10g
    i would like to access the data from .txt file and insert into oracle table.
    i did the following:
    1. i used file adapter(synchronous read) from local system.
    2. i used invoke activity to invoke the data from file adapter.
    3. i used asynchronous process.
    then what are the next steps i have to do?
    plse tell me what i have to do.

    hello andy,
    thanks for reply.
    Please read the following:
    i did the following:
    i have taken asynchronous process.
    selected fileadapter from partnerlink list, named as "fileadapter".
    selected synchronous read
    selected physical path,clicked browse and selected the folder where it is existed, checked delete files after retrieval
    typed the file name i.e. test.txt
    Define schema for native format selected.
    selected delimited, location of the file(F:\test\test.txt)
    selected file contains only one record
    enter the name as "schema", nxt, next finish.
    it created test_1.xsd(schema location). finish
    then drag and droped Invoke1 to the swimlane.
    in invoke1, selected partner link -fileadapter
    operation-synchread
    input variable- clicked createinputvariable(Gloabal variable)
    output variable-clicked createinputvariable(Global variable)
    created onemore partnerlink, selected database adapter
    named as "databaseadapter"
    selected connection "oracle"( i have already created database connection with oracle 10g)
    selected perform an operation on table
    selected "INSERT ONLY" option
    clicked import tables
    clicked query, selected "mindview" table, next, ticked both the columns(slno,name), finish
    and the table"mindview" has 2 rows already.
    i want to insert 3rd row.
    in partnerlink Myrole-"databaseadapter_role" is selected
    draged and droped invoke2 after invoke1 in the swimlane
    selected partnerlink as "databaseadapter"
    operation- insert
    Input variable - clicked torch light at right, selected "Invoke_1_SynchRead_OutputVariable"(output variable of invoke1)
    on invoke2 icon an error is showing i.e.
    Variable Types: {http://xmlns.oracle.com/pcbpel/adapter/file/fileadapter/}schema_msgdoes not matchOperation Input Message: {http://xmlns.oracle.com/pcbpel/adapter/db/databaseadapter/}MindviewCollection_msg
    **output variable is inactive mode. i cant select create output variable**
    i cant understand whats the problem? everything is right.
    This is asynchronous process.
    Is there any problem in above mentioned procedure?
    if i add transform activity after invoke2, how i can connect without outputvariable of invoke2?
    please tell me whats the problem?
    Regards
    Prasad
    Edited by: user12251899 on Dec 3, 2009 9:11 PM
    Edited by: user12251899 on Dec 3, 2009 9:20 PM
    Edited by: user12251899 on Dec 3, 2009 9:23 PM
    Edited by: user12251899 on Dec 3, 2009 9:52 PM

  • Look for suggestion on file encrytion and database

    Hi all,
      I am developing a CVI and need to store some critical data (some parameters like device name and some critical constants) to a encrypted file. There are about 100 parameters need to be stored, total size is about 1kb. I was thinking to store them as .ini but those parameters are so critical and I don't want to expose them to the end user. Someone suggests to use database but I didn't have any experience in using database. I check the NI website and seems there is something called SQLTool to access the database, but I really don't understand how to set it up to use the database. I can create a simple Microsoft access database but don't know how to use the SQL Tools to make it work. I am developing the code in my computer but the application will be dispatched to the client and I don't think they have database or Microsoft access installed, so does it mean if I use database and SQL tools, the application can only use in my computer?
    Anyway, it seems that I have to configure pretty many stuffs before I can access the database. Is that anyway I open the database as easy as the following way
    fopen("mydb.mdb");
    If no, what other fire format do you recommend to store some critical data and easy for access in future. I just don't want user to open and modify the file direclty.

    I suppose you don't need a full encryption but you only want to make data not easily readable from the end user.
    If this is true, organizing data in a struct and dumping it to disk as I described here can be enough to make data opaque to the user, at least for numbers. Texts will remain to be readable with this method: if you need to mask them too you will need some more effort but it can be dome.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • To pass file name and path as a parameter

    hi all,
    I am using forms6i. I am writing some records into the .txt file. Now i am writing as
    output := text_io.fopen('C:\users\filename.txt','w');
    but i have pass this file name and path also to the parameter(user has to mention the file name and path(if they want).
    please give some suggestion on this parameter.
    Thanks..

    Hi,
    So to select the directory, in the WHNE-BUTTON-PRESSED trigger write,
         :<block_name>.<path_item_name> := GET_FILE_NAME(' ', NULL, NULL, 'Choose any directory.', OPEN_FILE, FALSE);
         IF SUBSTR(:<block_name>.<path_item_name>, LENGTH(:<block_name>.<path_item_name>)) != '/' AND SUBSTR(:<block_name>.<path_item_name>, LENGTH(:<block_name>.<path_item_name>)) != '\' THEN
              :<block_name>.<path_item_name> := :<block_name>.<path_item_name> || '\';
         END IF;and to open the file, write,
    DECLARE
      FT_File  TEXT_IO.FILE_TYPE;
    BEGIN
      IF SUBSTR(:<block_name>.<path_item_name>, LENGTH(:<block_name>.<path_item_name>)) = '/' OR SUBSTR(:<block_name>.<path_item_name>, LENGTH(:<block_name>.<path_item_name>)) = '\' OR :<block_name>.<path_item_name> IS NULL THEN
           MESSAGE('Please Enter file name before continue');
           MESSAGE('Please Enter file name before continue');
           RAISE FORM_TRIGGER_FAILURE;
      END IF;
      FT_File := TEXT_IO.FOPEN(:<block_name>.<path_item_name>, 'w');
    END;Regards,
    Manu.
    If my response or the response of another was helpful or Correct, please mark it accordingly

  • I run Dev 6i on Windows 2008 R2 64-bit,the forms are working fine after connection to the database but the reports continue to request for username, password and database connection string every time i try to open a report.

    I receive REP-0501: Unable to connect to specified database. I run developer 6i application on windows 2008 r2. I have applied the nn60.dll and nnb60.dll files to the \BIN directory. The forms are working fine. The reports will only display after the correct user id (username, password and database connection string) is supplied. This is happening to all attempts to open already complied form. Pls, help.

    If you are connecting to an Oracle 11g database, remember that by default the passwords are case sensitive. To disable that, run
    ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON = FALSE;

  • How to connect captivate file in a database (MS SQL SERVER 2008)

    Hi...
    How to connect captivate file in a database (MS SQL SERVER 2008) ???
    Kindly response please..
    thanks!!!

    Hi there
    See if the link below helps you out.
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Connect to different Oracle server and database in PL/SQL code

    Hi,
    There are two oracle servers and databese, A and B. I need to read data from database A and insert those data to databse B. Is there anyway I can do it in PL/SQL program?
    Regards,
    Shiva

    In a SQL*Plus session, [connect string] is generally a TNS alias (i.e. in the command "connect scott/tiger@orcl", orcl is a TNS alias). I don't know if it is possible in some release to have a fully qualifies TNS entry (i.e. connect scott/tiger@(DESCRIPTION=(ADDRESS=(...)) ), but it is certainly uncommon. Depending on the version of Oracle, there are various ways to configure a client to resolve a TNS alias, but local naming is the most common, so I'll assume that is what you're using...
    If you are trying to query a remote database, you would either have to
    - Create a database link (i.e. CREATE DATABASE LINK db_link_name ...) and refer to the database link name in your SQL statement
    - Embed the full TNS entry in your query (i.e. SELECT * FROM emp@(DESCRIPTION=(ADDRESS=( .. .)) )
    If you choose to create the database link, one of the things you have to specify is the TNS alias (or the fully qualified TNS entry). If you specify a TNS alias there, you would generally have to ensure that the TNS alias existed in the tnsnames.ora file on the database server where the database link is created.
    Justin

  • Regd. Connection URL and Database Classname

    Hi! All,
    Can anyone help in the following mentioned below related issues:
    I have created a stand-alone report template in CR-XI-R2 and using command passed the query to bring the resultset.
    While bringing the resultset from network database from SIT and UAT, I need to pass "Connection URL" and "Database Classname" information to Crystal Report template file and need to hardcode, as for connection I have used JNDI-JDBC type and need to use that only.
    How to avoid that hard coding issue? Please reply asap.
    Please give a reply to Email id [email protected] also.
    Regards,
    Biplab Kumar Sarkar
    +65 - 9398 2100

    Assuming you are changing the database location at runtime, if you are using strictly JDBC then you will need to hard code the connection url and class name. 
    To avoid hard coding you potentially could use a JNDI connection which hides all of that on your application server.  Or you could store the JDBC connection information in a properties file, and access the properties in your application, so at least the information is covered by a layer.

  • JSP and Database connectivity

    Hello!
    I have Tomcat 4.0. and my database file is in Access (emp.mdb)
    I want to connect this Data file from JSP, for that any Driver I have to
    install? like JDBC driver...
    What is the steps and How do I connect? Pl. reply me.
    Thax,
    regards
    mohan

    Dear Amn,
    I am giving sample program. Just change the emp.mdb file path and run this jsp program.
    Then you can see the driver information etc.,
    if you get any problem, please call me at [email protected]. then i will give u solution assp.
    Thank you very much.
    all the best.
    Yours
    Rajesh
    <title>Database Test</title>
    <font face="verdana" size=2 color="blue">
    <%@page import="java.sql.*"%>
    <%
         Connection con=null;
         Statement st=null;
         try
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              con = DriverManager.getConnection("jdbc:odbc:Driver={MicroSoft Access Driver (*.mdb)};DBQ=C:/emp.mdb","","");
              st=con.createStatement();
              out.println("Connected To Database ");
              out.println("<BR><BR>");
              DatabaseMetaData md = con.getMetaData();
              out.println("Driver Name " + md.getDriverName());
              out.println("<BR><BR>");
              out.println("Driver Version " + md.getDriverVersion());
              out.println("<BR><BR>");
              out.println("Database URL is " + md.getURL());
              out.println("<BR><BR>");
              out.println("Database UserName is " + md.getUserName());
              out.println("<BR><BR>");
              out.println("Connection Name " + md.getConnection());
              out.println("<BR><BR>");
              out.println("Database Name " + md.getDatabaseProductName());
              out.println("<BR><BR>");
              out.println("Database Version " + md.getDatabaseProductVersion());
              out.println("<BR><BR>");
              out.println("Database ReadOnly Type " + md.isReadOnly());
              out.println("<BR><BR>");
              out.println("MaxColumnNameLength " + md.getMaxColumnNameLength());
              out.println("<BR><BR>");
              out.println("MaxConnections " + md.getMaxConnections());
              out.println("<BR><BR>");
              out.println("");
    catch(Exception e)
         out.println(e);
         finally
              try {
                   if(st != null) {
                        st.close();
                        st = null;
                   if(con != null) {
                        con.close();
                        con = null;
              } catch (SQLException e) {}
    %>

  • (IMP)Application module and database connection

    Hi,
    How application module pooling and database connection pooling is working ?
    Currently i m facing a problem like if i am creating 10 browser session then it doesn't mean that i'll have only 10 db sessions. While closing the browser session of application module time out respective db session is not removed.
    In this case, invalid db session are created in bulk which is crashing database sometime. We have writter script to kill those session periodically but in this case if application module is accessing such dbconnection then we are getting session killed error or not logged in error.
    To over come we need to bounce the server (middle tier).
    Is there any proper way to solve this or am i doing something wrong ?
    Please let me know if you need any more details.
    Thanks in advance
    Devang

    Thanks for your prompt reply Ricky.
    I just found out that in some of the JSP pages in application
    <jbo:ReleasePageResources/> is not written. Should this problem arise because of this?
    could you please tell me how can I release page resources in UIX pages ?
    Datasources.xml file content
    <data-source class="com.evermind.sql.DriverManagerDataSource"
    name="AITDS"
    location="jdbc/AITCoreDS"
    pooled-location="jdbc/pooled/AITPDS"
    xa-location="jdbc/xa/AITXADS"
    ejb-location="jdbc/AITDS"
    connection-driver="oracle.jdbc.driver.OracleDriver"
    username=<USERNAME>
    password=<PASSWORD>
    url=<URL>
    inactivity-timeout="30"
    />
    bc4j.xcfg file
    <BC4JConfig>
    <AppModuleConfigBag>
    <AppModuleConfig name="GsaServerModuleLocal">
    <DeployPlatform>LOCAL</DeployPlatform>
    <JDBCDataSource>jdbc/AITCoreDS</JDBCDataSource>
    <jbo.project>gsa</jbo.project>
    <AppModuleJndiName>oracle.appsit.gsa.server.GsaServerModule</AppModuleJndiName>
    <java.naming.factory.initial>oracle.jbo.common.JboInitialContextFactory</java.naming.factory.initial>
    <ApplicationName>oracle.appsit.gsa.server.GsaServerModule</ApplicationName>
    </AppModuleConfig>
    </AppModuleConfigBag>
    </BC4JConfig>
    Let me know if you need any more detail.
    Thanks in advance
    Devang

  • Performance with MySQL and Database connectivity toolbox

    Hi!
    I'm having quite some problems with the performance of MySQL and Database connectivity toolbox. However, I'm very happy with the ease of using database connectivity toolbox. The background is:
    I have 61 variables (ints and floats) which I would like to save in the MySQL-database. This is no problem, however, the loop time increases from 8ms to 50ms when using the database. I have concluded that it has to do with the DB Tools Insert Data.vi and I think that I have some kind of performance issue with this VI. The CPU never reach more the 15% of its maximum performance. I use a default setup and connect through ODBC.
    My questions are:
    1. I would like to save 61 variables each 8-10ms, is this impossible using this solution?
    2. Is there any way of increasing the performance of the DB Tools Insert Data.vi or use any other VI?
    3. Is there any way of adjusting the MySQL setup to achieve better performance?
    Thank you very much for your time.
    Regards,
    Mattias

    First of all, thank you very much for your time. All of you have been really good support to me.
    >> Is your database on a different computer?  Does your loop execute 61 times? 
    Database is on the same computer as the MySQL server.
    The loop saves 61 values at once to the database, in one SQL-statement.
    I have now added the front panel and block diagram for my test-VI. I have implemented the queue system and separate loops for producer and consumer. However, since the queue is building up faster then the consumer loop consumes values, the queue is building up quite fast and the disc starts working.
    The test database table that I add data to is created by a simple:
    create table test(aa int, bb char(15));
    ...I'm sure that this can be improved in some way.
    I always open and close the connection to the database "outside the loop". However, it still takes some 40-50 ms to save the data to the database table - so, unfortunatly no progress to far. I currently just want to save the data.
    Any more advise will be gratefully accepted.
    Regards,
    Mattias
    Message Edited by mattias@hv on 10-23-2007 07:50 AM
    Attachments:
    front panel 2.JPG ‏101 KB
    block diagram.JPG ‏135 KB

  • I am new to the Apple world and yesterday i bought an APPLE IPAD (4th Gen) .. My Question is "Can we connect a flash drive to the IPAD4 and transfer pdf files to and fro"??

    Hi all,
    I am a newbie to the Apple World and Yesterday I bought an APPLE IPAD (4th Generation).. My primary purpose is to read pdf files on IPAD4.
    I have 3 questions ..
    1. Can we connect a usb flash drive to the ipad4 and read pdf files from it?
    2.  I am using windows since 2000 and accustomed to the file explorer and file management in it. Can I get such kind of environment in IPAD4 ?
    3. Do I have to sync the IPAD too often?
    Regards,
    Manikanth

    Sandisk has recently come out with a device
    http://www.sandisk.com/products/wireless/flash-drive/
    Never used it so I can't comment on whether or not it works well. There are very few devices out there that allow file transfer without going through iTunes or via the internet. IMHO, one real weakness of the iPad, great for consuming data, however not very fully featured when it comes to moving data around, especially if that data doesn't come from iTunes or other online source.
    there is also a device called a WiDrive
    http://www.kingston.com/us/usb/wireless
    that is also a wireless drive for iPads.

  • Power Pivot Configuration error while refreshing connection on excel sheet for SharePoint 2013 and Sql server 2014 using BISM file connection

    I am getting following error while refreshing connection on excel sheet in power pivot gallery,
    my scenario,
    using BISM file connection to create and  refresh power pivot excel sheet in power pivot gallery
    throws error and we have sql server 2014 CU6 updated installed plus sharepoint 2013. i checked following msolap110.dll is available in our environment but assembly
    Microsoft.AnalysisServices.ChannelTransport is not available. 
    i found error in event viewer,
    "Activation context generation failed for "C:\Program Files\Microsoft Analysis
    Services\AS OLEDB\110\msolap110.dll". Dependent Assembly
    Microsoft.AnalysisServices.ChannelTransport,processorArchitecture="MSIL",publicKeyToken="89845dcd8080cc91",version="11.0.0.0" could
    not be found. Please use sxstrace.exe for detailed diagnosis.
    what should i do to fix it?
    Thanks for help.
    Deepak Patel

    Rebecca,
    yes, this is issue i am getting.
    Activation
    context generation failed for "C:\Program
    Files\Microsoft Analysis Services\AS OLEDB\110\msolap110.dll".
    Dependent AssemblyMicrosoft.AnalysisServices.ChannelTransport,processorArchitecture="MSIL",publicKeyToken="89845dcd8080cc91",version="11.0.0.0" could
    not be found. Please use sxstrace.exe for detailed diagnosis.
    let me know if you can find fix for it.
    THanks,

  • Iphone contacts "not available" to car phonebook after messing around with Outlook.pst file names and backups. Iphone4 connects to car though and other phones connect properly.

    iphone contacts "not available" to car phonebook after messing around with Outlook.pst files, names and backups, on my ms XP 2003 laptop. I substituted a much smaller new Personal Folder -Contacts File, with a smaller list of phone numbers (4 only as a test) which successfully synced to the iPhone 4. The iPhone connects to the Skoda Octavia HandsFreeSystem OK (Bluetooth works fine), but now iPhone wont load the new Contacts as it did originally. However a family Nokia (never messed with) can connect properly. So must be the iPhone or more likely an Outlook.pst \ Contacts problem. Ideas?

    After fiddling a little more, the following fixed my corrupted outlook.pst file:
    1) I made a backup
    2) In outlook under file, I exported the calendar to excel
    3) In outlook under file, I imported the calendar back to outlook
    And voila, it worked.

Maybe you are looking for

  • How to batch delete iMessage messages on Desktop (Macbookpro)

    Hey guys, I was wondering if there is a better method to delete the messages than deleting one by one the message in the iMessage panel... thanks very much for your help Jeff Chaine

  • Mouse Over effects

    Hi, I have a project containing several buttons, which serves as mouseover effects and url links. Underneath the buttons is a picture. I would like this picture to be replaced while the cursor is outside the flash. The only way I know how to do that

  • Capital goods, during vendor return, Excise is getting post to RG23A instea

    Hi SAP Guru, I have very critical issue to be resolved immediately in the area of Excise for CAPITAL GOODS, please help! The things is.... 1. At GR level using mvt 101, system is posting all BEDECSSECess to correct RG23C register, fine Quality people

  • Extracting last digits in message mapping

    Hi Is there a standard function for extracting last digits of a field value? Thanks

  • Duplicate images upon import

    When I import images from my camera, images show up in iphoto duplicated with different exposures. The exposre that it was taken at, then a copy 1 stop darker.