Hi,
I am using Enterprise Library Logging application block to log exceptions to event viewer. I have configured this in my website web.config file and also in my WCF service web.config file. I have deployed portal and service in IIS 6.0. I have created a new website pointing to portal and a virtual directory inside the website to point to WCF service.
When I try to access the service, I get error "The entry 'Formatted EventLog TraceListener' has already been added."
When I tried different options like pointing portal to one virtual directory and service to one virtual directory, I am not getting this issue even though both the folders have web.config file configured with logging application block. This occurs only when I configure portal to website and service to a virtual directory. How do I resolve this issue?.
Please let me know if I am not clear, I can provide more details?
Thanks,
Sathish N