Last post Mar 14, 2006 07:45 AM by arungj2
Mar 06, 2006 05:16 PM|renato_ch|LINK
I'm trying to use the Exception Block together with the Logging Block, to get error logging in a .log text file.
Although I remove the Event Log Sink, the ExceptionPolicy.HandleException method stills writes the error in the Event Log.
How can I fix this ? And also, the problem I'm facing is that I don't have registry access permission in the machine I'm deploying, so I get an error saying it can't write to the registry, which overloads my original error.
Any ways to fix these errors ?
Mar 08, 2006 10:20 PM|renato_ch|LINK
I've figured out what it was. It wasn't the Handle Exception method that was causing the Event log writing, but the enterprise library itself, cause it hasn't been properly installed in the deploy machine. Apparently there's a need to run the InstallServices.bat
file in the src directory of enterprise library, that sets up the enterprise library to work correctly.
There's some more instructions in
Mar 14, 2006 07:45 AM|arungj2|LINK