This fix will work for Iphone, Ipad, Ipod…..
What has happened is an iTunes control or preferences file has somehow gotten corrupted on your device.
Why Apple hasn’t built the option to do this into iTunes is beyond me??
In effect you may lose your music library on the device BUT all contacts / notes / apps / etc will be untouched and fine.
Apparently Apple thinks wiping the whole thing is a better option?
First try to delete one song from your playlist, and turn off/on your device. This will hopefully overwrite the corrupt database file. Try connecting to itunes again and see if that does it.
If the above doesn’t work:
if you’re jail broken
- ssh your I-something (Iphone, Ipad, Ipod)
- go to /var/mobile/Media/iTunes_Control/iTunes
- rename these 3 files: iTunesCDB, iTunesControl, iTunesPrefs
- Open iTunes again and reconnect your device. Voila!
- Download/Install “i-FunBox” which gives you control of the iPhone’s file system from your computer.
- Open i-FunBox and search for iTunesDB or iTunesCDB. They should show up in a folder, ie; /var/mobile/Media/iTunes_Control/iTunes
- Rename “iTunesCDB” “iTunesControl” and “iTunesPrefs” on my iphone 4 before mine sync’d to itunes again. Its always a better idea just to rename these files incase you need to go back or restore them. If for any reason you cannot rename them, then delete them as a last resort.
DO NOT delete or rename anything other than these 3 files!!!
Keep in mind you WILL LOSE YOUR MUSIC LIBRARY. Everything else will be OK though. (contacts/notes/apps/etc)
Open itunes again and reconnect your device. Voila!