I installed a self-service script where I programmatically configure multiple service hosts. For each of these hosts that I open, I see the following error in the trace log:
<TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Warning"> <TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.EvaluationContextNotFound.aspx</TraceIdentifier> <Description>Configuration evaluation context not found.</Description> <AppDomain>myprogram.exe</AppDomain> </TraceRecord>
I read that this is caused by using extensions that are not declared in the configuration file, and I do use a custom behavior extension, but adding it to the .exe configuration file had no effect:
<system.serviceModel> <extensions> <behaviorExtensions> <add name="myext" type="mytype, myassembly" /> </behaviorExtensions> </extensions> .... </system.serviceModel>
Please note that I do not use this extension anywhere in the configuration file, I add it to the service host programmatically. I even created fictitious behavior that the extension used to check if it would solve the problem, but it is not.
Why do I see this error in my journal?
Mark
source share