The iphone could not be synced because this computer is no longer authorized

The same thing is happening through my Ipad. I downloaded ios7 and also then tried to sync my apps, photos, and music earlier onto the Ipad and iTunes prompts me to authorize the computer to sync. I authorize the computer and also I still cannot sync and iTunes prompts me again. It"s an limitless loop