What is the solution to WP/BP activation error

I am using Wordpress with BuddyPress and the user activation is not working. The user receive an activation mail with a link that appear to be functioning. However, they are asked for the activation key again afterwards. The key from the activation link does not make any difference. Does anyone know the cause and possible solution to this error?