After purchasing a new iPhone, I setup all my personal stuff on my new 3GS and everything seemed to go ok. After a month or so I realized that iPhoto and Picasa both had problems reading the photos database on my iPhone. This happened on both my Mac and my PC. There were lots of suggestions online as to how to fix this but none of them worked for me.
The Mac has a tool called Image Capture that is usually more reliable than iPhoto. It was able to see 2 png files on my iPhone that didn’t really exist. I couldn’t delete them but yet they were supposedly there. I know they didn’t exist because I literally scoured the entire OS looking for photo configuration files. I also ran a unix find to search for files by name and a grep to look for file contents. Nothing was found.
I finally found the file causing the problem. It was hiddden in the iTunes_Control folder. I deleted it and then reconnected via Picasa, at which point iOS recreated the file. Everything was back to normal. The file was /var/mobile/Media/iTunes_Control/iTunes/iPhotoAlbumPrefs.
Was this helpful for you too? If so, leave a comment!