If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

the process cannot access the file because it is being used by another process

Hi, I am new to the forum. I hope to be here a while, and hopefully I can improve a bit to help contribute in return.

I am quite new to JavaScript but do have some experience in basic programming.
I am trying to test out my JavaScript in Chrome by modifying the code in the notepad and then opening and refreshing in Chrome, but occasionally I get this error when trying to save the script in notepad: "the process cannot access the file because it is being used by another process". Nothing seems to get rid of this error, it is a real pain, what can I do? It really is a pain while trying to improve and test out my scripts

Hi, thank you for the help.
The first I did was try closing Chrome, but that does not solve the problem. Is the JavaScript being executed by another process?
Does the process not ending mean that there is an error in the JavaScript code?

I managed to solve the problem.
The code was for uploading a csv file and parsing it.
I think the main problem was I was uploading the file and processing it and then when trying out an update JS, I would refresh. I know instead highlight the address in the address bar and press enter and so have not encountered the problem again.
When I did have the problem, I closed Explorer.exe and the problem seemed to stop.