LotusScript - Issue with MS word processing on HCL Domino 11 server

316 views Asked by At

I am trying to create Word object and open existing word file in web based Domino application. I am able to create the word application and open document when I run the same script in Notes client on Domino server. However I am receiving "Type mismatch" error when I run it through web agent on server.

Version - MS word for MS office 365

HCL Domino server version 11

Following is the Lotusscript code present in the Agent. Agent has "Allow restricted operations with full administrative rights" selected.

Dim offApp as variant

Dim offDoc as variant

Set offApp = CreateObject("Word.Application") --- Word object is created successfully.

Set offDoc = offApp.documents.Open(tempDir & "Test.docx") ---- Error - Type mismatch

0

There are 0 answers