Does this happen with every server you try to connect to? If yes, then you may have the wrong version.
Are you sure you have the latest version, 3.0? (Not 3.0b5).
If not, get it here:
http://www.unknownworlds.com/ns/view?action=filesIf you're sure that you have 3.0, then uninstall it and reinstall anyway. Your install may have been corrupted for some reason.