|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
ConfigurationErrorsException when using dataContractSerializerexceptions when adding the dataContractSerializer to a behavior <system.serviceModel> <behaviors> <endpointBehaviors> <behavior name="CalculatorBehavior"> <dataContractSerializer maxItemsInObjectGraph="165536" /> </behavior> </endpointBehaviors> </behaviors> </system.serviceModel> The error I get is "This element is not currently associated with any context". The exceptions are handled internally by WCF. The errors don't stop the app from running and using the service and once the entire config has been loaded it seems the error condition disappears. For each behavior defined with a dataContractSerializer we'll see 2 exceptions. This is causing our application startup time to reach unacceptable levels. Posting to this forum as no reply received to a previous post: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1025211&SiteID=1 many thanks Rob
Other interesting topics
|
|||||||||||||||||||||||