Music shows up on phone but its greyed out.

THis is what I did to fix it.
Rename the Folder itunes to itunes.bak start itunes.
It will detect your phone and transfer all purchases just add new music and sync.