Not sure what happened, but behavior extensions that are necessary to support a WCF REST capability suddenly seem to not be registering. The problem is with the webAuthentication extension. In the Visual Studio 2010 IDE, is is blue underlined and the message
"The element 'behavior' has invalid child element "webAuthentication'."
I tried running it in Fiddler, and get the following HTTP 500 response:
"An error occurred creating the configuration section handler for system.serviceModel/behaviors: Extension element 'webAuthentication' cannot be added to this element. Verify that the extension is registered in the extension collection at system.serviceModel/extensions/behaviorExtensions"
The config file looks fine and has been working up until now. I haven't got a clue as to why this extension is not being recognized in the behavior.
Does anyone have any ideas on how to debug this?
My config code is:
<add name = "webAuthentication" type = "WcfRestContrib.ServiceModel.Configuration.WebAuthentication.ConfigurationBehaviorElement, WcfRestContrib, Version=18.104.22.168, Culture = neutral, PublicKeyToken=89183999a8dc93b5"/>
View Complete Post