Consolidate Library Error

Hi,
I'm looking to migrate my iTunes library to another hard disk on my laptop.  I have followed steps on Apple's website where I reset the library location to the new drive and am now using the consolidate library function.
I'll highlight 20GB of files and select consolidate library however it trucks along for a while until it seemingly finds a file it doesn't like and iTunes hangs for 20 minutes then gives me an error message "Copying files failed. The disk could not be read from or written to.".  While it's hung the copying progress bar shows the file it was supposed to be copying so I can identify the problematic song and skip that artist however I then find it hits same issue with another file along the way.
I've got about 170GB of media so it's not really practical to go through this process of bypassing files it doesn't like so I wondered if anyone has any idea why these files are causing problems for iTunes?
I have run chkdsk on both the source and destination drives and no errors came back and I don't think it's an issue with the drives as I copied a load of other stuff to the new drive without issue.  The source drive is my Windows drive and I don't see any errors there.
So, I have my original library files on C: and some copied files on D:, which is now set as the library location.  Can I potentially have my 'old' library as is on C: and have any new files running from D: concurrently so I've got it in two locations simulataneously?  This way I can 'consolidate' what iTunes will let me copy to D: and leave anything else on C: and have any new files imported into D:, would this work?
Any help would be much appreciated.

I assume you ran chkdsk with the "Scan for and attempt recovery of bad sectors" option? One failure would be annoying to transfer would be annoying. Repeated failures suggest there may be an underlying problem with one of the disks. I'd be keen to get another drive and start backing up to it.
iTunes will work OK with the files in the split locations, but you have to manually check what can be safely deleted from drive C. Normally I'd recommend that you move the entire iTunes folder as a unit and then hold down shift as you launch iTunes to choose the library in the new location. Given that you are part way through consolidating this isn't so simple now, but see my post make a split library portable for more information.
tt2

