The standard endpoint '{0}' could not be loaded from the endpoint element with kind '{1}' because the endpoint configuration ...

The standard endpoint '{0}' could not be loaded from the endpoint element with kind '{1}' because the endpoint configuration results in a standard endpoint of type '{2}'. The endpoint element must be of a kind that results in a standard endpoint of type '{0}' or a type that derives from it.