• Have a look at this blog post - http://www.brentozar.com/archive/2013/08/what-queries-are-failing-in-my-sql-server/ - it shows how you can query the extended event data to retrieve the sql_text causing the error.