Open suniltandan opened 4 years ago
Create the folder C:\Windows\System32\config\systemprofile\Desktop
If this does not work, try below.
In the command line put DCOMCNFG Component Services -> Computers -> My Computer -> DCOM Config Find "Microsoft Word 97 - 2003 Document" (If it is missing check if your Word is also 64 bit (if your Windows is) if it is not run mmc comexp.msc /32 instead of DCOMCNFG on step 1 as suggested by Darkseal here) Right click -> Properties Go To Tab Security and Edit the "Customize" radio buttons so that IIS_IUSRS could have rights for launch and access Go to Tab Identity and choose "The interactive user" Apply changes and try again If all this fails, go also to tab "General" and in "Authentication Level" drop down choose "None".
@iamkeyur thanks for you comment.
Those configurations are indeed necessary to run it as a service and the necessary folders/permissions are already there.
As mentioned on the original post, the call succeeds when the application is running as a service however it fails when running through the command prompt.
This issue is similar to #13 however this is also happening on export of PowerPoint and Excel.
Windows Version: 10.0.14393 (x64) OfficeToPDF Version: 1.9.0.2
The command is getting run through a script which is running through command line. The error for PowerPoint conversion:
Translated Error would be:
The error for Excel conversion:
Translated Error:
Strangely, this error seems to be resolved when running the script as a service.
Does anyone have idea on why this might be happening?