Ideas and Comments about how to get things done
After several hours figuring out why my
Here is the relevant part of my app.config:
<configuration xmlns=”http://schemas.microsoft.com/.NetConfiguration/v2.0″>
<exceptionHandling>
<exceptionPolicies>
<add name=”FileLog”>
<exceptionTypes>
<add type=”System.Exception, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089″
postHandlingAction=”NotifyRethrow” name=”Exception”>
<exceptionHandlers>
<add logCategory=”General” eventId=”100″ severity=”Error” title=”DynMRO Exception”
formatterType=”Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.TextExceptionFormatter, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”
priority=”0″ type=”Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.LoggingExceptionHandler, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”
name=”Logging Handler” />
</exceptionHandlers>
</add>
</exceptionTypes>
</add>
</exceptionPolicies>
</exceptionHandling>
</configuration>
and the xmlpoke looks like:
<xmlpoke
file=”bin\${ass.name}.dll.config”
xpath=”/xi:configuration/xi:exceptionHandling/xi:exceptionPolicies/xi:add[@name=’FileLog’]/xi:exceptionTypes/xi:add[@type = ‘System.Exception, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089′]/@postHandlingAction”
value=”None” failonerror=”true”>
<namespaces>
<namespace prefix=”xi” uri=”http://schemas.microsoft.com/.NetConfiguration/v2.0″ />
</namespaces>
</xmlpoke>
Sos grande Soledad!
21 queries. 0.153 seconds