SSIS XML Task: data from Variable Option NOT Working

hi
this is the scenario:
n number of XML files get delivered everyday
XML files need to be transformed using an XSLT transform
XML files get stored in table ImportedFile under XMLFile column (XML Type)
We then create a SSIS package that does the following:
we grab the data from the SQL server ImportedFile Table
dump the table in recordset destination
create a for each uploaded file loop that puts the xml in variable XMLValue
read the xml in the XMLValue with XML Source package
package fails with following error
"[XML Source [2]] Error: The XML Source was unable to read the XML data. Data at the root level is invalid. Line 1, position 1."
below is a snapshot of SSI Job - any idea why this may be occurring ? is there a limit on the size of the xml ? is String the correct type ?
eddy.a

Hi sandeepppp,
Currently, we can't repro this issue based on the information you posted above. What's your SSIS package structure?
As SSISJoost suggested above, please try to configure logging for the package so that we can get more detail information to troubleshoot this issue.
Note: SQL Server Integration Services includes log providers that you can use to implement logging in packages, containers, and tasks. With logging, you can capture run-time information about a package, helping you audit and troubleshoot a package
every time it is run.
For more information, please see:
Integration Services (SSIS) Logging:
http://technet.microsoft.com/en-us/library/ms140246.aspx
If you have any feedback on our support, please click
here.
Elvis Long
TechNet Community Support

