Failed to retrieve long data for column

Hi,
I am using SSDT 2010 to load Excel 2010 spreadsheets to a 2012 SQL DB. In my package I have a foreach loop and loading a couple of thousand spreadsheets. Issue I'm facing, is that about 30 or so of these spreadsheets are failing with message above.
My connection string is set as follows: Provider=Microsoft.ACE.OLEDB.12.0;Data Source=<filepath>.xlsx;Extended Properties="EXCEL 12.0 XML;HDR=YES;IMEX=1";
I tried changing TypeGuessRows registry setting to 1 and to 0, but with no success.
BLOBTempStoragePath and BufferTempStoragPath have more than enough space.
The Excel spreadsheets (contain about 1000 rows) are being created through an XML process. What we've also tried,  is force the first 11 rows through the XML process to contain at least 256 characters to ensure it converts to DT_NTEXT.
Does anyone have any idea what might cause this?

Me too faced this issue of accommodating more than 256 characters in a cell in an excel.
Steps:
1. Do the following in the first row of the excel. First insert some 5000 white spaces in cells where you expect more data to receive.
2. Then hide that first row and save the excel.
3. Now try loading the data into the excel. You should be able to load the data.
Let us know, if that works.
Mark as Answered/Helpful if your problem is solved.

Similar Messages

  • Failed to retrieve long data for column "Contract Scope".

    Error: 0xC0202009 at Task 1 - Import P Data, Excel Source [1]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E21.
    Error: 0xC0208265 at Task 1 - Import P Data, Excel Source [1]: Failed to retrieve long data for column "Contract Scope".
    Error: 0xC020901C at Task 1 - Import P Data, Excel Source [1]: There was an error with output column "Contract Scope" (33) on output "Excel Source Output" (9). The column status returned was: "DBSTATUS_UNAVAILABLE".
    Error: 0xC0209029 at Task 1 - Import P Data, Excel Source [1]: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "output column "Contract Scope" (33)" failed because error code 0xC0209071 occurred, and the error row disposition on "output column
    "Contract Scope" (33)" specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information about the failure.
    Error: 0xC0047038 at Task 1 - Import P Data, SSIS.Pipeline: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on component "Excel Source" (1) returned error code 0xC0209029. The component returned a failure code when the pipeline engine called
    PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing. There may be error messages posted before this with more information about the failure.
    Information: 0x40043008 at Task 1 - Import P Data, SSIS.Pipeline: Post Execute phase is beginning.
    Information: 0x4004300B at Task 1 - Import P Data, SSIS.Pipeline: "component "OLE DB Destination" (95)" wrote 0 rows.
    Information: 0x40043009 at Task 1 - Import P Data, SSIS.Pipeline: Cleanup phase is beginning.
    I cant seem to change the size of the this column in the EXCEL SOURCE .It just changes it back to
    Unicode string [DT_WSTR] and 255 characters . This field contains strings greater than 255 characters .

    I found a great solution to limitation of excel when reading cells with a lot of text and when firts rows has no data!
    Look here: http://dataintegrity.wordpress.com/2009/10/16/xlsx/
    aaaa

  • Moving a table with long data type column

    hi
    1.how to move a table with a long data type column in 8.1.7.3.0 ver database.
    alter table APPLSYS.FND_LOBS_DOCUMENT move lob(BLOB_CONTENT) store as (tablespace testing)
    ERROR at line 1:
    ORA-00997: illegal use of LONG datatype
    2. and a table with varray type column
    alter table APPLSYS.WF_ERROR move lob("USER_DATA"."PARAMETER_LIST") store as (tablespace testing)
    ERROR at line 1:
    ORA-22917: use VARRAY to define the storage clause for this column or attribute
    table description is:
    SQL> desc applsys.wf_error;
    Name Null? Type
    Q_NAME VARCHAR2(30)
    MSGID NOT NULL RAW(16)
    CORRID VARCHAR2(128)
    PRIORITY NUMBER
    STATE NUMBER
    DELAY DATE
    EXPIRATION NUMBER
    TIME_MANAGER_INFO DATE
    LOCAL_ORDER_NO NUMBER
    CHAIN_NO NUMBER
    CSCN NUMBER
    DSCN NUMBER
    ENQ_TIME DATE
    ENQ_UID NUMBER
    ENQ_TID VARCHAR2(30)
    DEQ_TIME DATE
    DEQ_UID NUMBER
    DEQ_TID VARCHAR2(30)
    RETRY_COUNT NUMBER
    EXCEPTION_QSCHEMA VARCHAR2(30)
    EXCEPTION_QUEUE VARCHAR2(30)
    STEP_NO NUMBER
    RECIPIENT_KEY NUMBER
    DEQUEUE_MSGID RAW(16)
    SENDER_NAME VARCHAR2(30)
    SENDER_ADDRESS VARCHAR2(1024)
    SENDER_PROTOCOL NUMBER
    USER_DATA APPS.WF_EVENT_T
    lob column:
    SQL> select owner,table_name,column_name from dba_lobs where table_name='WF_ERROR';
    OWNER TABLE_NAME COLUMN_NAME
    APPLSYS WF_ERROR "USER_DATA"."PARAMETER_LIST"
    APPLSYS WF_ERROR "USER_DATA"."EVENT_DATA"
    pls help me
    thanks and regards
    srinivas

    1. Export and import
    2. Sql*Plus 'copy' command
    It is a good idea to move from 'LONG' to 'CLOB'.

  • Failed to retrieve the cube for connection (xyz).(Error:INF)

    Hello ,
    Any body faced this error (Failed to retrieve the cube for connection (xyz).(Error:INF)????
    Replication steps: Open the webi report in Launchpad-> refresh the report--> error appears.
    Component info:
    BOBJ Version: SAP BI 4.1 sp2 version 14.1.2.1121)
    Report: Webi report
    Source:BEX/CUBE
    Connection: OLAP
    BW : SAP BW 7.3
    At first i have checked the user availability ( lock or unlock)  olap connection --- locked --- hence unlocked the user from BW
    but still the issue is remains...
    What my thought is: Cube or Bex or un available..?/inactive?secured bex query?
    kindly suggest on this.
    Note : Don't have access to BW,BEX..

    Hi Subbarao,
    1. If Bex Query is greyed out, then it is not been enabled for external access.
    2. If Bex Query failed to retrieve cube for the connection, then the Cube might be removed or relocated (or) Connection fail
    Try this workaround, this connection will not be affected if you relocate the cube in BW side and also you can use any cube / data mart to access data from BW.
    Create a new secured OLAP Connection with SAP BICS Client under the SAP Netweaver BI 7.X option by providing credentials. Select "Do not specify a cube in the connection" and click finish then publish it to the BO Repository.
    Open the WEBI Report, select the Bex Query as Data source which you want to access, now you can able to retrieve the data from the desired BW Cube via BEX Query.
    Check the User Rights and Role imported into BOE Repository.
    --Raji. S

  • Failed to retrieve the data source in Business Objects Explorer

    I have built a universe with Designer suits and separate measurements of paramentros and bound by, ran on Web Intelligence, but when I try to use the Business Objects Explorer is reported the following message:
    Failed to retrieve the data source details.
    The creation of the data source object tree failed
    What should I do?

    There are two OSS notes about this error ;
    1411433
    1363777
    Also you can take a look at this service pack
    http://ftp1.businessobjects.com/outgoing/CMS/crXIwin_en_sp3.pdf
    cheers
    Tansu
    Edited by: tansu aksu on Jan 25, 2011 5:03 PM

  • How to insert in long data type column

    I would like to know how could I insert data in a long data type column.
    Thanks

    Don't use LONG, use CLOB instead. You can write to CLOBs using the DBMS_LOB package.
    Cheers, APC

  • Sql queries for retrieving setups data for functional modules

    Hi,
    Can anyone give me the sql queries for retrieving setups data for functional modules (GL, AP, AR, FA, and CM) from Database.

    Hi,
    Can anyone give me the sql queries for retrieving setups data for functional modules (GL, AP, AR, FA, and CM) from Database.

  • Problem in retrieving LONG(of Oracle) column in Java String Object

    Hi,
    I wrote some codes to fetch some columns into a String array(two dimentional), one of the column is long (in Oracle database)...whenever I try to get the value into the array..its showing
    java.sql.SQLException: Stream has already been closed
    Some where I read that I've to fetch the long column first..now this was my general function...the resultset can have more than one rows..in that case, how can I retrieve the long data first. Now next time(for the second row) in the loop..it'll get LONG(as it'll be first to retrive) after some normal column(from the first column)...again it can show the same problem.
    Is there any concrete solution for that? Please help me to sort this out.
    Thanks in advance.
    ---Sourav

    Hi Gurus,
    Please reply..
    Thanks and Regards,
    MSORA

  • Update trigger fails with value too large for column error on timestamp

    Hello there,
    I've got a problem with several update triggers. I've several triggers monitoring a set of tables.
    Upon each update the updated data is compared with the current values in the table columns.
    If different values are detected the update timestamp is set with the current_timestamp. That
    way we have a timestamp that reflects real changes in relevant data. I attached an example for
    that kind of trigger below. The triggers on each monitored table only differ in the columns that
    are compared.
    CREATE OR REPLACE TRIGGER T_ava01_obj_cont
    BEFORE UPDATE on ava01_obj_cont
    FOR EACH ROW
    DECLARE
      v_changed  boolean := false;
    BEGIN
      IF NOT v_changed THEN
        v_changed := (:old.cr_adv_id IS NULL AND :new.cr_adv_id IS NOT NULL) OR
                     (:old.cr_adv_id IS NOT NULL AND :new.cr_adv_id IS NULL)OR
                     (:old.cr_adv_id IS NOT NULL AND :new.cr_adv_id IS NOT NULL AND :old.cr_adv_id != :new.cr_adv_id);
      END IF;
      IF NOT v_changed THEN
        v_changed := (:old.is_euzins_relevant IS NULL AND :new.is_euzins_relevant IS NOT NULL) OR
                     (:old.is_euzins_relevant IS NOT NULL AND :new.is_euzins_relevant IS NULL)OR
                     (:old.is_euzins_relevant IS NOT NULL AND :new.is_euzins_relevant IS NOT NULL AND :old.is_euzins_relevant != :new.is_euzins_relevant);
      END IF;
    [.. more values being compared ..]
        IF v_changed THEN
        :new.update_ts := current_timestamp;
      END IF;
    END T_ava01_obj_cont;Really relevant is the statement
    :new.update_ts := current_timestamp;So far so good. The problem is, it works the most of time. Only sometimes it fails with the following error:
    SQL state [72000]; error code [12899]; ORA-12899: value too large for column "LGT_CLASS_AVALOQ"."AVA01_OBJ_CONT"."UPDATE_TS"
    (actual: 28, maximum: 11)
    I can't see how the value systimestamp or current_timestamp (I tried both) should be too large for
    a column defined as TIMESTAMP(6). We've got tables where more updates occur then elsewhere.
    Thats where the most of the errors pop up. Other tables with fewer updates show errors only
    sporadicly or even never. I can't see a kind of error pattern. It's like that every 10.000th update
    or less failes.
    I was desperate enough to try some language dependend transformation like
    IF v_changed THEN
        l_update_date := systimestamp || '';
        select value into l_timestamp_format from nls_database_parameters where parameter = 'NLS_TIMESTAMP_TZ_FORMAT';
        :new.update_ts := to_timestamp_tz(l_update_date, l_timestamp_format);
    END IF;to be sure the format is right. It didn't change a thing.
    We are using Oracle Version 10.2.0.4.0 Production.
    Did anyone encounter that kind of behaviour and solve it? I'm now pretty certain that it has to
    be an oracle bug. What is the forum's opinion on that? Would you suggest to file a bug report?
    Thanks in advance for your help.
    Kind regards
    Jan

    Could you please edit your post and use formatting and tags.  This is pretty much unreadable and the forum boogered up some of your code.
    Instructions are here: http://forums.oracle.com/forums/help.jspa                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Outlook 2010 Client - "unable to connect to retrieve additional data" for some Distribution lists

    We have a mix of Outlook 2003, 2007 and 2010 clients in our organization.
    Users with an outlook 2010 client are having issues with a number (not all) of our distribution lists.
    Issues: When selecting a distribution list in the new message 'to' fiedl, a 'message tip' appears with the name of the DL and 'contains xx recipients'.
    However, when attempting to expand the DL (selecting the + sign) the following prompt appears "Cannot perfrom the requested operation. The command selected is not valid for this recipient. The operation failed"
    When selecting the DL through the outlook address book the memberlist is empty and has a mail tip "unable to connect to retrieve additional data".
    The DL's were all created in a 2003 environment.
    We are currently setting up a 2010 environment, and all DL's were created prior to any schema updates etc.
    Of note, users experience the issue, but access the list through OWA don't have the issue.

    Please also perform the following steps to troubleshoot the issue.
    1. Temporarily turn off firewall and antivirus program on the problematic machine for a test.
    2. Remove the Outlook profile completely and create a new profile.
    3. Login on the same mailbox by Outlook 2010 on another machine to check the result.
    If the issue persists, please open Event Viewer and check whether any error message exists. If so, please post it here for research.
    Thanks.
    Novak Wu-MSFT

  • Abap query : retrieve max date for the each unique material

    Hi
    I am facing problem formulating an ABAP query to retrieve records of table1 - material , table2 - doc no , table2 - doc date.
    I need records having maximum doc date for each material.
    I have used inner join on doc no on both tables.
    Please help.
    Thanks in advance
    Ash R

    Hello Mr.Ravi,
    I have used descending for "date" but i want single record for each material.
    it is like this:
    SELECT AMATNR EMBLNR E~BUDAT
             INTO CORRESPONDING FIELDS OF TABLE IT_FSN
             FROM MSEG AS A INNER JOIN MKPF AS E ON EMBLNR = AMBLNR
          UP TO 1 ROWS
             WHERE AWERKS = P_PLANT AND ABWART IN S_MTYPE AND E~BUDAT IN S_DATE
             GROUP BY AMATNR EBUDAT E~MBLNR
             ORDER BY E~BUDAT DESCENDING.
    I'm not able to get what i'm missing.
    please help.
    Regards,
    Ash R

  • Reader XI (11.0.0) fails to fix "insufficient data for an image" error

    after updating to 10.1.4 we were getting numerous "insufficient data for an image" errors on some pages only.  These are documents (construction plans) scanned by a client and we have no control over their workflow or methods.  The device reported in the pdf file proerties is a Canon iR C3850. 
    The problem persists in Reader XI on both Win7-32bit and XP Pro SP3 PCs.  Rolling back to 10.1.3 was also ineffective.  Any ideas why the docmented fix does not work?
    Thanks.
    BC.

    Please see this 43.8 MB, 600 page, scanned book:
    http://archive.org/download/historyofmovies00hamp/historyofmovies00hamp.pdf
    Under Reader X it works fine.
    Thanks.

  • How to retrieve long text for a particular record

    Hi,
    I've been looking through some of the numerous posts relating to reading long texts but I can't seem to find out how to retrieve the necessary parameters for READ_TEXT for a particular record without using the GUI.
    Is there a way in ABAP that one could retrieve the parameters that are required to execute READ_TEXT just from one of the fields in the base table.  eg.  I would like to bring back a list of all materials with their associated long texts.  I can run a query on MARA for example and retrieve the necessary material information but I would like to know how I could get the necessary information, for each row in my results, to pass to READ_TEXT. 
    What information would I need to perform the above, if at all possible?
    Thanks in advance,
    Charles

    You can check out SE75.  Here is where the objects and ids are listed/maintained.  There is one trick to find the object/id.  That is,  create the text in the specific transaction.  If you are talking about header text for a sales orders, go to VA02 and enter some text and save.  Now go to SE16, enter STXH as the table name.  On the selection screen for STXH,  enter your user name for "created by" and enter the date.  Execute.  The record that you see is probably the text that you just created.  You can see the object, the id, and even how the name is built.  In this case,  it would be sales order number.
    Sometimes where you enter the text, there is a little "scroll" icon under the text editor, clicking that will tell you the object and id.  In some cases, this functionality is not there.
    Regards,
    Rich Heilman

  • Retrieving session data for user (HOW ?)

    I have written an ecommerce site which uses HttpSession objects for storing data (ie users shopping cart). The touble I have is that when the user clicks pay, there request goes to a different server and if valid that server does a callback to my server.
    PROBLEM - When I receive the request for the call back I have lost the session data. I am able to pass hidden form params in the callback request, so I can send the session id.
    QUESTION - AM I able to retrieve a session with the stored ID. I did try appending jsessionid=<sessionID> into the call back URL but it still created a new session.
    Thanks
    Justin

    How about this
    1) Implement HttpSessionListener interface and hold your own list of sessions in Hashtable
    2) Send session id to request and get it back with from callback
    3) Search in your Hashtable your lost session.
    4) Enjoy
    Pavel
    P.S. The way you're trying is hacky... I mean session id sometimes handled in parameters (as you have tried to hack) or in cookies.

  • Materialized view on table having LONG data type column

    Hi ,
    We have two Database with different version as below.
    Master Database site : 9.2.0.8.0
    Materialized view site : 10.2.0.1
    We want to create MV ( materialized view) for below table in Materialized view site.
    SQL> desc longdescription;
    Name Null? Type
    LDKEY NOT NULL NUMBER
    LDOWNERTABLE NOT NULL VARCHAR2(18)
    LDOWNERCOL NOT NULL VARCHAR2(18)
    LDTEXT LONG
    ROWSTAMP NOT NULL VARCHAR2(40)
    SQL>
    Here's the error that we got.
    SQL> create materialized view MV_LONGDESCRIPTION REFRESH ON DEMAND with rowid as
    select * from LONGDESCRIPTION@CBUM_REPL;
    create materialized view MV_LONGDESCRIPTION REFRESH ON DEMAND with rowid as sele
    ct * from LONGDESCRIPTION@CBUM_REPL
    ERROR at line 1:
    ORA-00997: illegal use of LONG datatype
    SQL>
    CBUM_REPL - > is dblink which connections to remote oracle 9i database where we have MV log created for table LONGDESCRIPTION

    http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:349809082244#25744259997345

Maybe you are looking for