none
SAP acceptCredentialsInUri Error RRS feed

  • Question

  • Hello,

    I am configuring a WCF-SAP adapter in BizTalk Server 2009. However, when I enter the URI along with credentials I get the following error. I have added AcceptCredentialsInUri in the machine.config file for both 32 bit and 64 bit .NET frameworks but still getting the same error. Any help would be appreciated.

    Credentials (user name and/or password) are allowed in the URI only if the binding property AcceptCredentialsInUri is set to true. Set the binding property to true. Alternatively, specify the credentials through the ClientCredentials class. (Microsoft.Adapters.SAP)

    Following is the machine.config excerpt.

    <client>
          <endpoint binding="sapBinding" bindingConfiguration="SAPBinding" contract="IMetadataExchange" name="sap" />
    </client>
    <bindings>
          <sapBinding>
            <binding name="SAPBinding" acceptCredentialsInUri="true" />
          </sapBinding>
    </bindings>

    Thanks,

    Tarun

    Monday, June 9, 2014 8:02 AM