What does Windows error code 1700 (RPC_S_INVALID_STRING_BINDING) mean?

 
Previous Next
ERROR_CROSS_PARTITION_VIOLATION RPC_S_WRONG_KIND_OF_BINDING

RPC_S_INVALID_STRING_BINDING

RPC_S_INVALID_STRING_BINDING means that RPC could not parse a string binding into its required parts. A string binding describes how to reach an RPC server; it is not a general URL.

What the binding contains

Its canonical form is ObjectUUID@ProtocolSequence:NetworkAddress[Endpoint,Option]. Depending on the protocol sequence, some parts are optional, but delimiters and the value placed in each part must still follow the RPC syntax.

What to check

  • Log the complete binding string before it is passed to RpcBindingFromStringBinding, after removing any secrets.
  • Build bindings with RpcStringBindingCompose instead of concatenating pieces by hand.
  • Verify that a hostname, endpoint and protocol sequence have not been swapped or copied from a different transport.

Microsoft: String Binding · RpcStringBindingCompose


Looking for a different code? Search another status or error code.