sj1187534
Well-known member
I have been fighting with this part of the code for a long time trying to figure out what is wrong with it. It is saying that the file is being used by another process( on line 197 ). As you can see from the code, the method that is giving me an error is a synchronized method so that only one thread can enter it at any time. I am even closing the streamwriter when I am done writing. Another wierd thing is in some threads, I am getting an error saying that the file represented by permlogfilepath already exists even though I am performaing a check that if that file exists, process it differently!! Any suggestions?
I have also tried debugging the code but I was not successfull in finding what process is locking it. Any other way to find out?
Thanks
SJ
I have also tried debugging the code but I was not successfull in finding what process is locking it. Any other way to find out?
Thanks
SJ