# OPC Tags & case sensitivity may or may not matter

**URL:** <https://forum.inductiveautomation.com/t/opc-tags-case-sensitivity-may-or-may-not-matter/8834>\
**Category:** General Discussion\
**Created:** [July 31, 2014, 7:23pm UTC](https://forum.inductiveautomation.com/t/opc-tags-case-sensitivity-may-or-may-not-matter/8834 "2014-07-31T19:23:36Z")\
**Posts on this page:** 7\
**Page:** 1

<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:** [July 31, 2014, 7:23pm UTC](https://forum.inductiveautomation.com/t/opc-tags-case-sensitivity-may-or-may-not-matter/8834/1 "2014-07-31T19:23:36Z")

</div>

Learned a valuable lesson today-- after nearly eight hours of pulling my hair out.

Upgraded KEPServer from v4 to v5. I deleted the old server connection and made a new one with the same name to keep from having to make a bunch of changes. Mostly true but the item path changes a bit between v4 and v5. Well and fine. After the necessary changes to the item paths, all my tags were reading without issue. Yay!

However, any tag that I tried to write to threw an exception stating that the OPC Server was faulted. No indications of a fault anywhere in Kepserver or Ignition (apart from the console log). 😮

After doing things like reinitializing KepServer, rebooting the system, deleting and recreating the connection, I finally discovered that the old connection was named KEPWare while the new one was named KepWare.

For reading: KEPWare = KepWare. Not case sensitive.  
For writing: KEPWare != KepWare. Very case sensitive.

Final summary  
For me, this was a case of not following a programming axiom: When putting it into memory, remember where you put it. Be aware of case sensitivity and save yourself some headache.

Later!

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 31, 2014, 8:11pm UTC](https://forum.inductiveautomation.com/t/opc-tags-case-sensitivity-may-or-may-not-matter/8834/2 "2014-07-31T20:11:09Z")

</div>

Weird… there shouldn’t be any difference between the two. Nothing with the incorrect server name should have worked ![:scratch:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/76d1620bec252bfac07050c889ff5a91dc8a9c25.gif ":scratch:")

---

<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:** [July 31, 2014, 11:07pm UTC](https://forum.inductiveautomation.com/t/opc-tags-case-sensitivity-may-or-may-not-matter/8834/3 "2014-07-31T23:07:07Z")

</div>

It certainly would have been easier on me! 😆

---

<div class="post-metadata">

**Author:** ![Kyle\_Chase](https://avatars.discourse-cdn.com/v4/letter/k/9de0a6/32.png) [@Kyle\_Chase](https://forum.inductiveautomation.com/u/Kyle_Chase)\
**Post date:** [August 1, 2014, 11:35am UTC](https://forum.inductiveautomation.com/t/opc-tags-case-sensitivity-may-or-may-not-matter/8834/4 "2014-08-01T11:35:36Z")

</div>

We discovered this a few weeks ago and Colby said he would fix the issue. We had KEPServerEx instead of KEPServerEX. I believe Colby will make it the case insensitive, instead of throwing a better error message.

---

<div class="post-metadata">

**Author:** ![Kyle\_Chase](https://avatars.discourse-cdn.com/v4/letter/k/9de0a6/32.png) [@Kyle\_Chase](https://forum.inductiveautomation.com/u/Kyle_Chase)\
**Post date:** [August 1, 2014, 11:36am UTC](https://forum.inductiveautomation.com/t/opc-tags-case-sensitivity-may-or-may-not-matter/8834/5 "2014-08-01T11:36:57Z")

</div>

Also, this is a very valuable lesson in using copy and paste when possible, instead of typing by hand.

---

<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:** [August 1, 2014, 11:45am UTC](https://forum.inductiveautomation.com/t/opc-tags-case-sensitivity-may-or-may-not-matter/8834/6 "2014-08-01T11:45:42Z")

</div>

Igniiton’s Find and Replace function saved the day on this one. 1600+ tags spread out over multiple tag providers. ![:thumb_right:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/2026e28c0c425034352c1b75807edf956adc75f4.gif ":thumb\_right:")

---

<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:** [August 1, 2014, 5:00pm UTC](https://forum.inductiveautomation.com/t/opc-tags-case-sensitivity-may-or-may-not-matter/8834/7 "2014-08-01T17:00:38Z")

</div>

What a strange coincidence that after something like 6 years of it being case sensitive, both of you hit this in the span of a few weeks… yeah, we’ll make it case insensitive for 7.7.1.

Also, the “faulted server” error is very misleading, but when you ask for a server that doesn’t exist, you get… a faulted server. 😒

Regards,
