an iphone has been detected but could not be identified properly
I just installed ios5 on my iPhone 3GS and synced my phone with iTunes. I also enabled wifi sync. Now, whenever I open iTunes, I get the error dialog "An iPhone has been detected but could not be identified properly. Please disconnect and reconnect the iPhone, then try again." Closing the dialog just causes it to reappear, so I can't use iTunes at all. My phone is not connected to the computer so I obviously can't disconnect it. Please help?
iPhone 3GS, Windows 7