# The runtime cannot find Named Queries

**URL:** <https://forum.inductiveautomation.com/t/the-runtime-cannot-find-named-queries/28374>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [September 19, 2019, 8:14am UTC](https://forum.inductiveautomation.com/t/the-runtime-cannot-find-named-queries/28374 "2019-09-19T08:14:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![781646229](https://avatars.discourse-cdn.com/v4/letter/7/e47774/32.png) [@781646229](https://forum.inductiveautomation.com/u/781646229)\
**Post date:** [September 19, 2019, 8:14am UTC](https://forum.inductiveautomation.com/t/the-runtime-cannot-find-named-queries/28374/1 "2019-09-19T08:14:32Z")

</div>

I’ve bound a Named Queries for Power Table’s Data, which can get data normally in debugging environment, but when it’s running, it will prompt for an error. I wonder what caused this?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/9/9ccb220f6cdec56e15faf0545e45959fa7a08cba.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/d/d87884733fc59929ab45eb38311e422d04108a24.png)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 19, 2019, 2:35pm UTC](https://forum.inductiveautomation.com/t/the-runtime-cannot-find-named-queries/28374/2 "2019-09-19T14:35:10Z")

</div>

Check the security settings for the Named Query and whether that client login has the necessary roles. And that the named query has been saved to the gateway.
