Container in a dtsx package unsupported?

I have built a dtsx package (SSIS 2005) with a sequence container. After I have linked it into BPC and I have launched it I have received an error (no log messages!): when I delete the container, the package has functioned correctly. Why?
Is it unsupported a dtsx package with a container into BPC? Many thanks

Hi pscorca,
I don't have documentation, but I know that ForEach Loop container is supported starting SP06 (I had a ticket open with support for that).
You can find SPs' release notes on Help & Support section of https://websmp202.sap-ag.de/support.
Regards,
Akim

Similar Messages

  • How to find the type of objects contained in a Stored Package?

    Hello,
    I need to populate all the procedures and functions contained in a package. I have rewritten a query like this
    "SELECT PROCEDURE_NAME FROM ALL_PROCEDURES WHERE OBJECT_NAME = 'MYPACKAGENAME'
    Above Query returns a record, having NULL PROCEDURE_NAME value. Why?
    I also want the 'type' of object (stored procedure/function ) contained in the a package.
    How to fetch it?
    Following query always returns object type 'PACKAGE', which is of no use for me. I want to know if it is stored procedure or function.
    SELECT PROCEDURE_NAME, *OBJECT_TYPE* FROM ALL_PROCEDURES WHERE OBJECT_NAME = 'MYPACKAGENAME'
    Cheers,
    Machhindra

    Hi,
    Just thinkin Out of Box way... :-
    Microsoft Windows [Version 5.2.3790]
    (C) Copyright 1985-2003 Microsoft Corp.
    F:\Documents and Settings\Administrator>sqlplus scott/tiger@service1
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Sep 26 21:49:03 2008
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> CREATE OR REPLACE PACKAGE emp_mgmt AS
      2  FUNCTION hire (last_name VARCHAR2, job_id VARCHAR2,
      3     manager_id NUMBER, salary NUMBER,
      4     commission_pct NUMBER, department_id NUMBER)
      5     RETURN NUMBER;
      6  FUNCTION create_dept(department_id NUMBER, location_id NUMBER)
      7     RETURN NUMBER;
      8  PROCEDURE remove_emp(employee_id NUMBER);
      9  PROCEDURE remove_dept(department_id NUMBER);
    10  PROCEDURE increase_sal(employee_id NUMBER, salary_incr NUMBER);
    11  PROCEDURE increase_comm(employee_id NUMBER, comm_incr NUMBER);
    12  no_comm EXCEPTION;
    13  no_sal EXCEPTION;
    14  END emp_mgmt;
    15  /
    Package created.
    SQL>
    SQL> SELECT PROCEDURE_NAME FROM ALL_PROCEDURES WHERE OBJECT_NAME = 'EMP_MGMT';
    PROCEDURE_NAME
    CREATE_DEPT
    HIRE
    INCREASE_COMM
    INCREASE_SAL
    REMOVE_DEPT
    REMOVE_EMP
    6 rows selected.
    Now you requirement
    SQL> SELECT PROCEDURE_NAME,A.OBJECT_NAME,OBJECT_TYPE FROM ALL_PROCEDURES A, USER_OBJECTS UO WHERE UO.OBJECT_NAME = A.O
    BJECT_NAME AND A.OBJECT_NAME='EMP_MGMT';
    PROCEDURE_NAME                 OBJECT_NAME
    OBJECT_TYPE
    REMOVE_EMP                     EMP_MGMT
    PACKAGE
    REMOVE_DEPT                    EMP_MGMT
    PACKAGE
    INCREASE_SAL                   EMP_MGMT
    PACKAGE
    PROCEDURE_NAME                 OBJECT_NAME
    OBJECT_TYPE
    INCREASE_COMM                  EMP_MGMT
    PACKAGE
    HIRE                           EMP_MGMT
    PACKAGE
    CREATE_DEPT                    EMP_MGMT
    PACKAGEIn oder to know the type of Object why don't you simple decribe in order know the Object definition it self.. instead of firing queries...Don't you thinl it easy of use.. !! you will get better Explanation about your Package
    SQL> desc EMP_MGMT;
    FUNCTION CREATE_DEPT RETURNS NUMBER
    Argument Name                  Type                    In/Out Default?
    DEPARTMENT_ID                  NUMBER                  IN
    LOCATION_ID                    NUMBER                  IN
    FUNCTION HIRE RETURNS NUMBER
    Argument Name                  Type                    In/Out Default?
    LAST_NAME                      VARCHAR2                IN
    JOB_ID                         VARCHAR2                IN
    MANAGER_ID                     NUMBER                  IN
    SALARY                         NUMBER                  IN
    COMMISSION_PCT                 NUMBER                  IN
    DEPARTMENT_ID                  NUMBER                  IN
    PROCEDURE INCREASE_COMM
    Argument Name                  Type                    In/Out Default?
    EMPLOYEE_ID                    NUMBER                  IN
    COMM_INCR                      NUMBER                  IN
    PROCEDURE INCREASE_SAL
    Argument Name                  Type                    In/Out Default?
    EMPLOYEE_ID                    NUMBER                  IN
    SALARY_INCR                    NUMBER                  IN
    PROCEDURE REMOVE_DEPT
    Argument Name                  Type                    In/Out Default?
    DEPARTMENT_ID                  NUMBER                  IN
    PROCEDURE REMOVE_EMP
    Argument Name                  Type                    In/Out Default?
    EMPLOYEE_ID                    NUMBER                  IN
    SQL>- Pavan Kumar N

  • Issues automating dtsx packages

    Hello
    I am new to SSIS & SSAS. I have a DTSX package and I want it to execute every night.
    I can run the package manually using SSDT. However when I try executing the package using SQL Server Agent, the job fails.
    Package Source: File System
    Package: D:\Path\test.dtsx
    Here is the history log,
    Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility  Version 11.0.2100.60 for 32-bit  Copyright (C) Microsoft Corporation. All rights reserved.    Started:  11:20:24 AM  Error: 2014-09-18
    11:20:24.31     Code: 0xC00220E6     Source: Execute Package ILE      Description: There is no project to reference.  End Error  Error: 2014-09-18 11:20:24.31     Code: 0xC0024107     Source:
    Execute Package ILE      Description: There were errors during task validation.  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  11:20:24 AM  Finished: 11:20:24 AM  Elapsed:  0.172
    seconds.  The package execution failed.  The step failed.
    Am I missing something? Any help is greatly appreciated

    I think you're referring a local path to package inside and its resolving correctly when you try to execute it from job in the server. Try using UNC path
    If you've an expression for setting path make sure its giving correct value when run from the job
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Modifying dynamic paramters in dtsx package

    Dear friends,
    I am new to BPC and using BPC 5.1 MS (SQL 2005). There are four dimensions  in my existing dtsx package for the user to select the values as dynamic parameters.  I like to edit this dtsx package and add new dimensions for the user to select . Eg. Time dimension. I tried to edit the script and appended the new dimension names in the existing line of code in Data Manager-->Advance button. It was saved, but while executing the script, only the new dimension name is displayed in the parameter selection screen. Could you please help me by listing the procedure for editing script and adding new dimensions.
    Thanks
    Roy S

    Dear Nilanjan,
    My existing script is as follows
    'DEBUG(ON)
    PROMPT(RADIOBUTTON,%CHEKCLCK%,"Select whether to check work status settings when running logic.",1,{"Yes, check for work status settings before running logic","No, do not check work status settings"},{"1","0"})
    PROMPT(SELECTINPUT,,,"Please select Ctegory, Entity, Time and Currency for restatement",%CATEGORY%%ENTITY%%TIME%%CURRENCY%)
    TASK(Execute formulas,USER,%USER%)
    TASK(Execute formulas,APPSET,%APPSET%)
    TASK(Execute formulas,APP,%APP%)
    TASK(Execute formulas,SELECTION,%SELECTIONFILE%)
    TASK(Execute formulas,LOGICFILE,%APPPATH%\..\AdminApp\%APP%\Calculate Revenue.lgx)
    TASK(Execute formulas,RUNMODE,1)
    TASK(Execute formulas,LOGICMODE,1)
    TASK(Execute formulas,CHECKLCK,%CHEKCLCK%)
    I want to add a custom dimension viz. "PUBLICATION" to the PROMPT statement as follows;
    I tried in different ways as given below, but everything failed.
    PROMPT(SELECTINPUT,,,,"%CATEGORY%,%ENTITY%,%TIME%,%CURRENCY%,PUBLICATION")
    PROMPT(SELECTINPUT,,,,%CATEGORY%%ENTITY%%TIME%%CURRENCY%PUBLICATION)
    PROMPT(SELECTINPUT,,,,"CATEGORY,ENTITY,TIME,CURRENCY,PUBLICATION")
    Would you please look into it.
    Thanks
    Roy

  • Run DTSX Package in SQL Server 2012

    Hi,
    Can I run the DTSX packages( Developed in SQL Server 2008 R2 ) directly in SQL Server 2012 without converting into SSIS . Can anyone tell me the procedures to execute a DTSx packages in SQL server SQL Server 2012 without converting into SSIS.
     One Common Parent Package calls all the Child packages. i.e 32 bit on 64 bit
    Regards,

    If you want to run packages without upgrading you can make use of command line utility like DTExec for executing them. 
    If you open them in a Integration Services project in 2012 then will automatically  upgrade packages to new version.
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Documentation regarding dtsx packages

    Hi,
    Does there exist any documentation regarding the creation of dtsx packages.
    Apart from on the forum, we have been unable to locate any documentation regarding the creation of dtsx packages.
    We would like to know things such as what DataTransferMode and ProcessMode controls, and what the various tasks that you can use within dtsx packages are.
    We are using SAP BPC 7.0 SP6 on SQL Server 2005.  We plan to upgrade to BOPC 7.5 on SQL Server 2008 R2 next year.
    Regards,
    Mark

    Hi Mark,
    You can have a look at following link, where lots of How-to Guides are accessible:
    http://wiki.sdn.sap.com/wiki/display/BPX/EnterprisePerformanceManagement%28EPM%29How-to+Guides
    There is particularly one speaking about the creation of SSIS packages (for BPC 5.x and SQL 2005). But there is nothing really new in BPC 7.5 an SQL 2008, except that the dll used for BPC tasks are now called for example "OsoftTaskAdmin2008.dll" for SQL 2008, instead of "OsoftTaskAdmin.dll" for SQL 2005.
    Hope this information will help you.
    Kind Regards,
    Patrick

  • Associate a dtsx package with Visual Studio

    when i double click a dtsx package created via import /export wizard, it opens it in Word. what can i do to get it to open in Visual Studio.?
    sukai

    Hi sukai,
    By default, if we’ve ever used Word program open this .dtsx format file, then it always opens .dtsx file in Word.
    If we want to directly open the .dtsx file with Visual Studio, we can change the program. For more detail steps, please see:
    Right-click file to select “Open with” option.
    Expand “+” next to Other Programs.
    Click Browser to navigate to “C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE”, then select devenv.exe application.
    Click OK. In this way, the .dtsx file would be always opened with Visual Studio. We can design the package, but cannot execute it.
    Besides, as Arthur said, by default, the .dtsx file is opened with SSIS Package Execution Utility (DTEXECUI.EXE Utility). I strongly recommend that we should create a SSIS project, then add the package with “Add existing package” option from File System. At
    this time, we can edit, execute and deploy it in SQL Server Data Tools.
    Reference:
    https://www.blackbaud.com/files/support/guides/infinitydevguide/Subsystems/bbdw-developer-help/content/tkaddpackagefromexisting.htm
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Unable to run dtsx package locally when there is a sort task

    Hi all
    I have created a very simple package.
    It has a OLE DB Source, a Sort and a OLE DB Destination.
    When I run it in the Integration Designer in Visual Studio, it works fine.
    But when I like to execute the package in another C# Project, I get this error:
    "To run a SSIS package outside of SQL Server Data Tools you must install Sort of Integration Services or higher."
    When I remove the Sort Task, it works.
    Here is my C# code:
    MyEventListener eventListener = new MyEventListener();
    Microsoft.SqlServer.Dts.Runtime.Package _Package;
    Microsoft.SqlServer.Dts.Runtime.Application _Application;
    Microsoft.SqlServer.Dts.Runtime.DTSExecResult _DTSExecResult;
    _Application = new Microsoft.SqlServer.Dts.Runtime.Application();
    _Package = _Application.LoadPackage(@"...\Package.dtsx", eventListener, true);
    _DTSExecResult = _Package.Execute(null, null, eventListener, null, null);
    System.Windows.Forms.MessageBox.Show(_DTSExecResult.ToString());
    Thanks and best regards
    Frank

    Hi frank,
    Based on the error message, it seems that SSIS is not installed or a lower SSIS version installed on the server on which the C# project was running.
    To run the package outside SSDT, you need right version SSIS installed. The reason why the package runs fine with only Source and Destination components is that such a simple package can be executed by the DTExec utility installed by SQL Server 2012 Data base
    Engine or Client Tools (SQL Server Import and Export Wizard). To run a package that uses other tasks/components outside SSDT/BIDS, the SSIS runtime is also required except the DTExec utility. To obtain the SSIS runtime, we have to install SSIS on the server
    where the package runs.
    Reference:
    http://stackoverflow.com/questions/19989099/getting-error-running-ssis-package-on-non-ssis-server
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • How NOT to edit SSIS dtsx packages manually to change config filter in SQL Server configuration schema

    I have many packages that are using the package configuration with the following way:
    -ALL Packages have the XML configuration file that has only one proporty defined. The ConnectionString of the SQL Server connection that holds the configuration table for the rest of the properties
    -A SEPARATE SQL Server package configuration for
    each connection manager in the package. 
    -Finally an SQL Server configuration for all the properties that are specific to this package.
    I attach a pic of what i mean: Yellow is the XML config with the connectionstring, Blue the connectionamangers and purple the package specific.
    So with this setup  i can:
    -Change the xml file location and just point all the setup in another sql server or another database.
    - Or create different configuration filters in the same config table and try to go into the package and change the filter.
    With all the above the problem is that if i do anything from within VS, i am loosing the password in the connectionstring because i am not using the encrypt property. And i dont want to use it...
    What are my options? Just go in .dtsx with notepad and chage what i want BEFORE i open the package or before i deploy?
    Elias

    You are correct but:
    -I dont want to use EncryptSensitiveWithPassword, so:
    When i go to package configuration and try to change the ConfoigurationFilter to point to another setting then i am getting to the screen to select the property (connectionstring) and when i finish the DATABASE record for the setting is cleared from the
    Password= that i have put previously.
    So i short what i want:
    -No EncryptSensitiveWithPassword 
    -Being able to change configuration from within VS WITHOUT resetting the connectionstring string. 
    Elias
    Nope what you're asking is not possible
    There's certainly a purpose why each of things are given in the current format
    For design level settings you need to use connection manager properties and for it to persist values for someone other than creator to use you need to use protection level as EncryptSensitiveWithPassword 
    And for runtime settings you need to specify values in config which has to be editted from outside the package by editing dtsconfig file or using update query depending on whether config is stored in file/table. In both the cases you can identify password
    as a separate config item and modify its value from outside. That will work regardless of what you chose as protection level
    see
    http://blogs.msdn.com/b/runeetv/archive/2009/12/22/ssis-package-using-sql-authentication-and-dontsavesensitive-as-protectionlevel.aspx
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Creation of a .dtsx package in order to execute a custom made logic functio

    Hi
    I have created some  allocation logic, which now i am executing from the default pad in the Finance application. But i need to execute it through the data manger package. Can you please tell me how to proceed with the above situation.
    thanks
    krish

    You can greatly improve your chance of receiving a helpful answer to your question if you state the version (MS or NW) and the release (5.1, 7.0) of BPC which you are using.
    Also notice the sticky [note|Please do not post BPC, SSM or FI/CO questions here!; at the top of this forum whereby we announced new dedicated forums for BPC which are the proper place to post your questions regarding BPC in the future.
    Thanks and best regards,
    [Jeffrey Holdeman|http://wiki.sdn.sap.com/wiki/display/profile/Jeffrey+Holdeman]
    SAP BusinessObjects
    Enterprise Performance Management
    Regional Implementation Group

  • How to compile package which contain class outside the package

    I am writing a JDBC driver.
    I have the following package structure in the folder:
    MyDriver
        |_manager.jar
        |_com
               |_ jdbc
                       |_ HXDriver
                       |_ HXConnection
                       |_ HXResultSet
                       |_ HXStatementIn manager.jar, there is a remote object Interaface(Manager.java) which I need to use inside HXConnection.
    My question is how to compile(or/and how to set the classpath)so that I can compile the 4 classes inside jdbc package.
    I tried this:
    C:\MyDriver>javac -cp .;manager.jar com/hx/jdbc/*.java
    However, this does not work, compiler says it cannot find Manager
    Please help me.
    Cheers

    D:\380 Project\Driver>javac -cp .;manager.jar com\hx\jdbc\*.java
    com\hx\jdbc\HXConnection.java:21: cannot find symbol
    symbol  : class Manager
    location: class com.hx.jdbc.HXConnection
            private Manager manager;
                    ^
    com\hx\jdbc\HXStatement.java:18: cannot find symbol
    symbol  : class Manager
    location: class com.hx.jdbc.HXStatement
            private Manager manager;
                    ^
    com\hx\jdbc\HXStatement.java:20: cannot find symbol
    symbol  : class Manager
    location: class com.hx.jdbc.HXStatement
            public HXStatement(Manager manager){
                               ^
    com\hx\jdbc\HXConnection.java:41: cannot find symbol
    symbol  : class Manager
    location: class com.hx.jdbc.HXConnection
                            manager = (Manager)reg.lookup("manager");
                                       ^

  • Upgrade DTSX packages from VS 2010 with SQL Server 2008 to VS 2013 and SQL Server 2014

    Hello everyone,
    I’m very new to SSIS world. I’ve been assigned a task to upgrade the existing packages running in VS 2010 with SQL Server 2008 to VS 2013 and SQL Server 2014. And then submit the migration report to my client.
    On very quick search at Google, I've found the following link. It seems like I just need to open the existing SSIS project in VS 2013 and follow the wizard.
    https://msdn.microsoft.com/en-us/library/cc280547.aspx
    Can anybody please advise, are there any other things need to be taken care while doing this up gradation process?
    Please share your experience.
    Any help would be much appreciated.
    Thanks, <b>Ankit Shah</b> <hr> Inkey Solutions, India. <hr> Microsoft Certified Business Management Solutions Professionals <hr> http://ankit.inkeysolutions.com

    Hello Arthur,
    Thank you for the response.
    I just got an access of the packages. They are of VS 2008 and not 2010.
    Do you know how to upgrade VS 2008 packaged to VS 2013?
    When I tried to open the solution file in VS 2013, it says "incompatible".
    Any help would be much appreciated.
    Thanks,
    Ankit
    Thanks, <b>Ankit Shah</b> <hr> Inkey Solutions, India. <hr> Microsoft Certified Business Management Solutions Professionals <hr> http://ankit.inkeysolutions.com

  • Object list contained into Support Packages

    We need to know wich objects are contained into the Support Packages we are thinking to apply.
    They sare Aba, Basis and Appl rel 46C, from 36 to 48.
    Where is possible to obtain a list like that ?
    Regards

    Hi Mauro,
    All this information you require is available using your service marketplace user. If you're a registered SAP service user, as you must be, being a customer with an installation of R/3 version 4.6C. Have you ever logged in to the marketplace before?
    If not, be sure to log in as soon as possible, the address is http://service.sap.com.
    There is the quick-link http://service.sap.com/swdc where you automatically reach the SoftWare Distribution Center area. There you can navigate to the Download->Support Packages and Patches->Search for (...) and enter the names of the Packages if you know them, or through the My Company's Application Components link, and navigate to the relevant components, in your case SAP R/3->4.6C->(...).
    There you can download them, browse the list of notes each of them contains, browse the list of objects contained, or browse the release information of the packages.
    Hope this helps.
    Best Regards,
    Daniel.

  • Update showing up in "Compliance 5 - Specific Computer" Report even after removing the update from the Software Update before creating Group and Package

    So I've created a Software Update Group and I did NOT want anything in there dealing with Internet Explorer 11 since the organization is currently stuck at using 10 as the highest. So I made sure that Internet Explorer was NOT in the list and then I deployed
    the package. 
    After running my Overall Compliance report it shows that the systems are compliant, but when I view the "Compliance 5 - Specific Computer" I see that "Internet Explorer 11 for Windows 7 for x64-based Systems" is listed in the report. 
    This is just a testing phase right now and I have not created a WSUS like Domain level GPO. I understand that the SCCM client creates a local policy on the clients for the location of the Software Update Point (Specify
    Intranet Microsoft update service location), but the "Configure Automatic Updates" policy is set to Not Configured, which it looks like when this
    is set, the "Install updates automatically (recommended)" at 3AM is the default. 
    Is the reason why the "Internet Explorer 11 for Windows 7 for x64-based Systems" update is showing up in the list due to the fact that the "Configure
    Automatic Updates" policy is set to Not Configured
    and therefore it is still reaching out to check Windows Update online? 
    So, if I do create a Domain level GPO to Disable the "Configure
    Automatic Updates" policy, then the "Internet Explorer 11 for Windows 7 for x64-based Systems" update would not show up in the "Compliance 5 - Specific Computer" report?
    By the way, I have a Software Update Maintenance Window configured for the hours of 1AM-4AM so the 3AM default time falls within this time frame, therefore, I am assuming the SCCM 2012 client will not allow the Windows Update Agent to install the "Internet
    Explorer 11 for Windows 7 for x64-based Systems" update, even though it has detected it is "Required". 
    Thanks

    But, don't you need a Deployment Package in order to deploy the Software Update Group? The Software Update Group uses the downloaded updates contained in the Deployment Package located in, wherever the Package Source is, right?
    One more quick question that you will know right off hand, because, well, you just will I'm sure.
    No. The software update group really has nothing to do with any update packages. The update group assigns updates to clients and in turn clients use update packages to download assign and applicable updates from. There is no connection between the two though
    as the client can download an update from any available update package. Thus, it's more than possible to updates in an update package that are not in any update groups and it is also possible for an update to be in an update group without being in any update
    package.
    If the "Configure Automatic Updates" policy is set to "Not Configured" and since this keeps the 3AM Automatic Updates default, if I was to remove the Software Update Maintenance Window from being between 1AM-4AM, will the WUA agent install updates
    at 3AM, or no because the SCCM 2012 client still manages and oversees it and basically blocks that from occurring?
    No, ConfigMgr does not in any way block the WUA; however, the WUA can only autonomously install updates it downloads directly from WSUS. Thus, since there are no updates approved or downloaded in your WSUS instance, there's nothing for it to download and
    install. If you happen to actually be going into WSUS and approving updates (which you should not be doing as its unsupported), then yes, it actually would install updates -- this is outside of ConfigMgr's control though. Generally, disabling the WUA via a
    GPO is the recommended to prevent any accidental installations or reboots (as the WUA wil also check for initiate pending reboots outside of ConfigMgr).
    Lots more info in these two blog posts:
    - http://blog.configmgrftw.com/software-update-management-and-group-policy-for-configmgr-what-else/
    - http://blog.configmgrftw.com/software-updates-management-and-group-policy-for-configmgr-cont/
    Jason | http://blog.configmgrftw.com

  • How can I load a .xlsx File into a SQL Server Table using a Foreach Loop Container in SSIS?

    I know I've REALLY struggled with this before. I just don't understand why this has to be soooooo difficult.
    I can very easily do a straight Data Pump of a .xlsX File into a SQL Server Table using a normal Excel Connection and a normal Excel Source...simply converting Unicode to DT_STR and then using an OLE DB Destination of the SQL Server Table.
    If I want to make the SSIS Package a little more flexible by allowing multiple .xlsX spreadsheets to be pumped in by using a Foreach Loop Container, the whole SSIS Package seems to go to hell in a hand basket. I simply do the following...
    Put the Data Flow Task within the Foreach Loop Container
    Add the Variable Mapping Variable User::FilePath that I defined as a Variable and a string within the FOreach Loop Container
    I change the Excel Connection and its Expression to be ExcelFilePath ==> @[User::FilePath]
    I then try and change the Excel Source and its Data Access Mode to Table Name or view name variable and provide the Variable Name User::FilePath
    And that's when I run into trouble...
    Exception from HRESULT: 0xC02020E8
    Error at Data Flow Task [Excel Source [56]]:SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occured. Error code: 0x80004005.
    Error at Data Flow Task [Excel Source [56]]: Opening a rowset for "...(the EXACT Path and .xlsx File Name)...". Check that the object exists in the database. (And I know it's there!!!)
    I don't understand by adding a Foreach Loop Container to try and make this as efficient as possible has caused such an error unless I'm overlooking something. I have even tried delaying my validations and that doesn't seem to help.
    I have looked hard in Google and even YouTube to try and find a solution for this but for the life of me I cannot seem to find anything on pumping a .xlsX file into SQL Server using a Foreach Loop Container.
    Can ANYONE please help me out here? I'm at the end of my rope trying to get this to work. I think the last time I was in this quandry, trying to pump a .xlsX File into a SQL Server Table using a Foreach Loop Container in SSIS, I actually wrote a C# Script
    to write the contents of the .xlsX File into a .csv File and then Actually used the .csv File to pump the data into a SQL Server Table.
    Thanks for your review and am hoping and praying for a reply and solution.

    Hi ITBobbyP,
    If I understand correctly, you want to load data from multiple sheets in an .xlsx file into a SQL Server table.
    If in this scenario, please refer to the following tips:
    The Foreach Loop container should be configured as shown below:
    Enumerator: Foreach ADO.NET Schema Rowset Enumerator
    Connection String: The OLE DB Connection String for the excel file.
    Schema: Tables.
    In the Variable Mapping, map the variable to Sheet_Name, and change the Index from 0 to 2.
    The connection string for Excel Connection Manager is the original one, we needn’t make any change.
    Change Table Name or View name to the variable Sheet_Name.
    If you want to load data from multiple sheets in multiple .xlsx files into a SQL Server table, please refer to following thread:
    http://stackoverflow.com/questions/7411741/how-to-loop-through-excel-files-and-load-them-into-a-database-using-ssis-package
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

Maybe you are looking for

  • How to print filename?

    Is there a way to print a jpg picture using any of the quicktime products (preferably the pictureviewer) with the filename of the picture somewhere on the page?

  • Workflow Triggering mail to Microsoft Outlook with PO form in PDF

    Hi All, My workflow has a task and in that task i have called a method which will take the spool number of the PO created and transfer the same to PDF and send mail to the agent which I have mentioned. When I independently run the method from SWO1, i

  • Filename doesn't get changed when importing (sometimes)

    I have the following Problem: When I import a directory of mp3 files (an album), then some filenames (1-2) don't get changed (there are correct id3 tags). Lets say I have the first song called first song, the original filename is first_song.mp3. Afte

  • How to make a part of image have transitions on hover

    hey i wanna know how to make a part of a image have transitions when we hover on it like on my website :-perfectionunleashed.in i got this template from internet when i hover on second box "mission" comes with ease-in-out effect i cant get anything i

  • Time Machine Freezes up

    While doing a regularly scheduled backup, the backup stalls at about 20 meg and doesn't go any further. I have to then kill the backup. Then I have to go into the folder and trash the in progress file. Then empty the trash, restart my MBP and then st