Page 1 of 1

5015 error or 5030 error

Posted: Fri Aug 07, 2009 1:18 pm
by ConvertFromOldNGs
by Nigel >> Tue, 1 Apr 2008 11:42:27 GMT

Hi everyone,
I am trying to read a text file, process the data contained in the file, then close the file, and rename or copy and purge the text file.
On a single user system this seems to work ok, but on a network environment I get the above errors depending on whether I do a rename or purge.
Can anyone provide suggestions. All the code (from create file to file.purge ) is being done in a single method.
Many thanks, Nigel

Re: 5015 error or 5030 error

Posted: Fri Aug 07, 2009 1:18 pm
by ConvertFromOldNGs
by BeeJay >> Tue, 1 Apr 2008 20:50:45 GMT

I presume by "on a network environment" you're referring to running as a thin client. If this is a correct assumption, are you using the appropriate setting for File::usePresentationClientSystem?

Alternately, do you have some anti-virus software that could be processing the file as soon as it is closed preventing the subsequent rename / purge from completing successfully?

Re: 5015 error or 5030 error

Posted: Fri Aug 07, 2009 1:18 pm
by ConvertFromOldNGs
by BeeJay >> Tue, 1 Apr 2008 20:55:18 GMT

Not sure where that typo came from.

I meant to say "File::usePresentationFileSystem" not "File::usePresentationClientSystem" in that first paragraph.