Error getting binding extensions from machine.config
Details
Field | Error Details |
---|---|
Product Name | BizTalk Server |
Product Version | 3.6 |
Event ID | 0 |
Event Source | 0 |
Component | 0 |
Symbolic Name | 0 |
Message Text | Error getting binding extensions from machine.config |
Explanation
This error occurs when a receive location or send port binding configuration has a user defined binding extension, but it is not defined in machine.config file. This situation occurs primarily with the WCF-Custom and WCF-CustomIsolated adapters.
User Action
Define the binding extension used in the receive location or send port in machine.config file. Also, to get a custom behavior or binding element to work with WCF-Custom adapter, complete these steps:
GAC the assembly
Modify your machine.config file (found in %FrameworkDir%\v4.0.30319\CONFIG).
Load your behavior DLL inside the Service Configuration Editor (svcConfigEditor.exe).
Save the configuration to an app.config file
Copy and paste the system.servicemodel extensions section in a similar section in machine.config. If system.servicemodel section is not present in machine.config, your must create one. The following is an example from the configuration section of a machine.config file:
<system.serviceModel> <extensions> <behaviorExtensions> <add name="BizTalkWcfContractNamespaceTestServiceBehaviorExtension" type="ASB.BizTalk.Samples.BizTalkWcfContractNamespaceTestServiceBehaviorExtension, CustomBizTalkWcfBehaviors, Version=1.0.0.0, Culture=neutral, PublicKeyToken=7631521c07cf34b4" /> </behaviorExtensions> </extensions> </system.serviceModel>
Note
The above code can also be added to the WCF Extensions tab. If the extension needs to be on the receive side, see the <Host Name> Properties Dialog Box, WCF Extensions tab (WCF-Custom or WCF-CustomIsolated Adapter Receive Handler) in the UI guidance and developers API namespace reference. If the extension needs to be on the send side, see <Host Name> Properties Dialog Box, WCF Extensions tab (WCF-Custom Adapter Send Handler) in the UI guidance and developers API namespace reference.
- Close and reopen your admin console. You should be able to see your custom behavior in the WCF-Custom adapter, and the port should stay enabled when you enable it.