The Code Guru11-May-09 5:51 first, you should not create a report file undless user requested and this could lead to more exceptions if running in limited trust, and the user should choose whether to restart the application or continue executing his command or process.