Normally if you change the usb port you are using on the computer fixes this situation.
Make sure the droid razr is set for USB mass storage prior to hooking to your computer.
Make sure your computers usb drivers are functional. (may need updated drivers)
Lastly hook the phone to another computer you can use and see if there is any problem. If not then my thought is bad usb port or missing drivers.
Good Luck