Can't upload sketch to arduino Uno board
In Arduino IDE check that


correct port number is selected in Tools -> Port 
correct programmer is selected in Tools -> Programmer (should be AVRISP mkII if you upload the code via USB cable)
correct board is selected in Tools -> Board (Arduino/Genuino Uno)


If above doesn't help, install the latest version of Arduino IDE.