I have an error that can only intermittently can be repeated. I ran the same code on the same data a few times, sometimes it worked, sometimes it threw an error. (XP pro, VFP 9.0, heartily equipped workstation)
The line of code that trips the error is:
"COPY TO (cFileName) TYPE FOX2X"
As to the error, Foxpro reports a program error:
"Error writing to file [filename]".
It then gives a microsoft visual foxpro error:
"Fatal error 105 while attempting to report error 105."
In help I can't find a #105, however, I can find an error #1105 which says the OS had an issue while foxpro was attempting to write to the specified file. There is also something similar in the log on the PC. *Maybe* this is what the reported error was referring to.
I don't have a virus scan or backup running and can't find any reason that the file (which Fox creates and uses only for a a minute or two at most) should have a lock on it if that's the issue.
Does someone have an opinion as to whether this is indeed a FoxPro problem or not or what's causing this? I don't experience any errors outside of Foxpro so I'm having trouble ruling it out.
Thanks in advance
The line of code that trips the error is:
"COPY TO (cFileName) TYPE FOX2X"
As to the error, Foxpro reports a program error:
"Error writing to file [filename]".
It then gives a microsoft visual foxpro error:
"Fatal error 105 while attempting to report error 105."
In help I can't find a #105, however, I can find an error #1105 which says the OS had an issue while foxpro was attempting to write to the specified file. There is also something similar in the log on the PC. *Maybe* this is what the reported error was referring to.
I don't have a virus scan or backup running and can't find any reason that the file (which Fox creates and uses only for a a minute or two at most) should have a lock on it if that's the issue.
Does someone have an opinion as to whether this is indeed a FoxPro problem or not or what's causing this? I don't experience any errors outside of Foxpro so I'm having trouble ruling it out.
Thanks in advance