Hi @ajawamnet1. This error can be caused by using an "AVRISP mkII" driver that is not compatible with the "AVRDUDE" tool used by Arduino IDE for this operation.
My recommendation is to switch to using the "libusbK" driver.
You can do that easily with the "Zadig" driver installation tool:
- Connect the "AVRISP mkII" programmer to your computer with a USB cable.
- Download Zadig: http://zadig.akeo.ie/
- Run the downloaded file.
- Select "AVRISP mkII" from the dropdown menu in the "Zadig" window.
If it doesn't show up on the menu, then select Options > List all devices from the menus in Zadig and check again. - Click the ▴ button to the right of the "Driver" selection field until you see "libusbK".
- Click the "Replace Driver" button.
An "Installing Driver..." dialog will now open. - Wait for the driver installation process to finish.
- Click the "Close" button in the "Driver Installation" dialog.
The dialog will close. - Close the "Zadig" window.