WCF type init DiagnosticUtility failed

What is the reason for the WCF error message
"Der Typeninitialisierer für System.ServiceModel.DiagnosticUtility hat eine
Ausnahme verursacht."
(WCF type init DiagnosticUtility failed) ?

created by the line
myServiceHost = New ServiceHost(GetType(CalculatorService))

and
Imports System.ServiceModel
Imports Contracts

Public Class CalculatorService
Implements ICalculator

Public Function Add(ByVal operand1 As Integer, ByVal operand2 As
Integer) As Integer Implements Contracts.ICalculator.Add
Return operand1 + operand2
End Function
End Class


thank you very much
herbert [ So, 30 März 2008 19:37 ] [ ID #1932441 ]
Microsoft » microsoft.public.dotnet.general » WCF type init DiagnosticUtility failed

Vorheriges Thema: Linkbutton firing every other time issue
Nächstes Thema: totally confiused.. i need help