Disclaimer: I am completely unfamiliar with the Note II. I know the Galaxy S II best.
Which version of Windows are you using?
You probably do not have a driver issue. In the Windows "Uninstall or Change a program" dialog (windows 7), you should see "Samsung USB Driver for Mobile Phones." If you have that, then you have the correct driver. Never the less, you might try uninstalling the driver on your pc, rebooting and then reinstalling the driver. You can get the driver from this thread, or you can download it directly from the Samsung website.
Also, you should not have Kies running when using Odin. You don't have to uninstall it, but it should not be running, and you should kill any Kies processes that are running, if any. Or, just reboot the PC and don't open Kies.
You are connecting with Odin. Odin recognizes the phone. So probably, the issue is one of: the connection between the phone and the PC or a firmware issue on the phone itself. The error message you posted suggests that you might need to flash the firmware with a pit file. However, if it were me, I would exhaust all the troubleshooting steps involving a connection problem first, before flashing with a pit file.
Connection problem: Use a USB port connected to the motherboard. Use different USB cables. Use different USB ports. Even use a different PC. Also, try the flash more than once. Some have reported that after multiple tries, they were able to get a successful flash.
Edit: Just ran across this while doing some reading. Your phone is the 317M I think, so you'll have to pm Zen Arcade for the correct PIT. This is just in case you need it.
By the way, helping folks get their phone working under difficult circumstances is what I like doing best. I'll keep an eye on this thread, but I usually only get on the forum once or twice a day.
Glad to have you working these threads...
Thank you. ..g
Sent from my SAMSUNG-SGH-I317 using XDA Premium 4 mobile app