Empty iTunes library and locked iTunes Library.itl file

Hi everyone,
A few days ago, when I plugged my iPod nano into my PC, it wouldn't sync and my computer automatically ejected the iPod. I didn't think much of it at first, because that had happened before, without any future problems. And, besides that, I could still listen to all of my music through iTunes.
The next day, however, I opened iTunes and my whole library was empty. I tried going over the basics (opening iTunes with shift key held down, trying a few different .itl files; reinstalling iTunes)
I then looked for answers online, but no luck so far. One approach that helped many people (unticking the read-only box for the iTunes folder) did give me some more answers, but did not solve the problem. I found out that the iTunes folder had the read-only box ticked, so I tried unticking it. It went fine for a few seconds, but in the process of making every file and folder non-read-only, I got a message saying iTunes Library.itl was a locked file and that I could not access it.
When I examined the .itl file more closely, I found out that the read-only box was not ticked for that particular file, even though I could not move/delete/cut/copy+past it. The archiving option, however, was ticked (I was told that option should not be on). I cannot untick it, for the file is locked.
When I double-click the file iTunes launches normally, but my library is still empty.
Other things I've tried to retrieve my library:
- I downloaded 'unlocker', but that did not solve anything.
- I uninstalled my last.fm scrobbler.
- I tried making a new library, then imported the .xml file from my old library, but the library stayed empty.
- I used AVG to scan my computer for malware.
I hope someone can help me fix this, because having to import all of my music all over again is going to be quite a drag!
Thanks in advance.

Empty/corrupt library after upgrade/crash
Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
If you're still having problems accessing files right-click on your main iTunes folder and click Properties, then go to the Security tab and click Advanced. If necessary grant your account and SYSTEM full control of this folder, subfolders and files, then tick the option to replace permissions on child objects which will repair permissions throughout the library. This is the XP dialog but Windows Vista/7 shouldn't be too different.
If it won't let you change the permissions use the Owner tab to take ownneship from an account with administror privileges.
When you get it all working make a backup!
tt2