Similar Messages

  • SSIS XML task date format issue

    Hi, there;
    I created an SSIS package XML task to import customer XML data.     The LocaleID is set to "New Zealand"
            I have an xml file which has date fields as attribute (dd/MM/yyyy). I created this package and run it in an .NET console program.
        The interesting thing is that: when I run under my own windows account, I can import data into SQL properly (dd/MM/yyyy), but when I run it as scheduled task (under another special windows account) it gives America format (MM/dd/yyyy).
        What I found is that my personal account in AD is set to New Zealand, the special windows account given by the infrastructure engineer
    is set to "default"  which is American user.
        So, my question is that is there any way/something we can set in the package or
     XSD somewhere to tell SSIS what the source date format is rather then controlled by the "AD account"?. The reason is that imagine that
    if I have 2 XML files from different clients, one is New Zealand date format(dd/MM/yyyy), another one is American date format (MM/dd/yyyy), I want same package (NOT same XML task) to import 2 XML files with result in New Zealand format.
       Thank you in advance.
    Cheers
    Robert
    qiuwei

    Hi Robert,
    Based on your description, there are two scenarios:
    You want to format the XML file column date with dd/MM/yyyy or MM/dd/yyyy format to dd/MM/yyyy. In this scenario, we can use Derived Column Transformation to convert the MM/dd/yyyy format to dd/MM/yyyy format for the American XML task, then use the new
    column maps to the corresponding Destination column. The following expression is for your reference:
    LEFT(RIGHT(Column,7),2) + "/" + LEFT(Column,2)+"/"+ RIGHT(Column,4)
    The XML file data already import to SQL table, different country people view the data with different date format. Please note that a datetime column is stored as binary in database, the display format is related to the SSMS server. For more details, please
    see the following KB:
    INF: How to Set the Day/Month/Year Date Format in SQL Server
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Import from Repository option not working - OBIEE 11.1.1.6.2

    Hello,
    We are currently running on OBIEE 11.1.1.6.2. We would like to merge Two Repositories. Well, in addition to "Merge" option we have, we were trying *"Import from Repository"* option but in vain. It is showing the following error:
    *[nQsError: 12033] A client tried to connect to a server that is not of the right type*
    I understand this option is of low precedence from Oracle and its support. But, just want to know if anyone have used this option and encountered this error. If so, any workaround u wanna suggest. I appreciate any support.
    Thanks.

    967977 wrote:
    Hello,
    We are currently running on OBIEE 11.1.1.6.2. We would like to merge Two Repositories. Well, in addition to "Merge" option we have, we were trying *"Import from Repository"* option but in vain. It is showing the following error:
    *[nQsError: 12033] A client tried to connect to a server that is not of the right type*
    I understand this option is of low precedence from Oracle and its support. But, just want to know if anyone have used this option and encountered this error. If so, any workaround u wanna suggest. I appreciate any support.
    Thanks.Do you know if the OBIEE installation is done on a cluster of two servers?

  • Restoring data from previous device not working

    QUESTION:
    My question is, am I able to transfer data from my previous Blackberry 10 device and onto my new Blackberry 10 device if I do not have my old device anymore? (Keeping in mind that I have the previous device data backed up).
    Problem:
    Ok so:
    1. I purchased the Z10 and started adding contacts, apps etc.
    2. I purchased the Q10 and transfered data using the switch device system
    3. The Q10 I had purchased was faulty so before I handed it in to get a new Q10 I backed it up so I could restore its data on the new Q10.
    4. Once I received the new Q10 I handed the old one in and went home and attempted to do the same method of transferring my data across
    Turns out that you need your previous bbry for this action to be able to work so I thought I would just connect the new Q10 into Link and just click on restore data and using the backup on my previous Q10 (the faulty one).
    5. I get an error every time saying that the restore could not be completed because; did not recognise device, try unplugging and replugging etc etc.
    Attempted Resolution from reading the forums:
    > Restarted PC
    > Took bbry battery and sim card out
    > Restoring data via Applications > Media > Settings
    > Removed device from Link
    > Restarted bbry
    > Full security wipe and tried again

    When you use BlackBerry Link to transfer data from an old device to a new one the software should prompt you to connect your old device. That's when you connect the Z10 (as long as you didn't delete everything from the Z10). It copies and then it prompts you to connect the new device. 
    To make sure BB Link connects to the new device, go into that device's Settings > Storage and Access and make sure you have USB Connection set for "Connect to PC" and not to "Autodetect." You can try toggling to Mac and back to PC if it doesn't recoginize the connection.

  • Import from android option not working

    just not working I choose import and no bookmarks from my android appear in my mozzilla firefox bookmarks

    I have a le pan tablet. The first time I downloaded Firefox, the import from android did work. This is the second time for Firefox download. I did solve my problem. My stock browser was disabled, I simply enabled it.

  • URGENT: Requery data from database is not working...

    Using ADF 11.1.2.1.0
    when i commit page
    In the database I have a trigger that modify the column values.
    These new values aren't returned.
    In backing bean action method, after execute commit method:
    I try executeQuery = data isn´t update
    I try also executeQuery then clear cache from entity = data isn´t update
    I try also InvalidateCache from DCIteratorBinding then executeQuery = data isn´t update
    I try Rollback = data isn´t update
    After page is rendered with wrong data.. if
    execute rollback = data is update
    clearCache from entity = data is update
    executeQuery = data insn´t update
    invalidateCache from DCIteratorBinding = data isn´t update
    how can i get the modified values, this ADF work crazy ?
    regards.

    Here we go Timo
    I override isUseReturningClause and test application again:
    after commit page:
    All InputText, OutputText inside table = show updated data
    All inputListOfValues = dont update date.
    I convert inputListOfValues into outputText (same value attribute) = show updated  data.
    now problem seem to be in LOV?

  • Open HUB ( SAP BW ) to SAP HANA through DB Connection data loading , Delete data from table option is not working Please help any one from this forum

    Issue:
    I have SAP BW system and SAP HANA System
    SAP BW to SAP HANA connecting through a DB Connection (named HANA)
    Whenever I created any Open Hub as Destination like DB Table with the help of DB Connection, table will be created at HANA Schema level ( L_F50800_D )
    Executed the Open Hub service without checking DELETING Data from table option
    Data loaded with 16 Records from BW to HANA same
    Second time again executed from BW to HANA now 32 records came ( it is going to append )
    Executed the Open Hub service with checking DELETING Data from table option
    Now am getting short Dump DBIF_RSQL_TABLE_KNOWN getting
    If checking in SAP BW system tio SAP BW system it is working fine ..
    will this option supports through DB Connection or not ?
    Please follow the attachemnet along with this discussion and help me to resolve how ?
    From
    Santhosh Kumar

    Hi Ramanjaneyulu ,
    First of all thanks for the reply ,
    Here the issue is At OH level ( Definition Level - DESTINATION TAB and FIELD DEFINITION )
    in that there is check box i have selected already that is what my issue even though selected also
    not performing the deletion from target level .
    SAP BW - to SAP HANA via DBC connection
    1. first time from BW suppose 16 records - Dtp Executed -loaded up to HANA - 16 same
    2. second time again executed from BW - now hana side appaended means 16+16 = 32
    3. so that i used to select the check box at OH level like Deleting data from table
    4. Now excuted the DTP it throws an Short Dump - DBIF_RSQL_TABLE_KNOWN
    Now please tell me how to resolve this ? will this option is applicable for HANA mean to say like , deleting data from table option ...
    Thanks
    Santhosh Kumar

  • Using SQL Server 2012 SSIS to Extract Data From SAP

    Hi
    What is the current best practice for using SQL Server 2012 SSIS to extract data from SAP R3? Please note we are looking for a solution that does not use SAP BW or SAP OHS.
    Ideally we would like to build our ETL SSIS process to make a .NET call to an SAP RFC procedure and avoid using web services.
    With SS2012 can we use any of these without using SAP BW:
    - SAP .NET Connector
    - MS ADO .NET
    - BizTalk .NET 3.0 Adapter
    Thanks and take care,
    Shayne

    Hi Shayne,
    You can use the .NET Framework Data Provider for mySAP Business Suite along with SQL Server Integration Service (SSIS) to import data from an SAP system into SQL Server database tables, flat files, or other compatible destination types. You can create an SSIS
    package that can be executed to import data from an SAP system.
    You must use the SQL Server Import and Export wizard to import data into the SQL Server database. You must provide a select query to specify data to be imported. The query must confirm to the semantics supported by the Data Provider for SAP. You can start the
    SQL Server Import Export Wizard either from the SQL Server Management Studio or from an Integration Service project in Visual Studio. Detail steps please see:
    Importing SAP Data Using SQL Server Management Studio:
    http://msdn.microsoft.com/en-us/library/cc185161(v=bts.10).aspx
    Importing SAP Data Using Visual Studio:
    http://msdn.microsoft.com/en-us/library/cc185254(v=bts.10).aspx
    Please feel free to ask if you have any question.
    Thanks,
    Eileen
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other community members reading the thread.

  • Variable Text not working as dynamic header in Crystal report

    Dear Experts,
    I'm working Crystal report that connected to Query BEX SAP BW trough SAP integration kit,
    currently i have case that need report dynamic header using variable text from BEX query, but seem the variable text not working in Crystal reports. the header in Crystal report shown as Desription\technical name, not result from the variable text in Query BEX in SAP.
    In https://wiki.sdn.sap.com/wiki/display/BOBJ/Crystal%20Reports%20and%20BW%20query%20elements stated that the "Text variable" with "replacement path" is supported, but i don't know in my query is not working.
    i already set in Database -> options->  table and fields -> Show Both, but the text variable still not working.
    can you help me
    Crystal Reports 2008 12.2.0.290
    SAP Integration KIT 12.1.0.890
    Thanks
    Luqman

    Post your question BEX and B1 and classic SAP data source issues to the Integration Kit forum

  • Select * from tab is not working in oracle 10g

    select * from tab is not working in oracle 10g. But at the same time,
    select * from <<table>> is working.
    Please advise me.

    This works for me in 10.2.0.2
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select * from tab;
    TNAME                          TABTYPE            CLUSTERID
    LOAN_DETAIL                    TABLE
    PLAN_TABLE                     TABLE
    ...

  • Consuming PI Webservice from Webdynpro Java Not working

    Hello SAP,
    Environment: CE 7.2.
    Resolution expected immediately, Helpful answer is highly appreciated.
    Is the namespace should not exceed 60char for PI Webservice, for executing the webservice from Webdynpro Java.
    I tried with all the options in executing the PI Service from Webdynpro Java, None of the options worked. I am facing the below error while I was calling the PI Webservice.
    I don't see any problem from Webdynpro Java, what ever the procedure I have followed is the standard procedure.
    Fortunately when I execute the service from Webservice Navigator, it is working as expected. The same webservice when I consume it from Webdynpro Java it is not working
    Options tried so far:
    1) Published the Services to Service Registry and there by consuming the PI Service from Service Registry - Not worked
    2) Tweaked the URL with few options - Not worked (Tweaking the URL, ex: portType, Binding)
    3) Changing the Business Systems in PI and there after calling the service - Not worked
    4) Initializing the code, instead of creating Service Controller and calling the PI Service - Not worked.
    5) Created a Provider System and tried to call the PI Webservice from Provider System - Not Worked
    For all the Options, I am facing the same error which is provided in the screenshot.
    Below procedure which I have followed for calling the PI Webservice:
    1) Created Adaptive Webservice Model
    2) Provided PI Webservice URL (It prompts for PI System UserId and Password)
    3) Selected Option - No Service Group Configuration
    4) Provided Logical Destination
    6) Completed creation of Model
    7) Added the model as a UsedModel
    8) Right Click on Comp Contr. and selected Apply Template and Created a ServiceController for the model (Entire mapping to comp contr, Initializing the nodes is taken care by Service Contr.)
    9) Created an Template Action button and there by calling execute method which is auto rendered from CompContr..
    10) Build the project.
    11) Activated the code and Run the Application.
    12) Getting the below error which is showed in the message.
    ERROR MESSAGE:
    Exception on execution of web service on destination 'GetPIHRPeopleData' for operation 'SI_CreateHRPeopleData_OS' in interface 'SI_CreatePeopleCompany_OS'

    Hi Sankar,
    If the webservice is working fine in the Wsnavigator then there is some problem with importing the webservice in webdynpro for Java. Please check the required parameter for creating the Adaptive Webservice Model. After adding in the used model and compoent controller binding, you need to write code for to execute the webservice model.
    Please check the code for initialization and execution for the webservice and then test it.
    Best Regards,
    Arun Jaiswal

  • Is it possible to recover my data from iCloud backup without working wifi? I have as many other upgraded my iPhone 4S to iOS 7.0.2 with the result that the Wi-Fi or Bluetooth no longer works. However, i can connect to iTunes via cable but there is wrong v

    Is it possible to recover my data from iCloud backup without working wifi? I have as many other upgraded my iPhone 4S to iOS 7.0.2 with the result that the Wi-Fi or Bluetooth no longer works. However, i can connect to iTunes via cable but there is wrong version of backup.

    Answer is no.
    If you want the iCloud backup you have to have n internet connection, thus WiFi.
    The not working WiFi has happened with quite a number of users.
    It is not exactly clear what is the cause but there are suggestions to clear it up:
    Some people have had success by removing an apostrophe from the iPhone name. If your iPhone is called something like “John’s iPhone” then this might work. Go to Settings > General > About > Name and change it to something with no apostrophe.
    Some people have reported success by putting the iPhone into Airplane mode and then going to Settings > General > Reset > Reset Network Settings, but the problem may return.
    You could also try going to Settings > Control Center and disable Access on Lock Screen then turn your iPhone off and on again.
    Make sure that your router firmware is up to date.
    Try backing up your iPhone and then restoring it. Check how to factory reset an iPhone for details.
    If nothing is working for you, try contacting Apple or take your iPhone into an Apple Store.
    Succes, Lex

  • SELECT INTO ( variable ) STATEMENTS NOT WORKING FOR SYBASE TABLE AS VIEW

    Dear Experts,
    We have connected our 9i db with Sybase db using Hs connectivity.
    and then we have create the view in oracle db for SYBASE_TABLE as SYBASE_TABLE_VIEW.
    ALL THE INSERT, UPDATE AND DELETE COMMANDS ARE WORKING BUT THE
    select Into (variable) is not working.
    Please help to resolve the select into statment which is in BOLD in the below routine
    PLEASE NOTE! FORM WAS COMPILED SUCCESSFULLY AND FORM IS RUNNING BUT SELECT INTO COMMAND IS NOT WORKING.
    Thanks & Regards
    Eidy
    PROCEDURE SRBL_INSERT IS
    CURSOR SRBL IS
         SELECT impno,impcod,impnam
         from oracle_table1 a, oracle_table2 b
         WHERE a.impcod=b.empcod
         v_srpcod varchar2(5);
    BEGIN     
    FOR rec in SRBL loop     
         begin
    select "im_code" into v_impcod                    
         from SYBASE_TABLE_VIEW
         where "im_code"=rec.impcod;
    exception when no_data_found then
         v_srpcod:=null;
    end;
    END LOOP;
    END;
    Edited by: Eidy on Aug 16, 2010 11:28 AM

    hellow
    try this.
    select "im_code" into v_impcod
    from SYBASE_TABLE_VIEW
    where "im_code"=rec.impcod;
    v_srpcod := v_impcod ;
    ........

  • Hey, I wanna download Lion for free, so i need UP-TO-DATE , but it do not works , please help

    Hey, I wanna download Lion for free, so i need UP-TO-DATE , but it do not works , please help

    I think you misunderstood the guy. The up-to-date program isn't working for a lot of people. I'm eligible for the free upgrade but it fails to recognise my serial. From what I've read, this is affecting a lot of people who purchased their computers online. Apple seems to be fixing the issue though, so my advice would be to keep trying. Alternatively, click on the manual verificaton link so they can check your order for you and send the redemption code after they do.

  • Cannot move any files into trash to delete them. I get a Trash warning box saying "The Finder cannot complete the operation because some data in 'file name' could not be read or written.(Error code - 36)".Macbook has so much data it is almost not working

    Cannot move any files into trash to delete them. I get a Trash warning box saying "The Finder cannot complete the operation because some data in 'file name' could not be read or written.(Error code - 36)".Macbook has so much data it is almost not working.
    I have tried reseting to factory settings by removing battery and holding down the power switch for more than 5 sec but this does nothing.
    Any ideas would be greatly appreciated as I think with so much unwanted data on the desktop and other places the whole os will crash very soon.
    Thanks, Rick

    The hard drive may be dying anyway, or the directory damaged because it is so full.  You should never let the hard drive get over 85% full.
    A -36 error is a read/write error.
    All you did with the power is reset the SMC.  Does nothing to reset everything to factory settings. 
    Do you have your original 10.4 installer discs for the MacBook?
    Is your data backed up?

