'MS Access 2016 Can't export to pdf
screenshot of errorHaving an issue regullary that I can't export a report to PDF from print preview using Windows 7 & Access 2016. Get the following error: Microsoft Access can't save the output data to the file you've selected
- The file may be open. If so, close it, and then save the output data to the file again.
- If you are using a template, check to make sure the template exits.
- If the file isn't open, chect to make sure that you have enough free disk space.
- Make sure that the file exists on the path specified.
- Check to make sure you have permission to write to the specified folder.
Cannot find any issues, except the file doesn't exists but the specific folder does.
Does anyone have a suggestion how to overcome this? This is not even with VBA code, straight from print preview. Any help appreciate
Solution 1:[1]
Out of windows folders advances security, took ownership and subfolders and it seems to work for now. Thanks
Solution 2:[2]
The fix
Unticking PDF/A compliant worked to clear the error message in my case.
External Data > PDF or XPS > [Options ...] > PDF/A compliant: untick > [OK] > Optimize for: Standard (publishing online and printing) > [Publish]
Another workaround
Avoid the "PDF or XPS" command and go via:
Print > Printer Name: Microsoft Print to PDF > [OK] > MyFileName.pdf > [Save]
Solution 3:[3]
You can run tests on localhost. I think WSL shares the same IP address.
Solution 4:[4]
We can use web-browser with loaclhost for testing webserver on wsl . We can test it by running on wsl this: "python3 -m http.server 8000"
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Cubitte |
| Solution 2 | |
| Solution 3 | B.Quinn |
| Solution 4 |
