Unable to generate PDF documents - SmartPlant Foundation - IM Update 46 - Help - Hexagon

SmartPlant Foundation Help

Language
English
Product
SmartPlant Foundation
Search by Category
Help
SmartPlant Foundation / SDx Version
10
SmartPlant Markup Plus Version
10.0 (2019)
Smart Review Version
2020 (15.0)

This functionality was modified in an update. For more information, see Additional settings and tips required for generating a PDF/CSF (modified in an update).

If PDF generation fails, perform the following troubleshooting steps to determine the source of the problem.

  • SmartPlant Markup Plus can be used to generate PDF documents, depending on the type of file you are converting to PDF. For more information about configuring PDF generation on the application server, refer to Configure PDF generation.

  • A default time out period of 600 seconds is applied if the dmredl.exe command is used for PDF generation. You can change this time out value by adding the -t [n] parameter to the end of the command, for example: dmredl -p "C:\temp\inputfile.docx" -pdf "C:\temp" -t 800.

  1. Confirm that SmartPlant Markup Plus is installed properly on the application server.

    SHARED Tip For information on installing SmartPlant Markup Plus, refer to SmartPlant Markup Plus Installation and Setup.

  2. Confirm that the special printers for PDF generation are installed on the server: SmartPlant PDF Converter NNN (where NNN denotes the version number)

    SHARED Tip If the appropriate printer is not present, you may need to either reinstall the printer or the component. For information on installing the printer for SmartPlant Markup Plus, see Cannot generate PDF files.

  3. Execute the following command on the application server to test whether the application can generate PDF documents.

    • If using SmartPlant Markup Plus, substitute your source file name and full path for obj.Name and the full path to the target folder location for $OUTPUTDIR:

      dmredl.exe -p obj.Name -pdf $OUTPUTDIR

      Example: dmredl.exe -p "C:\PIDFiles\Turbine.pid" -pdf "C:\PIDFiles"

  4. Confirm that the source file type is configured for PDF generation in the Desktop Client.

    SHARED Tip For information detailing the expected configuration for PDF generation in the Desktop Client, refer to Set up PDF generation.

  5. Confirm that the SPFRemoteServices user has logged on to the application server at least once.

  6. Confirm that the SPFRemoteServices user on the application server has permissions to all PDF-generation-related folders on the server.

    SHARED Tip These folder locations include the installation folders for SmartPlant Markup Plus and temporary folders on the server. For more information on security and permissions settings, refer to Configure security on the application server.

  7. If the Remote Service virtual directory in IIS is set to SSL, ensure that the RemoteServiceURL property has been updated to use HTTPS.

    See Remote Service Settings node properties and Site Settings node properties for updating the properties.