IOException: unable to delete file

Hi guys, sometimes I get this error on client launch saying :

Error Launching application:
IOException: unable to delete file:
C:\Users\username.ignition\cache\gwmhsignition_8088_8043_main\C0\pylib\xml\etree\ElementPath.py

Either I can click Retry or exit, clicking retry fixes the issue, everything loads up just fine but you have to manually click that. I was wondering if it is possible to make this process automatic?
I already talked to IT and asked them to set up some batch file to delete the .ignition folder once a week so that way it keeps the folder fresh. I didn't know if anyone has dealt with this specific error before or anyone has a solution as far as handling these launching errors.
I'm using 7.9.4 and Gateway java is 1.8.0_45 and most clients are 1.8.0_100+
Thanks in advance!

I too get this error. It is rare; occurs when launching clients or Designer. This last time it occurred I had just used the Java control panel applet to delete the cache, if that means anything. “Retry” always works.

in your users directory, backup the .ignition directory and then delete. Re-open designer and try again.

1 Like

I had a similar issue and this worked. Thanks!

What to do backup directory abd delete. Please mention address file

I'm not sure what you are asking.

image

I have this issue

That looks like another instance of Vision or the Designer is running while the application is starting up. Double check that there isn't another instance on the PC running.

Thank you. But I made sure no two instances are running but still facing the same issue

Is this Vision Client or Designer?
When does this occur?
Have you tried to backup the .ignition folder, delete it and then try again?

for designer , have tried with the cache file

OK, so you have closed designer and then backed up and then deleted the C:\Users\Vertech.ignition folder?

when you say back up, it only means to copy and store it somewhere. Sorry for extremely stupid question.
do I need to back up gateway.

Problem solved