# Vision EasyChart tag values only visible in Designer

**URL:** <https://forum.inductiveautomation.com/t/vision-easychart-tag-values-only-visible-in-designer/65621>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [October 24, 2022, 9:52pm UTC](https://forum.inductiveautomation.com/t/vision-easychart-tag-values-only-visible-in-designer/65621 "2022-10-24T21:52:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jordan\_Brandon](https://avatars.discourse-cdn.com/v4/letter/j/ad7895/32.png) [@Jordan\_Brandon](https://forum.inductiveautomation.com/u/Jordan_Brandon)\
**Post date:** [October 24, 2022, 9:52pm UTC](https://forum.inductiveautomation.com/t/vision-easychart-tag-values-only-visible-in-designer/65621/1 "2022-10-24T21:52:09Z")

</div>

I just migrated a Vision project to a new server and database. The EasyChart in the project shows the appropriate values in Designer, but when I launch the project, the chart in the client is red with the database connection error icon. What could be causing the issue?

---

<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:** [October 24, 2022, 10:01pm UTC](https://forum.inductiveautomation.com/t/vision-easychart-tag-values-only-visible-in-designer/65621/2 "2022-10-24T22:01:10Z")

</div>

You upgraded? And are using DB pens instead of tag history pens? You might be bumping into a security change. Look at your project properties' "Legacy Database" security permission.

---

<div class="post-metadata">

**Author:** ![Jordan\_Brandon](https://avatars.discourse-cdn.com/v4/letter/j/ad7895/32.png) [@Jordan\_Brandon](https://forum.inductiveautomation.com/u/Jordan_Brandon)\
**Post date:** [October 24, 2022, 10:16pm UTC](https://forum.inductiveautomation.com/t/vision-easychart-tag-values-only-visible-in-designer/65621/3 "2022-10-24T22:16:59Z")

</div>

Not an upgrade. Moved the gateway to another computer and connected a new instance of MySQL. I've tried checking the "Legacy Database" box but the problem persists. I've tried creating a new chart in the same project as well as creating a new project, but same problem.

---

<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:** [October 24, 2022, 10:32pm UTC](https://forum.inductiveautomation.com/t/vision-easychart-tag-values-only-visible-in-designer/65621/4 "2022-10-24T22:32:11Z")

</div>

In the Vision client, use the help menu to open the diagnostics. Select the console tab and clear it. Then open the window with the problem chart and see what is reported.

---

<div class="post-metadata">

**Author:** ![Jordan\_Brandon](https://avatars.discourse-cdn.com/v4/letter/j/ad7895/32.png) [@Jordan\_Brandon](https://forum.inductiveautomation.com/u/Jordan_Brandon)\
**Post date:** [October 24, 2022, 10:50pm UTC](https://forum.inductiveautomation.com/t/vision-easychart-tag-values-only-visible-in-designer/65621/5 "2022-10-24T22:50:56Z")

</div>

I am using tag historian. I see the following in the diagnostic tool:

Invalid type [long] for X value of pen [AI1 Temp]. Expected a [Date].

and

Caused by: com.inductiveautomation.ignition.client.gateway\_interface.GatewayException: Error executing function 'QueryTagHistory': The current user does not have the required roles for this operation.

---

<div class="post-metadata">

**Author:** ![Jordan\_Brandon](https://avatars.discourse-cdn.com/v4/letter/j/ad7895/32.png) [@Jordan\_Brandon](https://forum.inductiveautomation.com/u/Jordan_Brandon)\
**Post date:** [October 24, 2022, 10:57pm UTC](https://forum.inductiveautomation.com/t/vision-easychart-tag-values-only-visible-in-designer/65621/6 "2022-10-24T22:57:13Z")

</div>

Corrections, the first error was from when I tried to add a dB pen so it looks like a required role issue. Not sure how to fix.

---

<div class="post-metadata">

**Author:** ![Jordan\_Brandon](https://avatars.discourse-cdn.com/v4/letter/j/ad7895/32.png) [@Jordan\_Brandon](https://forum.inductiveautomation.com/u/Jordan_Brandon)\
**Post date:** [February 9, 2023, 5:02pm UTC](https://forum.inductiveautomation.com/t/vision-easychart-tag-values-only-visible-in-designer/65621/7 "2023-02-09T17:02:44Z")

</div>

Fixed by checking tag history permission in project settings. Still don't understand how it got "unchecked".