Maybe you are looking for

  • Sample source code for GUI

    hi I am fairly new to designing GUI in JAVA . My applicaiton involves a big form with alot of choice list[ around 7 choice list ] which r populated using queries from database and also when an item is selected from the choice list , a query is ran wh

  • RFC Destination must same as Logical System

    Dear All, RFC   DESTINATION  SHOULD BE THE SAME NAME AS Logical system.. plz explain me above statement. i have configured all thing for ALE(Vendor Transmission) in TCode BD14 i recieve two success message(in client 100) but i am not able to find VEN

  • Help - Finding images that I've edited

    Hi again, This is a contination of a prior post, but has narrowed in scope.  I have a case open with Adobe realted to my catalog going haywire at some point in the past (longer ago than my oldest catalog BU). In my dealings with Adobe on this now alm

  • SAP XI 2 BI Integration with ECC 6.0

    Dear all, we are planning to do XI integration between ECC 6.0 to BI 1) How to Get the BI Standard data from ECC 6.0? 2)We are planning to integrate Standard BI reports with ECC 6 0 through XI. Please sugget the scenario for integration between ECC 6

  • Trying to have a break between each song while playing music in iTunes

    Hi there When Playing music in iTunes the songs run without any break - that is something like 5 seconds before the current song playing is supposed to finish, the next one already starts to play. I hope to have a break between the songs - only when