# Script Resource Locked

**URL:** <https://forum.inductiveautomation.com/t/script-resource-locked/10070>\
**Category:** Ignition\
**Created:** [May 28, 2015, 11:40pm UTC](https://forum.inductiveautomation.com/t/script-resource-locked/10070 "2015-05-28T23:40:23Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![DavidWisely](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/davidwisely/32/10482_2.png) [@DavidWisely](https://forum.inductiveautomation.com/u/DavidWisely)\
**Post date:** [May 28, 2015, 11:40pm UTC](https://forum.inductiveautomation.com/t/script-resource-locked/10070/1 "2015-05-28T23:40:23Z")

</div>

I have a couple of Global Scripts that I cannot delete or edit and when I try to open them they display a ‘Script Resource Locked’ message as shown here:  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/2/24e779a8dcabb4d34e33c8903971859f807d5eb4.JPG)

This came about when I copied the scripts from a project folder to a global folder.  
There are no other Clients or Designers running.  
I have tried restarting the Gateway PC multiple times, backing up and restoring the project and updating Java. Nothing will let me delete these files!  
I am running Ignition 7.7.4 and Java 1.8.0\_45.  
When the error first occurred I was using Java version 1.8.0\_25.

Does anybody know how I can delete these files?  
Thanks.

---

<div class="post-metadata">

**Author:** ![DavidWisely](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/davidwisely/32/10482_2.png) [@DavidWisely](https://forum.inductiveautomation.com/u/DavidWisely)\
**Post date:** [June 2, 2015, 3:56am UTC](https://forum.inductiveautomation.com/t/script-resource-locked/10070/2 "2015-06-02T03:56:53Z")

</div>

Any ideas on this one? It’s still a problem.

---

<div class="post-metadata">

**Author:** ![Duffanator](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/duffanator/32/3560_2.png) [@Duffanator](https://forum.inductiveautomation.com/u/Duffanator)\
**Post date:** [June 2, 2015, 1:47pm UTC](https://forum.inductiveautomation.com/t/script-resource-locked/10070/3 "2015-06-02T13:47:00Z")

</div>

Can you look through the sessions list in the gateway webpage under the status tab and see if there are any designers open that you don’t know about that have these resources locked?

![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/6/61c448500e61b78764a4700fccb3d9590ca5dc1f.png)

---

<div class="post-metadata">

**Author:** ![DavidWisely](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/davidwisely/32/10482_2.png) [@DavidWisely](https://forum.inductiveautomation.com/u/DavidWisely)\
**Post date:** [June 3, 2015, 6:25am UTC](https://forum.inductiveautomation.com/t/script-resource-locked/10070/4 "2015-06-03T06:25:51Z")

</div>

I checked this at the start and there are none.  
I’ve tried closing all clients and all designers and then opening a new designer on a different PC and it still had the same problem. I just cannot edit or delete these files!

---

<div class="post-metadata">

**Author:** ![DavidWisely](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/davidwisely/32/10482_2.png) [@DavidWisely](https://forum.inductiveautomation.com/u/DavidWisely)\
**Post date:** [June 11, 2015, 12:25am UTC](https://forum.inductiveautomation.com/t/script-resource-locked/10070/5 "2015-06-11T00:25:05Z")

</div>

Just for info, this has now been sorted by Sam from Ignition Support.  
He had to delete the files from the Internal Ignition Database.

---

<div class="post-metadata">

**Author:** ![rdelossantos](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/rdelossantos/32/4608_2.png) [@rdelossantos](https://forum.inductiveautomation.com/u/rdelossantos)\
**Post date:** [November 10, 2015, 9:35am UTC](https://forum.inductiveautomation.com/t/script-resource-locked/10070/6 "2015-11-10T09:35:00Z")

</div>

I have this same problem in my gateway. I have tried even rebooting the server but there is no solution. Can you help me please?

Thanks

---

<div class="post-metadata">

**Author:** ![rdelossantos](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/rdelossantos/32/4608_2.png) [@rdelossantos](https://forum.inductiveautomation.com/u/rdelossantos)\
**Post date:** [November 19, 2015, 9:12am UTC](https://forum.inductiveautomation.com/t/script-resource-locked/10070/7 "2015-11-19T09:12:36Z")

</div>

I continue with the problem. I’m not able to find out the solution. Please, could anyone help me?

Thanks

---

<div class="post-metadata">

**Author:** ![JGJohnson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jgjohnson/32/29582_2.png) [@JGJohnson](https://forum.inductiveautomation.com/u/JGJohnson)\
**Post date:** [November 19, 2015, 1:41pm UTC](https://forum.inductiveautomation.com/t/script-resource-locked/10070/8 "2015-11-19T13:41:46Z")

</div>

OP solved his problem by calling IA support. That’s what I would recommend.

---

<div class="post-metadata">

**Author:** ![scott2](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@scott2](https://forum.inductiveautomation.com/u/scott2)\
**Post date:** [January 2, 2018, 11:24pm UTC](https://forum.inductiveautomation.com/t/script-resource-locked/10070/9 "2018-01-02T23:24:20Z")

</div>

Have just come across this due to similar issue.  
Are support monitoring this?  
At moment, my workaround is to edit the script where it was created, but that not always ideal.  
There must be a fix…?

---

<div class="post-metadata">

**Author:** ![rdelossantos](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/rdelossantos/32/4608_2.png) [@rdelossantos](https://forum.inductiveautomation.com/u/rdelossantos)\
**Post date:** [February 2, 2018, 8:20pm UTC](https://forum.inductiveautomation.com/t/script-resource-locked/10070/10 "2018-02-02T20:20:03Z")

</div>

Hi @scott2, after contacting tech support, they admitted it was a bug. In my case this was almost 3 years ago for Ignition 7.7.4. I am not aware if they fixed it in later versions.

Anyway, open a ticket because this OEM feature is very specific and I don’t believe many people use it apart from us.  
Your workaround is the only solution I had too.

Regards
