I am having problem creating log entry to a text file. Here is my logging configuration in my ASP.net app.
and here is my vb.net code
Try db.ExecuteNonQuery(cmd, tr) tr.Commit() result = True Catch ex As Exception Dim entry As New LogEntry() entry.EventId = 11 entry.Message = ex.Message entry.Categories.Add("General") Logger.Write(entry)
tr.Rollback()
End Try
All the tutorial and example that i found so far are based on older version of Enterprise Library. I'm using Enterprise Library 4. Does anyone know what i'm doing wrong? Is it my code or the configuration? Where can i find more tutorial on Enterprise Library version 4. I tried to follow the quick start that it come with but i can't make head or tail.