A "Directory name is invalid" Error Occurs When Laserfiche Forms Attempts to Save a Submitted Form to Laserfiche.

August 19, 2013 | KB: 1013300
Laserfiche Forms 9

Summary

In certain situations, Laserfiche Forms may not save submitted forms to Laserfiche even if the Save to Laserfiche option is properly configured.

The Windows Event Viewer will contain messages from the Laserfiche Forms Routing Service similar to the following:

    Message: The directory name is invalid
    Stack trace: at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
    at System.Diagnostics.Process.Start()
    at Laserfiche.Forms.Routing.HtmlToPdfConverter.GeneratePrint()
    at Laserfiche.Forms.Routing.SaveToLFService.GetPrintFromHtmlForm()
    at Laserfiche.Forms.Routing.SaveToLFService.GetPDFAndSaveToLF()

Cause

A PDF conversion component may not be installed correctly.

Workaround

Manually run wkhtmltox-0.11.0_rc1-installer.exe located in the Laserfiche Forms installation package to install the PDF conversion component. The executable is located in the Support subfolder of the Laserfiche Forms installation package.