Similar Messages

  • I did an auto-update on itunes today and now itunes is unresponsive..it gives this error "An application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team for more information."

    I did an auto-update on itunes today and now itunes is unresponsive..it gives this error "An application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team for more information."
    Wouldn't apple check before releasing new version, I see so many people with same issue..its such a waste of time for everyone now to fix it.
    Is there any other way to fix before I try to un-install everything and re-install back?

    Hello iTunes_Bad_Update,
    The following article provides information and troubleshooting steps that can help get iTunes back up and running.
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
    http://support.apple.com/kb/TS1717
    Cheers,
    Allen

  • I am using itunes 10 and trying to consolidate my files.  I keep getting the error "Copying files failed.  The file name was invalid or too long".  How can I indentify what file is causing this problem or resolve this issue?

    I am using itunes 10 and trying to consolidate my files.  I keep getting the error "Copying files failed.  The file name was invalid or too long".  How can I indentify what file is causing this problem or resolve this issue?

    BUMP
    Yes, I just get that message. I don't see how I could investigate this problem.
    I didn't mention that this happened when I was consolidating my library, not copying files to another computer.
    In other words, I'm using a "normal" itunes procedure, itunes won't complete it, and won't tell me exactly why or how to figure out how to fix it...
    Is there at least some easy way to tell which files were successfully copied to my itunes music folder so I can work on moving the uncopied files?
    Can anybody help me?

  • Hey. I've got a 3rd gen nano that I've just bought, used. When I plug it into mt PC, (win7) and open I tunes, I can't sync my library and under 'devices' in the 'file' colume it acknowledges this ipod but only to transfer purchaces. sync not available

    I've got a 3rd gen ipod nano that i've just bought 'used'. When i plug it in to my PC, (win7) I can't sync my i tunes library and under 'devices' in the 'file' column it acknowledges this ipod, but sync and backup are not available. Only have  'transfer purchaces from....' which does nothing for me. any help would be greatly appreciated

    Sorted it out. If anyone has this problem i reccommend visiting http://forums.ilounge.com/ipod-classic-ipod-5g-video/237546-ipod-classic-80gb-fr eezes-itunes-need-restore-plz-help-2.html#post1403546 there's some pretty good advice on it. have to go into control panel and re-format iPod into NTFS file. good luck.

  • IPhoto crashed during file transfer. Cannot recover photos by rebuilding the library and there is library size discrepancies.

    Hi,
    I am using an iPhone 4S and running iPhoto '09 version 8.1.2 (204) on OS X (version 10.9.2).
    I was transferring photos from my iPhone to iPhotos with the option of deleting the originals on the phone after transfer. IPhoto crashed at some point and I had to "Force quit" the application.
    Now, 3/4 th of all my pics is deleted on my iPhone and they are not in iPhoto either! I tried repairing and rebuilding the library as suggested elsewhere on this forum but nothing has worked.
    The library size is currently 11.6 GB but the rebuilt library is 5.6 GB.  I think the library was around 5 GB as well before transfer. I also tried using the "iPhoto library  manager" to rebuild the library. There is no difference between the pictures in the rebuilt library and the default library, but again the new, rebuilt one is 11.6 GB and the library it uses for rebuilding 5.6 GB! So, I think the pictures are there somewhere but I am not recovering it.
    Any suggestions as to how to recover deleted photos from my iPhone or to restore the iPhoto library would be muc appreciated.
    Many thanks,
    P.S. I do not have a recent iTunes or iCloud backup.

    If you sync photos between the Mac and other devices via iTunes there will be an cache folder created that will grow over time.  That's what the new library doesn't include and, in part, is the reason for the size discrepance.
    iPhoto 8.1.2 is only marginally compatilbe with Mavericks and, as Linc suggested, should be upgraded to iPhoto 9.5.1 to be completely compatible. 
    OT

  • I downloaded iOS 8.2 and now my phone won't connect to the iTunes store, and my iTunes Match is turned off and won't turn back on...

    I downloaded iOS 8.2 on my iPhone 5s 32 GB and now my phone won't connect to the iTunes store, and my iTunes Match is turned off and won't turn back on... I'm trying to log in from Settings > iTunes & App Store... not working...  I have reset the phone twice, tried via cell service, and rebooted my wireless router..

    As per the Apple iCloud status page, they are having issues. Do not make changes at your end.
    https://www.apple.com/support/systemstatus/
    Edit

  • My Iphone is stuck at the "connect to Itunes" screen and in Itunes itself it only shows a blank screen.

    While fully restoring my Iphone it is stuck at the "connect to Itunes" screen and in Itunes itself it only shows a blank screen.
    I already tried different computers and tried a DFU firmware restore. My iphone is not jailbroken or some.
    It does just have a new screen due the fact it was broken.
    Sometimes Itunes says my iphone is damaged, sometimes it only shows a blank screen.
    But whatever I do, I cant go around the "connect to Itunes" screen.
    Anyone any suggestions? please help.

    Did you find a solution?
    My touch is doing the same thing.

  • I had a problem with my itunes so i had went on itunes website and reinstall itunes for windows and after it complete it said that the feature yoy are trying to use is on a network resource that is unavailable i need help please!!!!!!!!!

    had a problem with my itunes so i had went on itunes website and reinstall itunes for windows and after it complete it said that the feature yoy are trying to use is on a network resource that is unavailable i need help please!!!!!!!!!

    first, head into your Add/Remove programs and uninstall your QuickTime. if it goes, good. if it doesn't, we'll just attend to it when we attend to itunes.
    next, download and install the revo uninstaller http://http://www.revouninstaller.com/revo_uninstaller_free_download.html. use it to clear any existing itunes and/or QuickTime installation configuration information from the PC.
           next download itunes. it worked for me hope this is helpful!!
        oonce you get into the revo uninstallergo thru to delete itunes hit uninstall on the itunes icon then you will go thru to it will tell u the same nmessage about the feature and network hit cancell then go thru and hit scan (make sure bthe advance scan button is pushed) this will take awhile but go thru the list and hit everything associated with itunes. hit delete then install itunes again. it worked for me hope it works for you!

  • I updated to a newer itunes version and now itunes will not let me play a bunch of my music.  ***? anyone know what the deal is with that?

    I  updated to a newer itunes version and now itunes will not let me play a bunch of my music.  ***? anyone know what the deal is with that?

    How could anyone possibly know as you've provided no details.
    What happens when trying to play the media in question?
    Any errors?
    Is there an ! to the left of the media?  If so, this means iTunes is unable to locate the media file.

  • I was listening to a station on iTunes radio and now my library is empty. Does anyone know how I can fix this?

    I was done listening so I closed iTunes and eventually I shut off my computer. But the next time I turned it on and opened iTunes my entire library was empty, and the playlists were set to the system default. I tried doing a system restore to my laptop but that didn't change anything. I'm really hoping there's a way to fix this without reloading my entire library song by song, or (and this is the absolute last resort) contacting Apple. Does anyone have any suggestions? I would greatly appreciate any help!

    Try the Firefox SafeMode to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    * You can open the Firefox 4.0+ SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    '''''If it is good in the Firefox SafeMode''''', your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes
    ''When you figure out what is causing that, please let us know. It might help other user's who have that problem.''
    Or, create a new Profile. <br />
    http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows

  • Help... itunes tells me to choose a library and then my library is empty!

    So, as was said in the subject, what my itunes did was when I opened it one time, it asked me to choose a library (Even though a while back when I had just closed my itunes, a full, developed library was already in there)
    And then, I accidently chose the other button, which stated "Create new library" and so now my itunes library only has ONE song in it! I can't get it to show the "choose library" thing again, and I found out that I can import all 1056 of my songs another way, but that's individually clicking on them to import them into my library, but that would take too long. I need some help, please! My ipod still has all of the songs on it, but I don't want to connect it to my cmputer because I'm afraid they'll all get erased.
    Oh, and by the way, my ipod was hooked up when this all happened, and before I disconnected my ipod, it said that there's a "corrupted" ipod. What do I do?
    Help please! Thank you in advance.
    Namita
    Windows   Windows XP   It's been acting gay lately
    Windows   Windows XP   It's been acting gay lately

    To access a second (or more) library, hold down the
    Shift key when launching iTunes 7. In the resulting
    dialogue you will get the option to create a new
    library or navigate to the other Library. The default
    location for your library files is \Documents and
    Settings\Username\My Documents\My Music\iTunes. The
    files will be called something along the lines of
    iTunes Library.itl
    It worked! Thank you so much... I thought I would have to go through and import all of my songs one by one again.
    Again, thank you! I really appreciate it!
    Windows   Windows XP   It's been acting gay lately

  • Why can't I move my iTunes library and run iTunes from an external hard drive?

    I've been having issues with space on my Macbook pro, so I wish to move my music in order to free up more space. I have been following the instructions on how to run iTunes from an external drive, but each time I attempt it only the 'Automatically Add to iTunes' folder copies to my drive - which has nothing in it.
    What is going on?

    Which exact set of instructions?  Just about all of them are wrong, even the ones that specifically say how to move your library.
    iTunes: How to move [or copy] your music [library] to a new computer [or another drive] - http://support.apple.com/kb/HT4527 - a somewhat bewildering and not always easily understandable set of options.
    Quick answer if you use iTunes' default preferences settings:  Copy the entire iTunes folder (and in doing so all its subfolders and files) intact to the other drive.  Open iTunes and immediately hold down the Option (alt) key (shift on Windows), then guide it to the iTunes Library.itl file in the moved iTunes folder.
    For the record there's this reference for iTunes 11 but it really doesn't strike me as having the specifics you need. iTunes 11 for Mac: Move your library to another computer - http://support.apple.com/kb/PH12168 

  • HT4527 My laptop hard drive crashed; can I create a new itunes account and get my library from my ipod?

    My laptop crashed and I did not have all of my itunes library backed up. Can I create a new itunes account on a new computer and move my library from my ipod to this new itunes?

    Follow the steps given here to get your iPod synced to your new computer without data loss...
    https://discussions.apple.com/docs/DOC-3141

  • I keep getting a message that itunes incorrectly tried to run the C runtime library and now itunes won't work anyone know how to fix it?

    My computer keeps telling me that itunes tried to incorrectly run the C runtime library and now I can't get into it, I've tried uninstalling and reinstalling it but nothing is working

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • HT204406 I authorized a second computer on my iTunes account, and downloaded my library from the Cloud to my new computer. However, many songs only partially downloaded, and now I'm having a hard time getting rid of them to do full downloads.

    I authorized a second computer on my iTunes account and tried to get my first computer's library on my second computer via the Cloud. Many of the songs only partially downloaded, and I am having a hard time getting rid of the library with the partial downloads (so I can get full songs). I am considering nuking the current iTunes on the second computer and re-installing, giving myself a clean slate to work with. Is this the right way to go?

    How to use your iPod to move your music to a new computer

