Logging Block 3.1 against SQL CE 4.0, possible?

Topics: Building and extending application blocks, Enterprise Library Core, General discussion, Logging Application Block
Apr 5, 2011 at 9:29 PM
Edited Apr 5, 2011 at 9:30 PM

Hi! Is it possible to use EL Logging Block 3.1 to log into SQL CE 4.0? Any samples? I tried searching my did not come up with much usefull info.

A number of folks reported connection pooling issues. Are they fixed in 3.1?

Many thanks in advance

Apr 6, 2011 at 1:24 AM

It isn't supported out-of-the-box, you would need to create a custom trace listener by inherting from the CustomTraceListener class. 

Regarding the connection pooling issues, I'm not sure what bug are you exactly referring to but it might more of a connection management-related problem since DAAB doesn't actually do the pooling but relies on ADO.NET to do that.  Chris Tavares mentioned a bug in 3.0 that was fixed in version 5.0 in this thread.


Sarah Urmeneta
Global Technologies and Solutions
Avanade, Inc.