New@SSIS - Excel Src: The value could not be converted because of a potential loss of data

Good day,
I am currently working on a SSIS package that had been built by a previous user. That Package allows me to import data from an excel source to a SQL table. The excel sheet holds multiple columns, However I am having difficulty with one
column when running the package.
The column rows hold a character and an integer (eg: N2). The data types are as follows:
SQL – varchar(3),NULL
SSIS - double-precision float [DT_R8]
I then inserted a data conversion task to change the data type. The task holds the following properties:
Input column – F6
Output Alias – Copy of F6
Data Type – string[DT_STR]
Length – 50
When I execute the package I receive the following error:”
[Excel Source Data [76]] Error: There was an error with output column "F6" (91) on output "Excel Source Output" (85). The column status returned was: "The value could not be converted because
of a potential loss of data.".
I do know that usually the message "The value could not be converted because of a potential loss of data." refers to a data type or length problem.
Further insight to this problem will be much appreciated.

Hi Zahid01,
From the error message you post, we can infer the issue is caused by the input column “F6” cannot convert to the output column in Excel Source.
Based on my test, I can reproduce the issue in my environment. The exactly cause is the data type of input column “F6” cannot convert to the data type of corresponding output column. For example, the data type of input column “F6” is [DT_STR], the data type
of corresponding output column is [DT_I4], and there are some nonnumeric values in the input column “F6”. When we execute the task, the error occurs. We can verify the issue in the Advanced Editor dialog box of Excel Source. The following screenshot is for
your reference:
To avoid this issue, please make sure the input column can convert to the output column in Excel Source, including all the values in the input column.
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support

