Nlog now throws an exception, which I updated from 1.0 -> 2.0.
When NLog.Config.XmlLoggingConfiguration.Initialize is called, the following exception is thrown:
"Error setting the 'Url' property in WebService Target [Target_AuditLog_WebService_Global]"
with an internal Exception from:
"Invalid selection from" System.String "to" System.Uri ".
The goal is as follows:
<target name="Target_AuditLog_WebService_Global" xsi:type="WebService" namespace="http://ourLoggingServer.corp/" protocol="Soap12" methodName="AddLog" url="http://ourLoggingServer.corp/Logger.asmx"> <parameter /> </target>
I found this, however it seems that they consider it fixed: http://nlog.codeplex.com/workitem/5352
Gent
source share