# Error executing function 'RunQuery'

**URL:** <https://forum.inductiveautomation.com/t/error-executing-function-runquery/22666>\
**Category:** Ignition\
**Created:** [February 19, 2019, 5:34am UTC](https://forum.inductiveautomation.com/t/error-executing-function-runquery/22666 "2019-02-19T05:34:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jppaceman](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jppaceman/32/7664_2.png) [@jppaceman](https://forum.inductiveautomation.com/u/jppaceman)\
**Post date:** [February 19, 2019, 5:34am UTC](https://forum.inductiveautomation.com/t/error-executing-function-runquery/22666/1 "2019-02-19T05:34:18Z")

</div>

can anyone shed any light on this error? The chart component works fine in designer with a DB browse binding but the query wont run on the client  
Ta

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

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [February 19, 2019, 12:35pm UTC](https://forum.inductiveautomation.com/t/error-executing-function-runquery/22666/2 "2019-02-19T12:35:06Z")

</div>

> [@The current user does not have the required roles for this operation](http://forum.inductiveautomation.com/t/the-current-user-does-not-have-the-required-roles-for-this-operation/18848):
>
> This project works correctly in the designer but does not work in the runtime. This is similar to this post: [ERROR(500): Error executing function 'RunQuery': The current user does not have the required roles for this operation](http://forum.inductiveautomation.com/t/error-500-error-executing-function-runquery-the-current-user-does-not-have-the-required-roles-for-this-operation/15252) The problem I’ve encountered is that even after following the listed solution and enabling the permissions, the problem persists.

---

<div class="post-metadata">

**Author:** ![Renato\_Duenas1](https://avatars.discourse-cdn.com/v4/letter/r/59ef9b/32.png) [@Renato\_Duenas1](https://forum.inductiveautomation.com/u/Renato_Duenas1)\
**Post date:** [July 21, 2024, 1:38am UTC](https://forum.inductiveautomation.com/t/error-executing-function-runquery/22666/3 "2024-07-21T01:38:24Z")

</div>

Hello, this same thing is happening to me. Can anyone help me with that?

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [July 21, 2024, 2:07am UTC](https://forum.inductiveautomation.com/t/error-executing-function-runquery/22666/4 "2024-07-21T02:07:04Z")

</div>

Do you have the stack trace?
