# Error Writing To SQLTag

**URL:** <https://forum.inductiveautomation.com/t/error-writing-to-sqltag/1705>\
**Category:** Ignition\
**Created:** [March 31, 2010, 4:21pm UTC](https://forum.inductiveautomation.com/t/error-writing-to-sqltag/1705 "2010-03-31T16:21:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bryan\_cook](https://avatars.discourse-cdn.com/v4/letter/b/a8b319/32.png) [@bryan\_cook](https://forum.inductiveautomation.com/u/bryan_cook)\
**Post date:** [March 31, 2010, 4:21pm UTC](https://forum.inductiveautomation.com/t/error-writing-to-sqltag/1705/1 "2010-03-31T16:21:59Z")

</div>

I’m getting the following error …

[quote]Message: Write to SQLTag [[ISTP]MyTagName] failed with code [Bad\_NoDataAvailable] - HRESULT: 48000  
Logger: Project.Group\_31[/quote]  
… whenever I attempt to write to the SQLTag, however the value will be accepted regardless. I’ve got the tag within a Transaction Group. If I right-click the entry and select Write to item, I get the above error. Additionally, I’ve got the tag set up within my group for Write handshake on failure. When my group fails, the error occurs. The values I’m attempting to write, however, are still going through … the tag is changing value as expected.

The tags in question are from a local OPC Server, (the same ABB OPC Server I’ve talked about previous conversations and threads).

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [March 31, 2010, 4:46pm UTC](https://forum.inductiveautomation.com/t/error-writing-to-sqltag/1705/2 "2010-03-31T16:46:09Z")

</div>

That’s strange that it’s returning an error but then applying the value. The error code also seems a tad strange, so perhaps the best way to proceed would be to put something between Ignition and the server and record what’s actually going back and forth. I’ll send you a PM on where you can get the tool.

Regards,

---

<div class="post-metadata">

**Author:** ![bryan\_cook](https://avatars.discourse-cdn.com/v4/letter/b/a8b319/32.png) [@bryan\_cook](https://forum.inductiveautomation.com/u/bryan_cook)\
**Post date:** [March 31, 2010, 4:52pm UTC](https://forum.inductiveautomation.com/t/error-writing-to-sqltag/1705/3 "2010-03-31T16:52:05Z")

</div>

Ok, sounds good … thanks.
