File attachment issue: Error 500 - Internal Server Error. The server could not retrieve the document due to server-configuration or other technical problems.