# Error - Temp File

**URL:** <https://forum.inductiveautomation.com/t/error-temp-file/33511>\
**Category:** Ignition\
**Created:** [March 30, 2020, 8:33am UTC](https://forum.inductiveautomation.com/t/error-temp-file/33511 "2020-03-30T08:33:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JayC](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jayc/32/14032_2.png) [@JayC](https://forum.inductiveautomation.com/u/JayC)\
**Post date:** [March 30, 2020, 8:33am UTC](https://forum.inductiveautomation.com/t/error-temp-file/33511/1 "2020-03-30T08:33:06Z")

</div>

When I launch Ignition Design I get an error:

“Error Launching Application”  
“IOException: Unable to delete directory”  
“C:\Users\<username\>.ignition\cache/resources/temp.”

I click Retry, but problem persists.

Any suggestions or help is much appreciated.  
thanks

![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/9/9a342d768f3c8e837199ad7e1c5e96fd3d11717f.png)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 30, 2020, 5:04pm UTC](https://forum.inductiveautomation.com/t/error-temp-file/33511/2 "2020-03-30T17:04:44Z")

</div>

Have you tried manually deleting the specified directory, in Windows Explorer? There may be some other program (antivirus?) holding onto a file inside the directory and preventing the designer from removing it.

---

<div class="post-metadata">

**Author:** ![JayC](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jayc/32/14032_2.png) [@JayC](https://forum.inductiveautomation.com/u/JayC)\
**Post date:** [March 30, 2020, 6:13pm UTC](https://forum.inductiveautomation.com/t/error-temp-file/33511/3 "2020-03-30T18:13:29Z")

</div>

Hi,  
Yes, I can delete the directory via Explorer. I noticed that the error pops up while the folder still has the ‘Runtime.zip’ file in it, then after 3-5 seconds the file is deleted. But the error already has occurred. The Resource.lck is still present also.  
I disabled Anti-Virus and I am running as Admin. Any other thoughts?  
Anyway to have Designer ignore the deletion of this folder?

---

<div class="post-metadata">

**Author:** ![jcoffman](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jcoffman/32/6429_2.png) [@jcoffman](https://forum.inductiveautomation.com/u/jcoffman)\
**Post date:** [March 30, 2020, 8:06pm UTC](https://forum.inductiveautomation.com/t/error-temp-file/33511/4 "2020-03-30T20:06:21Z")

</div>

@JayC Is there a launch error log in the .ignition directory?

---

<div class="post-metadata">

**Author:** ![JayC](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jayc/32/14032_2.png) [@JayC](https://forum.inductiveautomation.com/u/JayC)\
**Post date:** [March 31, 2020, 12:14pm UTC](https://forum.inductiveautomation.com/t/error-temp-file/33511/5 "2020-03-31T12:14:13Z")

</div>

Yes, it fails on the BootstrapUtilities.deleteDirectory command.  
[launch\_error\_2020-03-30\_00-44-28.log](https://us1.discourse-cdn.com/inductiveautomation/original/2X/2/2c0088c87281d374976d8b4b67b47e33474a6f54.log) (57.2 KB)

 ![Ignition%20Error2](https://us1.discourse-cdn.com/inductiveautomation/original/2X/0/0d1ce3d08edd3de53319972da5ef248edddd95d3.png)
