Have you tried putting your device into bootloader mode and then unlocking/flashing instead of activesync?
press Power button, camera button and reset button using stylus.
then plug it in and it should change from serial to USB at the bottom of the screen.
also, post #6 on the link I gave you has instructions on what to do if regular unlocking with 2.31 doesn't work for you.
link to post 6