When trying to upload receipts in Enterprise Portal, occasionally users get the following error:
File upload error. File write error on server.
It doesn't happen all the time and appears to occur at random. In ax, the code at issue is this:
Classes\EPDocumentHandling\saveWebDocument
if (!binData.appendToFile(filePath))
{
fileWriteError = true;
break;
}
later...
if (!fileWriteError)
{
docuValue.insert();
}
else
{
// Try to delete any partially written files
// Assert for write CAS permission has been done
// BP Deviation Documented
WinAPIServer::deleteFile(filePath);
// File write error on server
error("@SYS113524");
}
I can't see the code in this BinData class so I don't know what that 'appendToFile' method does.
*This post is locked for comments
I have the same question (0)