Hello,
You need to clear out your old keycodes file.
C:\Program Files\ESRI\License10.0\sysgen\keycodes
Just open it up in notepad, highlight all of the contents and delete it. Then save it.
If it doesn't allow you to save it, then right click on notepad, run notepad as "Administrator", the select file/open and navigate to the file. you should then be able to delete the contents and save the file.
You will then need to run the Software Authorization Wizard for ArcGIS for Server:
Start/All Programs/ArcGIS/ArcGIS 10.1 for Server/Software Authorization
Take care-