Groups | Blog | Home
all groups > visual studio .net enterprise tools > january 2007 >

visual studio .net enterprise tools : Enterprice Library does not log errors Help!!


Jaime
1/8/2007 2:49:19 PM
This is the code I used it works on my machine but not on the Server 2003
machine ?

LogEntry logEntry = new LogEntry();
logEntry.Message = "ERROR";
logEntry.Severity = TraceEventType.Error;
Logger.Write(logEntry);

any Ideas why it does not log it to the event log!!

thanks in advance
jaime

Jaime
1/9/2007 11:20:51 AM
Thanks to all

I found the problem:
Its to do with the Enterprice libraries not compiling properly on the
destination server, this is when we publish directly to the server, when we
copy from the development machine the problem did not happen.

Jaime



[quoted text, click to view]

AddThis Social Bookmark Button