Occasionally while attempting to save a Crystal Report that I’m working on in VS2008, a dialog titled ‘File Save Failed’ pops up saying ‘The document could not be saved in C:\Users\Phillip\AppData\Local\Temp{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}.rpt. It has been saved in C:\Users\Phillip\AppData\Local\Temp\~zzz{YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY}.tmp.’
If I OK the dialog, I get a ‘Save File As’ dialog. If I specify the correct location of the report file, I’m asked if I want to replace the existing file. If I say ‘Yes’, I get an error message saying ‘The operation could not be completed. The system cannot find the file specified.’ Even if I specify a completely different filename, in a different folder (e.g. C:/test.rpt) I get the same ‘operation could not be completed’ error.
Sometimes if I wait a moment, then try to save again, it works fine. More frequently, however, I keep getting the ‘Save File As’ dialog. My only option then is to close the report and discard my changes.
This is an intermittent problem – much of the time, saving the report works just fine. Any ideas?
Copernic Desktop Search sometimes locks files so that they can’t be written. Closing the program resolves the problem. Perhaps the same problem occurs with other search engines too.