Welcome to iPhone Forums!
Make sure computer, iTunes and iPhone are up to date. If possible, use a different cable when you connect the iPhone to the computer.
Restart both devices, iPhone and computer.
It might be necessary to update, disable or even uninstall security software on your computer.
Hope that helps.