Clear Filters
Clear Filters

Matlab2018b actxserver Problem

3 views (last 30 days)
Kishankumar Dholariya
Kishankumar Dholariya on 7 May 2021
Answered: Rishav on 7 Jun 2024
15:18:09 (07) identifier: 'MATLAB:COM:E2148145010'
15:18:09 (07) message: 'Invoke Error, Dispatch Exception: ...'
15:18:09 (07) cause: {0x1 cell}
15:18:09 (07) stack: [4x1 struct]
15:18:09 (07) 'Error using Interface.0002096C_0000_0000_C000_000000000046/Add
15:18:09 (07) Invoke Error, Dispatch Exception:
15:18:09 (07) Source: Microsoft Word
15:18:09 (07) Description: Word could not fire the event.
15:18:09 (07) Help File: wdmain11.chm
15:18:09 (07) Help Context ID: 638a
15:18:09 (07)
15:18:09 (07) Error in >wordStart (line 68)
15:18:09 (07) hdlWordDoc = invoke(word.Documents, 'Add')
Is there anyone who knows this error?
I am running the command to start Word server (Ms Word 2016 32 Bit) and then trying to add new document. At that time getting the error. I am calling this matlab script from jenkins on remote PC. (Windows10 64 bit)If I run the same command using manual login on remote PC, then it is working. on My Local computer is also working.

Answers (1)

Rishav
Rishav on 7 Jun 2024
Hi Kishankumar,
If the same command works with a manual login, then there may also be some permissions issues happening here where Jenkins is not configured to interact with Windows apps using COM. The Windows user account that the Jenkins service logs in has needs to have these permissions.
Please go through the following documentation to update these permissions on windows:
For more information on configuring Windows permissions for the Jenkins service, Microsoft support might be a good point of contact.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!