ASP.NET take screencaps of erros on website

conrad2010 used Ask the Experts™
I would like to take a screencap each time an error occurs on my website... how can I do that (must be browser independent)?

To be clear: this is not Winforms so I can't use the browser control... I found plenty of code for that...

I developed my website in ASP.NET using VS2008. Each time there is an error on the website I would like to capture that screen and email it to myself.

The code can be VB or C# and a third party component should support all browsers...
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Instead of doing a screen capture, I suggest you send yourself the complete exception details.  The error page displays info from the exception.

Use the global.asax file to capture the error and send the email. There are lots of examples, I don't have links right now but I will post the complete code later


I agree that's a good solution, but most errors in my application are generated by faulty user input so I need to see what the values are that generate the error... so a screencap is the best solution I think...

Elmah is the way to satiate your desire for collecting web applications errors and send those via email.Please find the link

ELMAH (Error Logging Modules and Handlers) is an application-wide error  logging facility that is completely pluggable. It can be dynamically  added to a running ASP.NET  web application, or even all ASP.NET web applications on a machine,  without any need for re-compilation or re-deployment

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial