# QueryTools.ExecuteQuery() Exception Handling

**URL:** <https://community.thinkgeo.com/t/querytools-executequery-exception-handling/8853>\
**Category:** MVC\
**Created:** [December 28, 2017, 6:38pm UTC](https://community.thinkgeo.com/t/querytools-executequery-exception-handling/8853 "2017-12-28T18:38:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Ethan](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ethan/32/19964_2.png) [@Ethan](https://community.thinkgeo.com/u/Ethan)\
**Post date:** [December 29, 2017, 7:24am UTC](https://community.thinkgeo.com/t/querytools-executequery-exception-handling/8853/2 "2017-12-29T07:24:50Z")

</div>

Hi Chad5,

The ExecuteQuery call other dll by reflection function, so the try catch won’t works, please try AppDomain.UnhandledException and see whether it works for your scenario.

Regards,

Ethan

---

_[View the full topic](https://community.thinkgeo.com/t/querytools-executequery-exception-handling/8853)._
