On my development machine I’ve made an asmx web service that logs exceptions to both the event log and a database using the enterprise library version 3.1. I also use the exception handling
application blog to replace exceptions obtaining some sort of exception shielding. Everything works just fine on my development box.
However, when I deploy the service to another machine nothing is logged to either the event log or the database. I still get the replacement of exceptions, but no logging. Unless
(and now things get spooky) I install Enterprise Library including Instrumentation on the target server.
Why is that? Is there a workaround?
I’d like to deploy the enterprise library as private assemblies only.
Thanks a lot,
Michael Brandt Lassen