Similar Messages

  • Consolidate library error message

    When I try to consolidate my library, I get an error message...file is invalid or to long. Cand someone please help me with this?
    I have seen several posts from people with the same problem but no answers as yet.
    Thanks
    Robin

    Here is what another person did, they went through and shortened the really long song names.
    http://discussions.apple.com/thread.jspa?messageID=798472&#798472
    Good luck! iTunes is really bad about not saying which file is causing the problem. It just stops the entire process instead of skipping over the problem file.
    Another thing to try is to put your music folder somewhere else with a shorter name.
    The default folder location for the music files is here
    C:\Documents and Settings\{username}\My Documents\My Music\iTunes\iTunes Music
    That is a pretty long path.
    You could make a new folder on the root C: drive just name it C:Songs. Go into iTunes > Edit > Preferences, then click the Advanced tab at the top of the window and click General. Click the Change button and browse to the new C:Songs folder
    ....and hope the shorter name lets the consolidate work.

  • Cant Consolidate Library error message

    This is the message I get when I try to consolidate my music. Copying music failed. The file name was invalid or to long. The way I tryed to consolidate my library was going threw the advanced option. I have more then enough space on my hard drive. It only consolidated a couple of artist before I got the error message.
    Any one know what I can do?
    Thanks for the help
    Joe

    What I noticed was, the consolidate function starts copying oldest files first.
    I had to monitor the new consolidated folder using Win Explorer and display the "Date Created" column.
    For me, it stopped after a Carole King album every time.
    Then I had to go back and look at the folder itunes was trying to copy files from, again sorted in Win Explorer by "Date Created" and see what was added to my PC after Carole King. That is how I found the opera album in the compilations folder.
    Here is the thread I had started on this problem.
    http://discussions.apple.com/thread.jspa?threadID=1481955&tstart=0

  • I Get an Error When Trying to Consolidate Library

    I am trying to consolidate my music library with Itunes, but when I choose "Consolidate Library" I get the message "Copying music failed. The file name was invalid or too long" Does anyone know how to fix this? I'm really getting fed up with Itunes and can't seem to get any support. Please help.

    Hi, globe9.
    This can be a tricky problem to figure out since iTunes doesn't specify what file name - nor is there any documentation saying what determines when a file name - is "invalid or too long".
    We had one user report that he was able to use his/her keen eyesight to note the last file that appeared before the error message appeared and it turned out that file was the cause of his/her trouble.
    If your eyesight isn't that keen, I'd suggest concentrating on the file name being too long possibility.
    The entire directory path leading to the file is considered part of the file name so, as an example, iTunes' default settings might place a particular file at C:\Documents and Settings\user name\My Documents\My Music\iTunes\iTunes Music\artist folder\album folder\whatever.m4a.
    Is the directory path leading to your consolidated location much longer than that?
    polydorus has suggested a way to look over your file names: Assuming your music is currently in the default location, make your way there with Windows Explorer and select List in the View menu menu and see if anything stands out as being unusual.

  • Error Occurs When Trying to Consolidate Library

    I'm trying to consolidate my library because I'm copying it over on another computer. However, when I attempt to consolidate, an error sign comes up which says: "Copying Music failed. The file name was invalid or too long".
    Any advice on how to resolve the problem?

    Does this help?
    http://discussions.apple.com/thread.jspa?messageID=1248479&#1248479

  • Consolidate Library, Not enough Space, itl files, genuius, external drive,

    In the interest of putting something back, thought I would post this
    Objective
    To have a single iTunes Library, on a Server PC, (Windows Home Server) so that if a change is made while on PC (a) or PC (b) we see the change.
    Setup
    PC (a) living room
    PC (b) kitchen
    Windows home server, on 24 x 7
    In doing this I made a number of errors, and hope you learn from this, and also found a couple of 'features' that made life harder.
    Standard approach
    1) in iTune preferences, alter the position where you want to store your data, so this could be
    //Server/Music/iTunes/Alison/Library
    You need the subdirectory as the Library is where your itunes will reside, and your internal itunes file one directory up.
    This process will change pointers in te internal itunes files, but still references the music in the various locations it is stored.
    2) Now go to the File Menu/ Library / Consolidate Library
    This will move all your music to teh location you specified above.
    At this point I ran into my first problem, despite having adequate space on the Windows Home Server (WHS) I would get the error 'not enough space to copy files'
    I believe the reason I was getting this error message was that some of the files paths were over 256 chat in length. There is also a limitation in WHS on this, but I believe the issue in this case was with iTunes, not WHS.
    To get around this issue, I changed the location of where I was going to consolidate all the files to, to an internal disk on the PC where my itunes library was. so Instead of;
    //Server/Music/iTunes/Alison/Library
    I used m:/iTunes/Alison/Library
    This worked, so I had all my data (now duplicated effectively, but consolidated) on the same PC.
    The reason people say use consolidate is that it makes the move easy and changes all the internal files, but as I couldn't consolidate to the location I required due to the error, I now have to move all the rest of the data manually.
    3) Copy the Library file on the local PC drive to the WHS Library Directory;
    Copy m:/iTunes/Alison/Library => //Server/Music/iTunes/Alison/Library
    4) I then edited the internal itunes files, so that it pointed to the WHS server location. I edited the itunes internal file;
    Settings\Alison\My Documents\My Music\iTunes\iTunes Music Library.xml
    I did this in notepad, with a find and replace command,
    Find 'm:/'
    Replace '/Server/Music/
    The above bit does require some thought and if you have made it this far, have a look at the xml file structure, and you will be able to figure out how to alter the path.
    This has the effect of pointing the iTunes file at where the music is now stored, you can confirm this by starting iTunes and getting it to show the track it is playing in Explorer. If it is pointing at your new location you are good to go.
    Remember I only had to do this, as I was unable to consolidate to the location I really wanted to go to, due to the space error.
    Also note that I had 2gb memory on the machine I did the find and replace on, as Notepad is not memory friendly.
    5) Apple has some other internal files that need to be corrected as well;
    iTunes Library.itl
    iTunes Library Genius.itdb (if running genius)
    iTunes Library Extras.itdb (believe is genius related)
    sentinel (no idea, but saw this file !)
    To get these all corrected to the new WHS (or external drive) I created a iTunes Library.itl file with zero bytes in the directory Settings\Alison\My Documents\My Music\iTunes\, did this in notepad. I then started iTunes, and it created all of the above files with the new file locations. You can't edit the above files, apple encrypts them
    6) you now move all of the corrected internal files to the WHS home server location;
    //Server/Music/iTunes/Alison
    iTunes Library.itl
    iTunes Music Library.xml
    iTunes Library Genius.itdb
    iTunes Library Extras.itdb
    sentinel
    7) Now you repoint the itunes to the new location for the internal files, specifically the correct itunes library, there are a number of references on the net to do this that you press the shift key(PC) or the option key (Mac)
    I am running a PC, and pressing the shift key while clicking on the itunes icon on the desktop does not work. You have to hold the shift key while starting itunes from the Start Menu, Programs, Itunes. This will then give you an option of which library to look at, and look at the library on the WHS drive (or external drive)
    Thats it
    Hope this helps someone who has to battle with iTunes like I did. Due to the variosu errors, size of the library (200gb) and other issues, whole process took 2 days, if doing this again would have taken a couple of hours.
    DGW

    Hiya, that's sweet to post what you went through!
    I have a question, though - are you able to have both PCs running itunes at the same time?
    When I try this, I get an error message that the ITL file is locked on the 2nd instance I try to open. I'm using an exHD, not a server.
    Also - all that editng of the XML file doesn't save ratings, date added, and some other metadata. If you'd just moved the ITL file, that metadata would be intact.

  • Consolidation Library Error

    Hi wonder if anyone can help. I have a new external Hard Drive, and wish to consolidate my libraries.
    My old stuff is on D/my docs/my music/itunes.
    I have changed the directory so that my itunes folder is now G/itunes (the new HD)
    I have followed the guide on the apple site, i.e. the consolidate library process.
    However I get a vague error message each time I try: Copying Music Failed: The Required File Could Not Be Found.
    Can anyone help? Thanks....

    Hi, Liam.
    This can be a tricky problem to figure out since iTunes doesn't specify what file name is "invalid or too long" and there's no documentation on what determines if a file name is "invalid or too long".
    We had one user report that he was able to use his/her keen eyesight to note the last file that appeared before the error message appeared and it turned out that file was the cause of his/her trouble.
    If your eyesight isn't that keen, I'd suggest concentrating on the file name being too long possibility.
    The entire directory path leading to the file is considered part of the file name so, as an example, iTunes' default settings might place a particular file at C:\Documents and Settings\ user name \My Documents\My Music\iTunes\iTunes Music\artist folder\album folder\whatever.m4a.
    Is the directory path leading to your consolidated location much longer than that?
    polydorus has suggested a way to look over your file names: Assuming your music is currently in the default location, make your way there with Windows Explorer and select List in the View menu menu and see if anything stands out as being unusual.

  • External drive ejected during "consolidate library" attempt

    I have a recent mac mini running mountain lion with a 1 tb g drive connected via firewire 800 and a 2 tb seagate connected via usb.  The original itunes files are on the gdrive.  I want to consolidate and back up the music files to the Seagate but in the middle of the consolidation, the g drive spontaneously ejects and I get an error message saying i have ejected it improperly.  I had settings on so computer would not go to sleep so its not that.  I have run disk utility on both external drives, no errors.  I had this happen twice while trying to consolidate library and twice while trying a simple drag and drop of the itunes folder.  What's the deal?  Can anyone help?  Has anyone had this problem?
    rabbit

    I have something similar on a brand new iMac 27" i7 top of the line model.  I bought a USB 3 enclosure from OCW for a 120 gig SSD. I was using it as the cache drive for Photoshop CS6.  It began to display the same issues you are describing. I brushed it off and blamed the cheap enclosure I purchased.  This all occurred 1 week ago on 1-22-2013.
    On Saturday 1-26-2013 I was backing up a sweet sixteen shoot via time machine connected to the USB3 port and the drive ejected mid way of a 70 gig back up. I found that strange because I've never had a problem with that drive or the enclosure it's in. (By the way this is a USB2 enclosure)  I tried it 3 more times and the same issue occurred.  I figured it was the cable and switched it with another USB cable and this time it worked.
    Not thinking much about I assumed the problem was the cable.  The next morning I realized I still had one 8 gig compact flash card in my camera and I needed to back that one up.  This time I used my USB 3 RAW STEEL UDMA card reader to ingest the work. There were only 20 images on the card. During import the compact flash drive froze on the third image. I had to force quit and redo the import again.  It took 3 times before I had no issues importing the images.  I could not figure out what the **** was going on until it hit me. 
    During my trouble shooting I realized the 3 drives were, when they ejected themsleves, connected to the same port in the back of my iMac.  The second one closest to the SD card reader port in the back.  That was the free port I kept switching to use these different peripherals.
    I need to do a little more testing but I'm almost certain something is wrong the the USB3 ports in the back of the new computers. Never had these issues with my late 2009 iMac. 
    The last thing I want to is haul this machine into Apple after it took me 4 days to get it set up the way I use it for my Photography business.
    Disappointed big time!

  • Cannot consolidate library

    When I try to consolidate my library on I get the following error message:
    ¨ Copying music failed. An unknown error occurred (-50). ¨

    You don't use "Consolidate Library" to get songs in the library. When you use "Consolidate Library" what that does is COPIES all the files listed in iTUnes to the "iTUnes Music" folder.
    To add songs to iTUnes you need to hit file>add folder (or file) to Library OR drag and drop the file/folder to iTUnes

  • Consolidating iTunes library error

    My PC seems to be infected with a virus that I just can't seem to get rid of, so I'm pretty much forced to reformat the hard drive. I need to back up my music and when I did this on my old PC, all I needed to do was use the Consolidate Library function.
    The error I'm getting is: Copying Music failed. The file name was invalid or too long.
    The problem is is that I do backup my music library all the time and have only recently been getting this error. My question is, is there any way to bypass this so it just back up the music anyway, or is there a way to figure out what song is causing the error, as I really don't know which one it could be?
    Dell E510   Windows XP  

    Davide try Disk Warrior. The following links refer to very similar problems and Disk Warrior was the common thread.
    A) http://forums.macosxhints.com/showthread.php?s=&threadid=39498
    B) http://www.alsoft.com/DiskWarrior/comments9.html
    C) http://forums.macosxhints.com/showthread.php?t=6989
    Dick

  • Please help! Shared Library Error... no applications will open!

    Hi. Major issues!!
    My computer was unplugged for 2 weeks (renovations). When I set it up in my new office, none of my applications would open! (Microsoft, Adobe, AOL, etc...) Safari is working.
    I get this error message:
    The application "Photoshop" could not be launched because of a shared library error: "5<application><CarbonLib><CFMPriv_SpeechRecognition>"
    The application "Word" could not be launched because of a shared library error:
    "8<Microsoft Word><CarbonLib><CFMPriv_SpeechRecognition>"
    The application "AOL" could not be launched because of a shared library error:
    "9<AOL (Bootstrap)><CarbonLib><CFMPriv_SpeechRecognition>"
    The application "AppleWorks" could not be launched because of a shared library error: "4<AppleWorks><CarbonLib><CFMPriv_SpeechRecognition>"
    Here's what I've tried...
    I have tried to install combo update 10.3.9. .. didn't work.
    My computer was purchased in 2004... just moved to a new house... do not know where my installation dvd is... so to reboot on that is not an option.
    I tried disk repair permissions... didn't work!
    I opened my log console to view the crash logs... and it appears a lot has crashed... but I can not understand what any of it means!?!
    Can anyone help or offer some advice?
    Can anyone understand a crash log if I post it?
    Please help!?! Taking an online masters course and this is a major dilemma!
    Thanks,
    Lindsay

    Hi Lindsay,
    "Can I get one from a mac store? Does it have to be the original one I used when I purchased my mac?"
    No, you can no longer purchase 10.3 Panther disks from Apple Stores, online or otherwise. You may however, be able to purchase replacement disks for your computer (if Mac OS 10.3 were the original install disks that came with your mac) by calling Apple and explaining and having the serial number ready of the computer.
    If your installation of 10.3 was an upgrade you can purchase retail copies of 10.3 disks online from many resellers, such as on ebay or sites such as FastMac, but be sure to purchase a retail box set and not upgrade or machine specific disks.
    Did you perform all of the steps that Kappy steered you to in Dr. Smoke's FAQ first and your only option left is the Archive and Install?
    littleshoulders

  • HFM Application Library error Null while deploying the validated app

    Hello,
    I am trying to deploy a HFM application on EPM 11.1.3 and when I right click on the application in Application library of EPMA, I am getting a pop-up with the following error:
    Application Library Error
    null
    Please note:
    1. This is a EPMA managed HFM application.
    2. The validation of the application is successful.
    3. Deployement errors with the above error.
    4. It is on Windows 2003 server with MSServer as the RDBMS.
    Please help me resolve this issue.
    thanks,
    Ankit

    Hi Ankit,
    This would be normally resolved by Restarting the EPM Services and also remember to restart the Calculation manager services as well.
    Once the services are restarted try deploying the application again to see if it deploys successfully.
    Hope this helps,
    Thank you,
    Charles Babu J

  • ITunes crashes when doing a power search. I get a Microsoft Visual C   Runtime Library Error message: Program C:\Program Files (x86)\iTunes\iTunes.exe R6025.  Pure virtual functional call.  If I select ok, Windows 7 pops up with iTunes has stopped working

    iTunes crashes when doing a power search. I get a Microsoft Visual C   Runtime Library Error message: Program C:\Program Files (x86)\iTunes\iTunes.exe R6025.  Pure virtual functional call.  If I select ok, Windows 7 pops up with iTunes has stopped working and then it shuts iTunes down.  Anyone else every have this issue.  Any ideas on a fix?
    Thanks,

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

  • B575: Microsoft Visual C++ Runtime Library Error on Startup? Please Help!

    This came out of the blue, I just started up my laptop and out of no where my Windows 7 Ultimate transperancy graphics are gone and I can't connect to the internet! I get this message on startup saying 'Microsoft Visual C++ Runtime Library Error', for controlhandler.cpp and I have no clue what it is! I tried a clean boot and safemode boot, and it is the same thing! Please help
    Solved!
    Go to Solution.

    hi ironmax,
    As a last resort, you can:
    1. Press the One Key Recovery button to restore the unit from factory settings or
    2. Create a recovery disc and use this disc to restore the system from factory
    Note:
    Backup important before doing a factory reset
    Regards,
    neokenchi
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Microsoft Visual C++ Runtime Library Error in T430S during HP printer install

    I just bought a T430S Windows 8 and I'm having problems installing the software and drivers for my HP Photosmart D-110-a printer. I've owned the printer for a year and it was no problem installing the software that it came with on my previous Dell Windows 7. Every time I try to install from the CD-Rom or download the software from HP, I get a Microsoft Visual C++ Runtime Library Error message. Please someone help!
    By the way, I am able to print to the machine because I think HP printer driver was preloaded on the Start screen from Lenovo. Is it possible the reason why I can't install the software that the my HP printer came with, is because HP driver was preloaded? The issue of not being able to install the full software, is that I can't monitor ink levels or scan items from the computer.

    It looks to me like HP never made a windows8 driver for that printer. You might read this:
    http://h30434.www3.hp.com/t5/Printer-All-in-One-Software-Drivers-e-g-Windows-8/windows-8-driver-hp-p...

Maybe you are looking for

  • Trubble with aperture after the latest update

    i cant open aperture after the latest update

  • How do I blutooth from my SIII to my nano 7th gen for music

    I have just gotton the new ipod nano as my old one died. I've tried to use the bluetooth between my SIII and nano but neither will connect is there a way around this as I don't really want to pay for songs I already have.

  • Possible to use my PC's speakers on my MacBook directly?

    Is it possible to send audio signal from my Mac, into my PC, and out of my PC's speakers? I use 5.1 on my PC and my Mac only has ins for stereo and it's a hustle to reconnect my speakers to my Mac. (Inb4: No I do not want any 5.1 to MacBook cables/co

  • Calling external scrips from Java?

    Hi, I am writing a Java application to call an external script, to start with a unix shell script. I need the application to not only call this script but also for the script to return some sort of value or variable to the Java application. Is it pos

  • Nokia 6300 - location of contacts.vcf

    Does such a file exist on the Nokia? I have downloaded this file from my old SonyEriccson onto my Mac via bluetooth. it contains all my contact details. Logically I thought that I could find the location of the same file on the Nokia and overwrite it