dcom automation in windows 10 64bit home

  • Thread starter Thread starter VictorVP
  • Start date Start date
V

VictorVP

Guest
Hello all,

program (c# framework 4.5) opens new word document (ms office 365 ProPlus) and than fill of some data.

I got strange situation. my code works perfect on windows 10 professional, but does not work correct on windows 10 home.

I got this error:

>> Unable to start a DCOM Server: {00024500-0000-0000-C000-000000000046}. The error: "2147942593"
>> Happened while starting this command: C:\Program Files\Microsoft Office\Root\Office16\WINWORD.EXE /automation -Embedding

I did all what I found in internet: ... gave permissions dcomcnfg .... change settings in word app. trust center .. reinstall office ...nothing helped

but when I do manually this command C:\Program Files\Microsoft Office\Root\Office16\WINWORD.EXE /automation -Embedding and then press button in my application it works correct.

maybe someone came across a similar problem, please help :)

thanks in advance

Continue reading...
 
Back
Top