Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    New Coder
    Join Date
    Oct 2012
    Posts
    10
    Thanks
    2
    Thanked 0 Times in 0 Posts

    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

    Thanks

  • #2
    New Coder
    Join Date
    Sep 2012
    Posts
    22
    Thanks
    0
    Thanked 6 Times in 6 Posts

  • #3
    Senior Coder xelawho's Avatar
    Join Date
    Nov 2010
    Posts
    2,984
    Thanks
    56
    Thanked 557 Times in 554 Posts
    better: get a decent editing program. I like notepad++

  • #4
    New Coder
    Join Date
    Oct 2012
    Posts
    10
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by shyagrawal View Post
    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?

  • #5
    New Coder
    Join Date
    Oct 2012
    Posts
    10
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by xelawho View Post
    better: get a decent editing program. I like notepad++
    Hi, thanks for the help.
    I didn't think this would be fixed by using a better application, but I'll give it a go, thanks.

  • #6
    New Coder
    Join Date
    Oct 2012
    Posts
    10
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by xelawho View Post
    better: get a decent editing program. I like notepad++
    Hi, I tried this out, but it doesn't change anything.
    I think I need a way to stop the JavaScript process.
    Does anyone have any ideas?

    Thank you

  • #7
    Senior Coder xelawho's Avatar
    Join Date
    Nov 2010
    Posts
    2,984
    Thanks
    56
    Thanked 557 Times in 554 Posts
    maybe you should post the code that is causing the problem?

  • #8
    New Coder
    Join Date
    Oct 2012
    Posts
    10
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by xelawho View Post
    maybe you should post the code that is causing the problem?
    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.

    Thanks for your help.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •