Enterprise Library 2.0 Database Listener
-
Hello, I am developing a web app and trying to use Enterprise Library 2.0. I am using it for logging for now. I achived the logging on a flat file but when I tried to start doing the logging by using a DataBase Listener. I failed. Here's how I am using it after including all possible references to my web app. I configured a datasource with following attributes setup: -Server (my server name) -Database (my database in my server) -Integrated Security (I used API.. something, false, true and I even tested after removing this tag aswell). -user (my user name) -pwd (my password) Then I configured a Database Listner and gave the reference of my datasource. Then I configured a Logging block by adding different categories and then I added reference to my Database listner in categories. I also tested by adding and removing following in web.config within CodeDom tag: type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" compilerOptions="/d:TRACE" /> ---------------- After doing this all when I try to log an entry after specifing the category to the entry and other required attributes. NOTHING HAPPENS in tables I generated after running the script file provided by Best Patterns and Practices team. I couldnt log any data. Is there anybody who can help me or tell me what I am doing wrong?