The agent profile creation process cannot validate the specified agent parameter value: the profile_id %1!s! does not exist ...

The agent profile creation process cannot validate the specified agent parameter value: the profile_id %1!s! does not exist or it does not support the parameter %2!s!. The value must be an integer. Verify that replication is installed properly and that sp_add_agent_parameter is invoked with a valid value.