A standalone USB connection should not go further than 16.5 feet (5 meters).
If you need it to be longer, try inserting a powered USB hub in the chain between the device and the computer. This would effectively double the length.
If it is for a printer, you can also get a wireless print server which would allow you to go a maximum of 300 feet.