It might be due to an issue with the file path configuration. Here are some possible solutions:
Verify Path Configuration: Double-check the file path configuration in Dynamics AX2012 R3. Ensure that the path specified for saving the PDF file is correct and accessible.
Update Path Configuration: If the path is incorrect or inaccessible, update it to a valid and accessible location on the server or network where Dynamics AX2012 R3 is installed.
Check Permissions: Ensure that the user or service account running the code has sufficient permissions to access and write files to the specified path. Adjust the permissions accordingly if necessary.
Test Path Accessibility: Manually verify if the specified file path exists and can be accessed by navigating to it using File Explorer on the server where Dynamics AX2012 R3 is installed.
André Arnaud de Cal...
293,097
Super User 2025 Season 1
Martin Dráb
231,872
Most Valuable Professional
nmaenpaa
101,156
Moderator