Error creating PDF: One or more errors occurred. Details: Exception of type 'System.Exception' was thrown.
Scenario
- Run a comparison between two documents.
- Under Convert group, click the PDF button and click Create.
- Notice an error occurs: Error creating PDF: One or more errors occurred. Details: Exception of type 'System.Exception' was thrown.
Resolution
- Upgrade to Professional 9.5.3. Learn how to download the latest version of Workshare.
- If you're on Workshare 9 Update 7b or 9.5.2 and you're unable to upgrade, please raise a case to Workshare Support and request patch CR01129786.
Workaround
You often see similar errors thrown (as below) when converting documents to PDF.- Ensure the Workshare PDF Publisher exists under Devices and Printers. If not, reinstall it by running the install.exe from C:\Program Files (x86)\Workshare\Modules\.
- Open the Printer Properties - Ports of the Workshare PDF Publisher, and ensure the port is set to nul: and not configured for an additional port.
- Ensure there is a default printer is set under Devices and Printers.
- Repair Workshare software under Control Panel - Programs and Features.