# Confused on "Alarm History" and "Alarm Analysis" pages of Demo project

**URL:** <https://forum.inductiveautomation.com/t/confused-on-alarm-history-and-alarm-analysis-pages-of-demo-project/19537>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [September 5, 2018, 9:10am UTC](https://forum.inductiveautomation.com/t/confused-on-alarm-history-and-alarm-analysis-pages-of-demo-project/19537 "2018-09-05T09:10:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kyle\_dar](https://avatars.discourse-cdn.com/v4/letter/k/f475e1/32.png) [@kyle\_dar](https://forum.inductiveautomation.com/u/kyle_dar)\
**Post date:** [September 5, 2018, 9:10am UTC](https://forum.inductiveautomation.com/t/confused-on-alarm-history-and-alarm-analysis-pages-of-demo-project/19537/1 "2018-09-05T09:10:07Z")

</div>

I just copied the “Alarm History” and “Alarm Analysis” pages of Demo project to my own project. I only modified layout of the Alarm History window and datasource of Alarm Analytics in Alarm Analysis window. When I switch to preview mode in designer, everything is OK. But when I launch the project, it showed some pink area means error.

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/e/e3166f899c31738709a7fedd1260c5b6b176b37a.JPG)

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/1/1055ce0a1501062cb06d6c87cc095c9e05b75a19.JPG)

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/3/322c67be97ee9d62211a39b6d3b1a5bf8f159271.JPG)

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/4/40b654a673f5f3c5a2ad80b033c1db687c333a5a.JPG)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [September 5, 2018, 3:28pm UTC](https://forum.inductiveautomation.com/t/confused-on-alarm-history-and-alarm-analysis-pages-of-demo-project/19537/2 "2018-09-05T15:28:50Z")

</div>

This is most likely legacy database access (Project properties in the designer -\> client -\> permissions), but to confirm go to Help -\> Diagnostics in the client, then go to the Console tab and copy the output. Then paste it in here inside triple backticks:

````
```
your error message
```
````

---

<div class="post-metadata">

**Author:** ![kyle\_dar](https://avatars.discourse-cdn.com/v4/letter/k/f475e1/32.png) [@kyle\_dar](https://forum.inductiveautomation.com/u/kyle_dar)\
**Post date:** [September 7, 2018, 3:08am UTC](https://forum.inductiveautomation.com/t/confused-on-alarm-history-and-alarm-analysis-pages-of-demo-project/19537/3 "2018-09-07T03:08:02Z")

</div>

> [@paul-griffith](#):
>
> This is most likely legacy database access (Project properties in the designer -\> client -\> permissions), but to confirm go to Help -\> Diagnostics in the client, then go to the Console tab and copy the output. Then paste it in here inside triple backticks:

Thank you for your replying, but the output of the Console is out of word limit. I save it as an txt file.  
[Console\_Output.txt](https://us1.discourse-cdn.com/inductiveautomation/original/2X/1/1bba0fbaa5a548136da33f3811685bc511114fad.txt) (38.7 KB)

---

<div class="post-metadata">

**Author:** ![kyle\_dar](https://avatars.discourse-cdn.com/v4/letter/k/f475e1/32.png) [@kyle\_dar](https://forum.inductiveautomation.com/u/kyle_dar)\
**Post date:** [September 7, 2018, 3:42am UTC](https://forum.inductiveautomation.com/t/confused-on-alarm-history-and-alarm-analysis-pages-of-demo-project/19537/4 "2018-09-07T03:42:16Z")

</div>

> [@paul-griffith](#):
>
> This is most likely legacy database access (Project properties in the designer -\> client -\> permissions), but to confirm go to Help -\> Diagnostics in the client, then go to the Console tab and copy the output. Then paste it in here inside triple backticks:

I've found the reason and fixed it based on this link: [ERROR(500): Error executing function 'RunQuery': The current user does not have the required roles for this operation - #3 by MoisesZV](http://forum.inductiveautomation.com/t/error-500-error-executing-function-runquery-the-current-user-does-not-have-the-required-roles-for-this-operation/15252/3)
