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

Similar Messages

  • 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

  • Whenever I try to sync my iPod Touch 5th gen with iTunes I get an error message saying "The iPod "*****" could not be synced because the sync session failed to start". Is there any way I can fix this?

    Whenever I try to sync my iPod Touch 5th gen with iTunes I get an error message saying "The iPod "*****" could not be synced because the sync session failed to start". Is there any way I can fix this?

    B-rock, thanks for posting the above.  I actually have the same issue, running Windows XP and I don't have that backup location, \Application Data\Apple Computer\MobileSync\Backup\.  When I go to Documents and Settings\(username)\ there's a AppData folder followed by:\LocalLow\DataMngr\ .
    I have the latest update, 5.0.1 and I have the iPod Touch 3rd gen.
    I have tried removing itunes and all that is associated with it then reinstalling and keep getting the same message.  I've reset my ipod thinking that would help but still, no backup.
    In iTunes, Edit, Preference, Device there are no backups.
    What am I doing wrong, can you help? 
    Thank you!

  • Library recovery: how can I recover a library after I get this message: There was an error opening the database for the library "/Users/Jim/Pictures/Libraries/K2 Library.aplibrary"???

    Library recovery: how can I recover a library after I get this message: "There was an error opening the database for the library “/Users/Jim/Pictures/Libraries/K2 Library.aplibrary”???

    Thanks a lot, Frank. The lsregister did the trick! I am testing this on 10.8.2.
    http://support.apple.com/kb/TA24770 : I deleted the "com.apple.LaunchServices.plist", and restarted the Finder, even logged off and on again; did not change anything. The file has not been recreated, so it may not be used anymore.
    http://itpixie.com/2011/05/fix-duplicate-old-items-open-with-list/#.ULZqa6XAoqY
    The direct "copy and paste" from the post did not work: I had to retype it :
    /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchSe rvices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
    but then it worked like a charm!
    Cheers
    Léonie
    And btw: I turned on the "-v" option for the lsregister to see, what was going on, and saw plenty of error messages (error -10811); so I repeated the command with "sudo". After that I still saw five iPhotos. Repeating as regular user finally got rid of the redundant iPhoto entries. It looks like registering as super user may be causing this trouble.

  • When I use my Apple ID for the last 12 hours I get this response:  "There was an error in the App Store. Please try again later. (4)".   How do I get around this?  Try two apple ID's.  Same thing.

    When I use my Apple ID for the last 12 hours I get this response:  "There was an error in the App Store. Please try again later. (4)".   How do I get around this?  Try two apple ID's.  Same thing. 

    What does it mean when I get...: Apple Support Communities
    'there was an error in the App Store....: Apple Support Communities

  • TS1424 I am unable to update my apps and get this message: There was an error in the App Store. Please try again later. (20)

    Help, i'm unable to update anything in the app store and get this message: There was an error in the App Store. Please try again later. (20)? I updated my account info and still no luck...
    And yes, I have tried later.

    And now I get this message:
    There was an error in the App Store. Please try again later. (13)

  • When I try to open aperture (which has been working fine for months), I get this response: There was an error opening the database for the library "~/Pictures/Aperture Library.aplibrary". Please help!!

    When I try to open aperture (which has worked great for months), I get this response:
    There was an error opening the database for the library “~/Pictures/Aperture Library.aplibrary”.
    Please help!! Thank you!! =)

    Sonny3300, your signature says "Aperture 2" - is that correct? Then you need this trouble shooting guide:
    Aperture 2: Troubleshooting Basics: http://support.apple.com/kb/HT2945
    What is your Operating system version and where is your library located? Have imported new images recently or changed the location of your library?
    Regards
    Léonie

  • What is the best way to copy aperture library on to external hard drive? I am getting a message that say's "There was an error opening the database. The library could not be opened because the file system of the library's volume is unsupported".

    What is the best way to copy aperture library on to external hard drive? I am getting a message that say's "There was an error opening the database. The library could not be opened because the file system of the library's volume is unsupported". What does that mean? I am trying to drag libraries (with metadata) to external HD...wondering what the best way to do that is?

    Kirby Krieger wrote:
    Hi Shane.  Not much in the way of thoughts - - but fwiw:
    How is the drive attached?
    Can you open large files on the drive with other programs?
    Are you running any drive compression or acceleration programs (some drives arrive with these installed)?
    Can you reformat the drive and try again?
    Hi Kirby,
    I attached the UltraMax Plus with a USB cable. The UltraMax powers the cable so power is not an issue. I can open other files. Also, there is 500GB of files on the drive so I cannot re-format it. Although, I noted I could import the entire Aperture Library. However, I do not want to create a duplicate on my machine because that would be defeating the purpose of the external drive.
    Thanks,
    Shane

  • Hi there I have updated to your lates version but every time I open up the browser and new windows I get this error message 'TypeError: Components.classes[cid] is undefined' although it does work but the message is very annoying

    Question
    Hi there I have updated to your lates version but every time I open up the browser and new windows I get this error message 'TypeError: Components.classes[cid] is undefined' although it does work but the message is very annoying

    This issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • HT3275 Can some HELP, I keep getting this error with my Time Machine Back up, "The backup disk image "/Volumes/JKPN Safe/JKPN IMAC.sparsebundle" is already in use.

    Can some one HELP me , I keep getting this error with my Time Machine Back up, "The backup disk image “/Volumes/JKPN Safe/JKPN IMAC.sparsebundle” is already in use.

    See > http://pondini.org/TM/C12.html

  • When I try to export with Quicktime, the iMovie (9) runs for a few minutes and I then get this message:The movie could not be exported because an error occurred. (-2125)

    When I try to export an iMovie (9) to quicktime, the iMovie runs for a few minutes and I then get the message: The movie could not be exported because an error occurred. (-2125)  What can I do to correct this?

    Trash your preferences. Trash your project render files. Switch off background rendering. Export without using the computer for anything else.
    Oh, and if you're using 10.9 switch off App Nap.

  • I'm trying to install iTunes 10.3 on my PC (windows vista) and I keep getting this message, "There is a problem with this windows package. A program required for this install to complete could not be run. Contact your support personnel or package vendor."

    I'm trying to install iTunes 10.3 on my PC (windows vista) and I keep getting this message, "There is a problem with this Windows Installer Package. A program required for this install to complete could not be run. Contact your support personnel or package vendor." I accidentally removed the Bonjour service from my system a few weeks ago, but my iTunes continued to work. Now I have no iTunes and I don't know how to fix it. SOMEONE PLEASE HELP!!!!

    a colleague of mine suffers from the same problem. did a quick look on the apple support pages. found many topics covering the same problem.
    also saw 1 marked as correct answer... (just browse the discussion pages before you ask, this answer appearantly was sitting there from oct. 14...)
    (i'm not on windows, so i can't test...)
    good luck!
    j.
    Correct Answer by Peter Lepere  on Oct 14, 2011 3:07 AM
    Hi Rick,
    by "repair" I mean I went to the control panel, option - programs and features, and in the list of all my installed programs I selected "Apple Software Update". On top of the screen you find the options Uinstall, Change and Repair. I clicked the repair button and that did the trick. After the repair I could uninstall the program. I also uninstalled iTunes, Apple Application Support, Apple Mobile Device Support en Bonjour, thus all Apple programs. Then I installed iTunes 10.5 again and everything went fine.
    Success,
    Peter

  • 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 /

  • I have started to get this error message: 5.1.3 bad address syntax in my email account. I am using Outlook 2011. It does not appear to be affecting sending or receiving email. I have no idea what it means or how to resolve the issue. Any advice?

    I have started to get this error message: "5.1.3 bad address syntax" in my email account. I am using Outlook 2011. It does not appear to be affecting sending or receiving email. I have no idea what it means or how to resolve the issue. Any advice?  My email account is through Optimum online and I am using Airpost Express.
    P.S. The error sound "bong" is driving us nuts!

    Please post on the Office for Mac product forums that Microsoft hosts. It's their product and they can best troubleshoot the issue.

  • Why do I get this error: The operation could not be completed because an error occurred when creating frame 1364 (error -1).

    In motion 5, when I go to export - H.264 - I get this error: The operation could not be completed because an error occurred when creating frame 1364 (error -1). Why and How do I Fix It???

    What version of FCPX ?

Maybe you are looking for

  • How to create Search help exit, and then assign it to a collective search

    hi gurus, i have an intersting question for you, well my scenario is like i have to create a search help exit using some function module cause i didt found table for my search help but i can find the value through FM, i know we can create a search he

  • F1 help on a field in module pool programming

    I want to create f1 help on a field in module pool programming. How to use POH event. where should i write the help documentation. Before using this f1 help on a field i have to set some properties on GUI interface Editor. Please clearly mention the

  • Tolerance Key LD: Blanket purchase order time limit exceeded

    Hi All, Can anybody tell me how the Invoice Block Tolerance Key <b>LD: Blanket purchase order time limit exceeded</b> works. As per my understanding, we need to maintain no days in the Tolreance Key LD , so that it checks for the Contract Validity &

  • Calling Forms

    Hi, How to hide the Query Find window? I have 2 forms(XX, YY) . I'm calling YY from XX. Both forms having Query Find window. While calling from XX, how to hide YY's query find window. I have given like this CALL_FORM('YY'); hide_view('QUERY_FIND'); s

  • Java sockets.

    I am trying to send raw bytes, which construct a file, over a socket and a server socket. In other words, I am trying to send a file created using a GZIPstream from a server to a client. After doing a research I found that I need to use my own protoc