A situation like that would normally be caused by a driver situation. Did you try uninstalling the device and then let Windows find it again?
Do you have any other USB devices, or any software that might be related to the camera?
There is a physical connection somewhere on the system. Not likely it has actually come loose, but could be a possibility, or there may be something wrong with the actual device.