Do you have any suggestions on how to deal with:
Unable to add file to the local file storage: path = temp\S\C629ACDC86F79924EA7817D956947D180922CD6F1B5638C60F0E34F205F20664.txt. Inner exception message: The process cannot access the file ‘\fssk01-a\Storage\GroupDocs\DocPreview\temp\S\C629ACDC86F79924EA7817D956947D180922CD6F1B5638C60F0E34F205F20664.txt’ because it is being used by another process.
and as to what are the most likely causes for dealing with this message during document preview? Is it in any way related to the cache cleanup task? Or previewing of documents that match particular criteria? Another example of error message that we get logged:
Unable to add file to the local file storage: path = temp\S\B3F40EAEF1B5E11255864CB81CE335468AB16E6C1F54CE19B67F2077FD3ED732.pdf. Inner exception message: The process cannot access the file ‘\fssk01-a\Storage\GroupDocs\DocPreview\temp\S\B3F40EAEF1B5E11255864CB81CE335468AB16E6C1F54CE19B67F2077FD3ED732.pdf’ because it is being used by another process.
Is there any end-user impact when this error message is logged, what do they get exactly on the front-end when this occurs? Or is this exception caught and automatically retried by GroupDocs library?
What about this exception stack:
message="Application_Error() - unhandled GroupDocs error in website. ?.?: Unable to delete folder from the local file storage: path = temp\S\80AF62A9F40DACA2313194B8ED88B281320A138128836F914E71723FBA0DC4F0.pdf\2015-05-07T08_34_56\r. —> System.IO.IOException: The process cannot access the file ‘2_1.woff’ because it is being used by another process. at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound) at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost) at Groupdocs.Storage.LocalFileStorage.DeleteFolder(String path) — End of inner exception stack trace — at Groupdocs.Storage.LocalFileStorage.DeleteFolder(String path) at ?.?.?(String filePath, ? ranges, Int32 totalPages) at ?.?.?(String filePath, Func
2 htmlWithImageCreator, String prefixForResourceUrlsInHtml, String prefixForResourceUrlsInHtmlFiles, Nullable1 firstPageParam, Nullable`1 pageCountParam, Boolean usePngImagesForHtmlBasedEngine, Boolean convertWordDocumentsCompletely, Boolean ignoreDocumentAbsence, Boolean saveToCustomTempStorage, Boolean supportListOfContentControls, Boolean supportListOfBookmarks, Boolean embedImagesIntoHtmlForWordFiles)
at Groupdocs.Web.UI.Handlers.BaseHandler.?(IUrlsCreator urlsCreator, String path, Int32 pageIndex, Boolean usePngImages, Boolean embedImagesIntoHtmlForWordFiles)
at Groupdocs.Web.UI.Controllers.GroupdocsViewerController.GetDocumentPageHtml(String path, Int32 pageIndex, Boolean usePngImages, Boolean embedImagesIntoHtmlForWordFiles)
As you can probably imagine, I would rather see a fix implemented for this on GroupDocs side, than have to try/catch these errors and try to reload the document preview again.