Please refer to the solution in the link below.
https://za-kb.sage.com/portal/app/portlets/results/viewsolution.jsp?solutionid=200525025209524&page=1&position=1&q=file%20error%2024&guest=0…