At the moment the GameSpy Loginserver is down. You probably receive the message "There was a database error, please try again." as shown below:
We dont know if this is the final GameSpy Shutdown or just a temporary error. Anyway, to play further with your existing accounts you just have to switch to the BF2Hub Network - see News below!