Spaces in type attribute for Behavior Extension Configuration Issues

If you’ve deployed your WCF Behavior Extension, and you get a Configuration Error, it might just be you’re lacking a space between your “Type” name and the “Assembly” name.

You'll get the following error message:

Verify that the extension is registered in the extension collection at system.serviceModel/extensions/behaviorExtensions

So, if you’ve entered as below without

<system.serviceModel>
  <extensions>
    <behaviorExtensions>
      <add name="appFabricE2E"
           type="Fabrikam.Services.AppFabricE2EBehaviorElement,Fabrikam.Services, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"/>
    </behaviorExtensions>
  </extensions> 

The following will work – notice the additional space between the Type name and the Assembly name:

<system.serviceModel>
  <extensions>
    <behaviorExtensions>
      <add name="appFabricE2E"
           type="Fabrikam.Services.AppFabricE2EBehaviorElement, Fabrikam.Services, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"/>
    </behaviorExtensions>
  </extensions>