# Error importing Dataset tag with byte\[\] as data

**URL:** <https://forum.inductiveautomation.com/t/error-importing-dataset-tag-with-byte-as-data/12636>\
**Category:** Ignition\
**Created:** [February 2, 2017, 3:02pm UTC](https://forum.inductiveautomation.com/t/error-importing-dataset-tag-with-byte-as-data/12636 "2017-02-02T15:02:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![drojas](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/drojas/32/3403_2.png) [@drojas](https://forum.inductiveautomation.com/u/drojas)\
**Post date:** [February 2, 2017, 3:02pm UTC](https://forum.inductiveautomation.com/t/error-importing-dataset-tag-with-byte-as-data/12636/1 "2017-02-02T15:02:29Z")

</div>

Hello, below are files showing an error caused by importing tags that contain byte[] array data. I am using byte[] to store an image returned by a MSSQL query. The database table contains a column of blob datatype. I am currently using Ignition 7.9.1rc1.

As a short term solution, I manually edit the XML to remove the offending tag and all remaining tags import successfully.

If anyone needs more information, just contact me and be glad to help.

Thanks,  
David Rojas

---

<div class="post-metadata">

**Author:** ![AlThePal](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/althepal/32/3603_2.png) [@AlThePal](https://forum.inductiveautomation.com/u/AlThePal)\
**Post date:** [February 3, 2017, 5:07pm UTC](https://forum.inductiveautomation.com/t/error-importing-dataset-tag-with-byte-as-data/12636/2 "2017-02-03T17:07:45Z")

</div>

Why are you trying to store blob data in a tag? Normally blob data is held in a database until you need it, then you would read it using a script.

---

<div class="post-metadata">

**Author:** ![drojas](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/drojas/32/3403_2.png) [@drojas](https://forum.inductiveautomation.com/u/drojas)\
**Post date:** [February 21, 2017, 6:45pm UTC](https://forum.inductiveautomation.com/t/error-importing-dataset-tag-with-byte-as-data/12636/3 "2017-02-21T18:45:58Z")

</div>

Al, Yes, blob data is stored in database and retrieved when needed. However, this question is in reference to importing/exporting tags and when a tag happens to have blob data in it at the time of export (say from a development PC) and then import (into a production server), there is an error.
