You just met the copyright protection system in action. Try deleting the "key" file in your dominions library and retype the key again on startup. Alternatively, contact Shrapnel tech support.
Oh, and if you haven't actually bought the game you should. It is more than worth the money.
