web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Error when attempting EP receipt upload

(0) ShareShare
ReportReport
Posted on by 3,155

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)
  • b_radlyjames Profile Picture
    3,155 on at

    Looks like it is some other issue.  I changed the file path from the original network share to a path on my local machine.  Issue goes away completely.

  • Verified answer
    b_radlyjames Profile Picture
    3,155 on at

    We had to put the storage of these documents on the actual AOS machine.  Works great!

  • adnansial Profile Picture
    575 on at

    but for me it is not getting resolved. I have changed the documents folder to AOS

  • Shirdel Profile Picture
    5 on at

    am having the same issue any other solution 

  • b_radlyjames Profile Picture
    3,155 on at

    The solution I provided worked for us so I have no other solution.

  • kvnkk Profile Picture
    800 on at

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans