I m using Microsoft Enterprise Library 3.1 for Exception Handling in asp.net, the erors are stored in Event Viewer of the system .
Instead of Event
In Entlib a Category is connected to a listener, then a listener determines where the log information is written. To log to a file use a Flat File Listener.
http://msdn.microsoft.com/en-us/library/cc309257.aspx