Maybe you are looking for

  • Error when installing Adobe Illustrator CS6 (64bit)

    Hello everybody, I've been trying to install all packages inside Creative Suite 6 Design Standard CD but the installation fails, then decided to install one by one and noticed the error comes only when installing Illustrator CS6 (64bit). My PC is run

  • Files unable to be imported into iPhoto 5

    Using Migration Assistant I transferred all my files from an older Mac to a new Power Mac G5 running 10.4.2. I am unable to import or drag and drop any picture files into iPhoto. When I try, I get the message "The following files could not be importe

  • ITunes application cannot be opened.  Unknown error occured (-200)

    `every time i try to open iTunes 7, this pops up. It worked fine until i tried to do a system restore to try and fix my computer for other reasons, and now it doesn't work. I've tried to reinstall iTunes 6.5 but everytime i try to open that, a messag

  • My ibook app doesn't have english dictionary.

    I need to be able to translate words from English to Spanish, or know their meaning in English, while I'm reading a book with iBooks app. I have an Spanish version of this app, and appears the option "definir" when you select a word if it's in Spanis

  • KDE: Dolphin search not searching, and menu editor

    Well, I'm trying to look for some files, sometimes I use the `find` command but then again I don't know if there is a better way to search (as in having a gui). I was reading a while ago about document indexers, could anyone fill me in a bit, is this