Similar Messages

  • Getting this Error: There was an error with input column "FROM_DATE" (6356) on input "OLE DB Destination Input" (6100). The column status returned was: "The value could not be converted because of a potential loss of data.".

    Hi,
    I have a flat file with this kind of value - " 20140713 " . To take this value in DB Table I set the data type of this column in flat file manager - string [DT_STR] 50, But in destination table It is set as date [date] NULL
    while process this file, I'm getting this error, that mention in subject line.
    Please confirm, how to do that as I don't want to change the destination column type.

    you need to add a derived column in SSIS with expressions as below
    (DT_DATE)SUBSTRING([Column],1,4) + (DT_WSTR,30) "-" + SUBSTRING([Column],5,2) + (DT_WSTR,30) "-" + SUBSTRING([Column],7,2)
    ANd map this new column to your tables date column
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Syncing photos via iTunes - getting new error message" "the iphone could not be synced because the connection to iphone was lost"

    I am trying to sync photos in a dedicated file on my desktop with the photo library on my iPhone 4S.  Something I have done many times before. 
    Since upgrading to iTunes 11 I get this message "the iphone could not be synced because the connection to iphone was lost" midway through the sync.  I do not understand this as I am syncing via the USB lead, so how can the connection be lost?
    Bascially I just want to update the photos on my iPhone with new photos I have added to the file I use on my computer.
    Any help or ideas would be gratefully received.  Thanks.

    This may help you
    http://appducate.com/2012/12/troubleshoot-an-ios-device-that-wont-sync-in-itunes /

  • Recently bought  a new computer and all my music appears in iTunes as well as on my computer in a saved folder. When I try to play the music in iTunes I get an error that reads"the song could not be used because the original file could not be found."

    Recently bought  a new computer and all my music appears in iTunes as well as on my computer in a saved folder. When I try to play the music in iTunes I get an error that reads"the song could not be used because the original file could not be found. Would you like to locate it?" Hope you can help me solve this issue.
    Thanks,
    Shellyboo

    This happens if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, or that the drive it lives on has had a change of drive letter. It is also possible that iTunes has changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout, or vice-versa, and so is looking in slightly the wrong place.
    Select a track with an exclamation mark, use Ctrl-I to get info, then cancel when asked to try to locate the track. Look on the summary tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, or a drive letter has changed, it should be possible to reverse the actions.
    Alternatively, as long as you can find a location holding the missing files, then you should be able to use my FindTracks script to reconnect them to iTunes .
    tt2

  • I have a new computer that downloaded all of my playlist. but i cannot play all songs. i get a error that say "the song could not be used because the original file could not be found. would you like to locate it? but it does not help to resolve.

    i installed itunes to my new computer and transfered all my playlist from the older computer. the software came with the new computer hp link up. the problem
    comes in where i want to play a certain song on a playlist and this error pops up "the song could not be used because the original file could not be found.
    would you like to locate it? which is of no help.
    is there a solution to this problem?

    The file path for these songs IS NOT correct per your iTunes Library file. 
    See: http://dougscripts.com/itunes/scripts/ss.php?sp=listmias  for an Applescript to locate these files for re-adding.

  • Got a new computer now I'm getting a new error "The song could not be used because the original file could not be found.  Would you like to locate it?"

    So i got a new computer and before i did i backed up al my music onto an external hard drive. I downloaded itunes and went to put my music back on and when I unplug my hard drive i get this message "The song could not be used because the original file could not be found.  Would you like to locate it?". I have close to 3500 songs so its a little annoying that i cant update or sync my ipod/iphone. Are there any tips or tricks you could help me with in order to fix this problem

    Here is the folder hierarchy of my /Home/Music/folder:
    Music folder
    iTunes folder
    iTunes Media folder
    Music folder
    Note that the contents of this last folder in the hierarchy will be different on your computer.

  • When i try downloading adobe pro i am getting an error message that is saying: The application could not be installed because the installer file is damaged. Try obtaining a new installer file from the application author.

    when i try downloading adobe pro i am getting an error message that is saying: The application could not be installed because the installer file is damaged. Try obtaining a new installer file from the application author.

    Hi Kashmore,
    Seems like the downloaded file was corrupt that could be because of either network restriction or the anti virus might have blocked it. My suggestion would be to try and download the product either by turning off the Antivirus or try a different network.
    Cheers,
    Kartikay Sharma

  • Trying to download the free trial of Adobe Acrobat XL Pro.  I keep getting the message "The application could not be installed because the installer file is damaged. Try obtaining a new installer file from the application author."  I've repeatedly tried g

    Trying to download the free trial of Adobe Acrobat XL Pro.  I keep getting the message "The application could not be installed because the installer file is damaged. Try obtaining a new installer file from the application author."  I've repeatedly tried getting a new installer file, but get the same message every time.

    K_don52 and Ande8135 please remove your current installation of the Adobe Download Assistant and reinstall.  You can find more details in the known issues section of Troubleshoot Adobe Download Assistant.

  • After downloading itunes on my new computer all of my songs have an exclamation point in front of them and it says the song could not be used because the original file could not be found. How do I fix this?

    After downloading itunes on my new computer all of my songs have an exclamation point in front of them and it says the song could not be used because the orginal file could not be found. How do I fix this?

    Hey waltee911,
    It sounds like you're seeing something similar to this picture:
    If that's the case, the following article has troubleshooting steps to solve the issue:
    iTunes: Finding lost media and downloads
    http://support.apple.com/kb/TS1408
    Welcome to Apple Support Communities!
    Sincerely,
    Delgadoh

  • Every time I try to create a new project it says "The File Could Not Be Opened," how do I fix this?

    Every time I try to create a new project it says "The File Could Not Be Opened," how do I fix this?

    see if the "oddbal problems" fix helps:
    http://www.bulletsandbones.com/GB/GBFAQ.html#oddballprobs
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • Since i download the new version of i tunes i canot play the songs of my library...it say that "the song could not be used because the original file could not be found" what i do to just play the songs directly? please someone help

    since i download the new version of i tunes i canot play the songs of my library....it say "the song could not be used because the original file could not be found".
    would you like to locate it.i just want to play directly..what i do?  please help  thanks

    This happens if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, or that the drive it lives on has had a change of drive letter. It is also possible that iTunes has changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout,or vice-versa, and so is looking in slightly the wrong place.
    Select a track with an exclamation mark, use Ctrl-I to get info, then cancel when asked to try to locate the track. Look on the summary tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, or a drive letter has changed, it should be possible to reverse the actions.
    Alternatively, as long as you can find a location holding the missing files, then you should be able to use my FindTracks script to reconnect them to iTunes .
    tt2

  • The operation could not be performed because OLE DB provider "OraOLEDB.Oracle" for linked server ...

    Our setup is that we have two databases; a SQL Server 2008 database and an Oracle database (11g). I've got the oracle MTS stuff installed and the Oracle MTS Recovery Service is running. I have DTC configured to allow distributed transactions. All access to the Oracle tables takes place via views in the SQL Server database that go against Oracle tables in the linked server.
    (With regard to DTC config: Checked-> Network DTC Access, Allow Remote Clients, Allow Inbound, Allow Outbound, Mutual Authentication (tried all 3 options), Enable XA Transactions and Enable SNA LU 6.2 Transactions. DTC logs in as NT AUTHORITY\NetworkService)
    Our app is an ASP.NET MVC 4.0 app that calls into a number of WCF services to perform database work. Currently the web app and the WCF service share the same app pool (not sure if it's relevant, but just in case...)
    Some of our services are transactional, others are not.
    Each WCF service that is transactional has the following attribute on its interface:
    [ServiceContract(SessionMode=SessionMode.Required)]
    and the following attribute on the method signatures in the interface:
    [TransactionFlow(TransactionFlowOption.Allowed)]
    and the following attribute on every method implementations:
    [OperationBehavior(TransactionScopeRequired = true, TransactionAutoComplete = true)]
    In my data access layer, all the transactional methods are set up as follows:
    using (IDbConnection conn = DbTools.GetConnection(_configStr, _connStr))
    using (IDbCommand cmd = DbTools.GetCommand(conn, "SET XACT_ABORT ON"))
    cmd.ExecuteNonQuery();
    using (IDbCommand cmd = DbTools.GetCommand(conn, sql))
    ... Perform actual database work ...
    Services that are transactional call transactional DAL code. The idea was to keep the stuff that needs to be transactional (a few cases) separate from the stuff that doesn't need to be transactional (~95% of the cases).
    There ought not be cases where transactional and non-transactional WCF methods are called from within a transaction (though I haven't verified this and this may be the cause of my problems. I'm not sure, which is part of why I'm asking here.)
    As I mentioned before, in most cases, this all works fine.
    Periodically, and I cannot identify what initiates it, I start getting errors. And once they start, pretty much everything starts failing for a while. Eventually things start working again. Not sure why... This is all in a test environment with a single user.
    Sometimes the error is:
    Unable to start a nested transaction for OLE DB provider "OraOLEDB.Oracle" for linked server "ORACLSERVERNAME". A nested transaction was required because the XACT_ABORT option was set to OFF.
    This message, I'm guessing is happening when I have non-transactional stuff within transactions, as I'm not setting XACT_ABORT in the non-transactional code (that's totally doable, if that will fix my issue).
    Most often, however, the error is this:
    System.Data.SqlClient.SqlException (0x80131904): The operation could not be performed because OLE DB provider "OraOLEDB.Oracle" for linked server "ORACLSERVERNAME" was unable to begin a distributed transaction.
    Now, originally we only had transactions on SQL Server tables and that all worked fine. It wasn't until we added transaction support for some of the Oracle tables that things started failing. I know the Oracle transactions work. And as I said, most of the time, everything is just hunky dorey and then sometimes it starts failing and keeps failing for a while until it decides to stop failing and then it all works again.
    I noticed that our transactions didn't seem to have a DistributedIdentifier set, so I added the EnsureDistributed() method from this blog post: http://www.make-awesome.com/2010/04/forcibly-creating-a-distributed-net-transaction/
    Instead of a hardcoded Guid (which seemed to cause a lot of problems), I have it generating a new Guid for each transaction and that seems to work, but it has not fixed my problem. I'm wondering if the lack of a DistribuedIdentifier is indicative of some other underlying problem. I've never dealt with an environment quite like this before, so I'm not sure what is "normal".
    I've also noticed that the DistributedIdentifier doesn't get passed to WCF. From the client, I have a DistributedIdentifier and a LocalIdentifier in Transaction.Current.TransactionInformation. In the WCF server, however there is only a LocalIdentifier set and it is a different Guid from the client side (which makes sense, but I would have expected the DistributedIdentifier to go across).
    So I changed the wait the code above works and instead, on the WCF side, I call a method that calls Transaction.Current.EnlistDurable() with the DummyEnlistmentNotification class from the link above (though with a unique Guid for each transaction instead of the hardcoded guid in the link). I now havea  DistributedIdentifier on the server-side, but it still doesn't fix the problem.
    It appears that when I'm in the midst of transactions failing, even after I shut down IIS, I'm unable to get the DTC service to shutdown and restart. If I go into Component Services and change the security settings, for example, and hit Apply or OK, after a bit of a wait I get a dialgo that says, "Failed ot restart the MS DTC serivce. Please examine the eventlog for further details."
    In the eventlog I get a series of events:
    1 (from MSDTC): "The MS DTC service is stopping"
    2 (From MSSQL$SQLEXPRESS): "The connection has been lost with Microsoft Distributed Transaction Coordinator (MS DTC). Recovery of any in-doubt distributed transactions
    involving Microsoft Distributed Transaction Coordinator (MS DTC) will begin once the connection is re-established. This is an informational
    message only. No user action is required."
    -- Folowed by these 3 identical messages
    3 (from MSDTC Client 2): 'MSDTC encountered an error (HR=0x80000171) while attempting to establish a secure connection with system GCOVA38.'
    4 (from MSDTC Client 2): 'MSDTC encountered an error (HR=0x80000171) while attempting to establish a secure connection with system GCOVA38.'
    5 (from MSDTC Client 2): 'MSDTC encountered an error (HR=0x80000171) while attempting to establish a secure connection with system GCOVA38.'
    6 (From MSDTC 2): MSDTC started with the following settings: Security Configuration (OFF = 0 and ON = 1):
    Allow Remote Administrator = 0,
    Network Clients = 1,
    Trasaction Manager Communication:
    Allow Inbound Transactions = 1,
    Allow Outbound Transactions = 1,
    Transaction Internet Protocol (TIP) = 0,
    Enable XA Transactions = 1,
    Enable SNA LU 6.2 Transactions = 1,
    MSDTC Communications Security = Mutual Authentication Required, Account = NT AUTHORITY\NetworkService,
    Firewall Exclusion Detected = 0
    Transaction Bridge Installed = 0
    Filtering Duplicate Events = 1
    This makes me wonder if there's something maybe holding a transaction open somewhere?

    The statement executed from the sql server. (Installed version sql server 2008 64 bit standard edition SP1 and oracle 11g 64 bit client), DTS enabled
    Below is the actual sql statement issued
    SET XACT_ABORT ON
    BEGIN TRAN
    insert into XXX..EUINTGR.UPLOAD_LWP ([ALTID]
              ,[GRANT_FROM],[GRANT_TO],[NO_OF_DAYS],[LEAVENAME],[LEAVEREASON],[FROMHALFTAG]
              ,[TOHALFTAG] ,[UNIT_USER],[UPLOAD_REF_NO],[STATUS],[LOGINID],[AVAILTYPE],[LV_REV_ENTRY])
              values('IS2755','2010-06-01',
    '2010-06-01','.5',     'LWOP'     ,'PERSONAL'     ,'F',     'F',     'EUINTGR',
    '20101',1,1,0,'ENTRY')
    rollback TRAN
    OLE DB provider "ORAOLEDB.ORACLE" for linked server "XXX" returned message "New transaction cannot enlist in the specified transaction coordinator. ".
    Msg 7391, Level 16, State 2, Line 3
    The operation could not be performed because OLE DB provider "ORAOLEDB.ORACLE" for linked server "XXX" was unable to begin a distributed transaction.
    Able to execute the above statement successfully without using transaction.We need to run the statement with transaction.

  • I am unable to add Firefox for some reason. I get a message that "the addon could not be downloaded because of a connection error on Mozilla.addons..."

    I am running Firefox 10 on my MacBook Pro. I have tried several times to download the Firebug addon, but get the following message:
    "The addon could not be downloaded because of a connection error on Mozilla.addons.org"

    Type '''about:config''' in the Location (address) bar and press the "Enter" key. When you see a warning, click '''I'll be careful, I promise!''' button.
    -> right-click somewhere, click '''New''' -> select '''String'''
    * name it '''xpinstall.enabled''' and set the value to '''True'''
    -> Close the '''about:config''' tab and then Restart Firefox.
    All the downloads should work now. If you delete this value some time later it still works.
    Check and tell if its working.

  • "The iPod could not be synced because this computer is no longer authorised for purchased items"

    Whenever I try to sync my iPod to iTunes, this error comes up:
    "The iPod could not be synced because this computer is no longer authorised for purchased items that are on this iPod."
    I have already tried every solution suggested here: iTunes repeatedly prompts to authorize computer to play iTunes Store purchases

    I found the solution to this problem
    the apple service helped me actually
    the best and the esiest way is to solve this problem  :
    create a new account (as an administator recomended) 
    Bonjour servises must be enabled ( go to control panel > administartive tools> sevices> Bounjour services (change the category to large icons if you dont see administartive tools )
    install itunes
    sign in
    authorize
    SYNC
    it must sync normally
    but if the meesage pops up that points on a particular items that could not be synced ( to ur itunes because you are not authorized for this items ) REMOVE THEM
    creating a new user account shows the items wich dont let you sync your iPhone
    after you REMOVE those **** items that were not authorised , you can go to your old user account and SYNC it as old kind time
    was having this problem 2 weeks , and nothing helped except this was. not deleting the SC Info folder, now copying apple folder to some other mobile divce folder
    REMEMBER  the problem is in your iPhone , it is about the items that are in your iPhone
    Thanks to Apple service
    for anyone who needs othe heple you r welcome to ask
    will hepl you with a pleassure cause i know how I felt this days:)

  • HT1414 I can't sync my I phone 5s to my MacBook Pro.  I receive this message: "the iphone could not be synced because this computer is no longer authorized for purchased items that are on this iphone."  I have authorized and re-authorized my computer and

    message: "The IPhone could not be synced because this computer is no longer authorized for purchased items that are on this IPhone."  First I have authorized the computer - several times.  Second, there is nothing on my IPhone.  I'm try to transfer my ITunes library from my Mac to my new IPhone.  Thanks.

    Well Authorize the Computer...........

Maybe you are looking for