Steps are as following:
- Install Dynamic PDF Build 30555 x64 on server. (Download from http://www.crystalemr.com/downloads/wcf/dynamicpdf.zip)
- During installation, "Interactive Desktop Access...." would be asked. Allow it.
- Create "D:\Temp" folder (Or anywhere at suitable place) and give "Everyone" read and write access-rights.
- Edit "C:\Program Files (x86)\ceTe Software\DynamicPDF Converter v1.0.1 for .NET\Service\ceTe.DynamicPDF.Converter.Service.exe.config" file in notepad.
- Set "TempFilesPath" to "D:\Temp" or whatever folder you specified.
- Save and close the file. (If you can't save the file due to write-permission errors, then save-as to desktop and then copy and overwrite old file)
- Run "Services.msc" from start menu.
- Locate "DynamicPDF Converter" service. And in it's properties -> log-on, make sure that "Allow service to interact with desktop" is checked. If not check and save it. Then restart the service.
- Reg "RegEdit" from start menu.
- Go to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Windows"
- Set "NoInteractiveServices" to 0 (it may be 1 sometimes) and save.
- Restart the computer.
For Office 2010 based document generation:
- Ensure MS Office 2010 (Especially Word) is installed and activated.
- Go to "Command Prompt" as administrator.
- Run "mmc comexp.msc /32" if Office 32-bit edition is installed. Else run "mmc comexp.msc /64"
- Go to "Component Services" -> "Computers" -> "My Computer" -> "DCOM Config" -> "Microsoft Word 97-2003 Document"
- Right Click there and go to "Properties"
- Select "General" -> "Authentication Level" = "None"
- Select "Security" -> "Launch and Activation Permission" -> "Customize" -> Add "IIS_IUSRS", "Administrators", "Interactive" users
- Do same for "Access Permissions" and "Configuration Permissions"
- Select "Identity" -> "The Interactive User" (If this does not work, then select "This User" and enter "Administrator's" Credentials there.
- Apply and Close.