Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-03-2012, 09:47 AM   PM User | #1
dammyg
New Coder

 
Join Date: Oct 2012
Posts: 10
Thanks: 2
Thanked 0 Times in 0 Posts
dammyg is an unknown quantity at this point
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
dammyg is offline   Reply With Quote
Old 10-03-2012, 10:02 AM   PM User | #2
shyagrawal
New Coder

 
Join Date: Sep 2012
Posts: 22
Thanks: 0
Thanked 6 Times in 6 Posts
shyagrawal is an unknown quantity at this point
Use this to fix this error.
http://www.faultwire.com/solutions-W...pad-*1412.html
shyagrawal is offline   Reply With Quote
Old 10-03-2012, 03:01 PM   PM User | #3
xelawho
Senior Coder

 
xelawho's Avatar
 
Join Date: Nov 2010
Posts: 2,461
Thanks: 52
Thanked 457 Times in 455 Posts
xelawho will become famous soon enoughxelawho will become famous soon enough
better: get a decent editing program. I like notepad++
xelawho is offline   Reply With Quote
Old 10-04-2012, 01:35 AM   PM User | #4
dammyg
New Coder

 
Join Date: Oct 2012
Posts: 10
Thanks: 2
Thanked 0 Times in 0 Posts
dammyg is an unknown quantity at this point
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?
dammyg is offline   Reply With Quote
Old 10-04-2012, 01:36 AM   PM User | #5
dammyg
New Coder

 
Join Date: Oct 2012
Posts: 10
Thanks: 2
Thanked 0 Times in 0 Posts
dammyg is an unknown quantity at this point
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.
dammyg is offline   Reply With Quote
Old 10-04-2012, 02:01 AM   PM User | #6
dammyg
New Coder

 
Join Date: Oct 2012
Posts: 10
Thanks: 2
Thanked 0 Times in 0 Posts
dammyg is an unknown quantity at this point
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
dammyg is offline   Reply With Quote
Old 10-04-2012, 03:13 AM   PM User | #7
xelawho
Senior Coder

 
xelawho's Avatar
 
Join Date: Nov 2010
Posts: 2,461
Thanks: 52
Thanked 457 Times in 455 Posts
xelawho will become famous soon enoughxelawho will become famous soon enough
maybe you should post the code that is causing the problem?
xelawho is offline   Reply With Quote
Old 10-05-2012, 01:21 AM   PM User | #8
dammyg
New Coder

 
Join Date: Oct 2012
Posts: 10
Thanks: 2
Thanked 0 Times in 0 Posts
dammyg is an unknown quantity at this point
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.
dammyg is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:52 AM.


Advertisement
Log in to turn off these ads.