<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: Word: Cannot create ActiveX component in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Word-Cannot-create-ActiveX-component/m-p/72419#M25024</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Update:&lt;/STRONG&gt;&lt;BR /&gt;This issue turned out to be Word (or Office 365) throwing all kind of popups for the user on the VDI when running action 'MS Word VBO - Create Instance'. An admin logged in as the offending user and clicked away all popups and other nonsense that turned up. After that everything Wordy worked again.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Happy coding!&lt;BR /&gt;---------------&lt;BR /&gt;Paul&lt;BR /&gt;Sweden&lt;BR /&gt;&lt;BR /&gt;(By all means, do not mark this as the 'Best answer'! )&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Mon, 05 Feb 2024 07:30:00 GMT</pubDate>
    <dc:creator>PvD_SE</dc:creator>
    <dc:date>2024-02-05T07:30:00Z</dc:date>
    <item>
      <title>Word: Cannot create ActiveX component</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Word-Cannot-create-ActiveX-component/m-p/72416#M25021</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;
&lt;P&gt;We have two processes (let's call them process A and process B) that both run on the &lt;SPAN style="text-decoration: underline;"&gt;same VDI&lt;/SPAN&gt;. Both processes create Word documents and save them in a folder. Process A runs under &lt;SPAN style="text-decoration: underline;"&gt;user A&lt;/SPAN&gt;, and process B runs under &lt;SPAN style="text-decoration: underline;"&gt;user B&lt;/SPAN&gt;.&amp;nbsp; In order to create each document, a 'MS Word VBO - Create Instance' action is done, followed by an 'MS Word VBO - Open' action.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When process A tries to do the 'Create Instance', it always crashes with exception:&lt;BR /&gt;&lt;SPAN&gt;&lt;CODE&gt;ERROR: Internal : Could not execute code stage because exception thrown by code stage: Cannot create ActiveX component.&lt;/CODE&gt;&lt;BR /&gt;&lt;/SPAN&gt;As a result of this, no Word documents are created. Note that we kill the Word instance after each attempt.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;When process B does the same, on the same VDI, the 'Create Instance' does not fail, and the process continues with the 'Open' action and manages to create the Word document without any issues.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;When we run process A on another VDI, the 'MS Word VBO - Create Instance' action does not crash, and all documents are created correctly. So, why not schedule process A on that other VDI? Unfortunately, this gives us a scheduling head-ache with other processes. Also, since we haven't solved the problem, the issue is likely to return (at least according to &lt;A href="https://en.wikipedia.org/wiki/Murphy%27s_law"&gt;Murphy's law&lt;/A&gt;).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Of course, I did my few hours of mandatory googling before daring to ask you. On the ole interweb, i&lt;/SPAN&gt;&lt;SPAN&gt;t is alleged that the 'Cannot create ActiveX component' error is caused by a missing DLL in the BP installation. Although if you ask Microsoft the same thing, they propose to re-install MS Office.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Now for my questions.&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;If we have two users each running (different) processes on the same VDI, do these processes run in the same instances of BP and MS Office?&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;If &lt;EM&gt;Yes &lt;/EM&gt;on the previous question: &lt;BR /&gt;How come one process can handle the 'MS Word VBO - Create Instance' action correctly, while the other on the same VDI can not?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Any other suggestions relating to solving the above mystery are more than welcome.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Happy coding!&lt;BR /&gt;---------------&lt;BR /&gt;Paul&lt;BR /&gt;Sweden&lt;BR /&gt;&lt;BR /&gt;(By all means, do not mark this as the 'Best answer'! )&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Jan 2024 07:53:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Word-Cannot-create-ActiveX-component/m-p/72416#M25021</guid>
      <dc:creator>PvD_SE</dc:creator>
      <dc:date>2024-01-25T07:53:00Z</dc:date>
    </item>
    <item>
      <title>RE: Word: Cannot create ActiveX component</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Word-Cannot-create-ActiveX-component/m-p/72417#M25022</link>
      <description>&lt;P&gt;Hi Paul&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I'd attack the difference - users. What read/write permissions does UserA lack?&lt;/P&gt;
&lt;P&gt;On the 2nd VDI, is it run on UserA there too? What different permissions on that machine?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I'd look into the Users A &amp;amp; B under Computer Management on VDI1 and see what different groups they are members of. The launching of ActiveX may require permissions of full-control(or even just read)certain dlls in the System.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="27733.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/27861i1B3CFF7AE14961FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="27733.png" alt="27733.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Anton Hosang&lt;BR /&gt;Director&lt;BR /&gt;Omega RPA Ltd&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Jan 2024 17:10:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Word-Cannot-create-ActiveX-component/m-p/72417#M25022</guid>
      <dc:creator>Anton__Hosang</dc:creator>
      <dc:date>2024-01-25T17:10:00Z</dc:date>
    </item>
    <item>
      <title>RE: Word: Cannot create ActiveX component</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Word-Cannot-create-ActiveX-component/m-p/72418#M25023</link>
      <description>&lt;P&gt;Hi Anton,&lt;/P&gt;
&lt;P&gt;Good point, I'll check that out. Thanks!&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Happy coding!&lt;BR /&gt;---------------&lt;BR /&gt;Paul&lt;BR /&gt;Sweden&lt;BR /&gt;------------------------------&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 14:01:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Word-Cannot-create-ActiveX-component/m-p/72418#M25023</guid>
      <dc:creator>PvD_SE</dc:creator>
      <dc:date>2024-01-29T14:01:00Z</dc:date>
    </item>
    <item>
      <title>RE: Word: Cannot create ActiveX component</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Word-Cannot-create-ActiveX-component/m-p/72419#M25024</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Update:&lt;/STRONG&gt;&lt;BR /&gt;This issue turned out to be Word (or Office 365) throwing all kind of popups for the user on the VDI when running action 'MS Word VBO - Create Instance'. An admin logged in as the offending user and clicked away all popups and other nonsense that turned up. After that everything Wordy worked again.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Happy coding!&lt;BR /&gt;---------------&lt;BR /&gt;Paul&lt;BR /&gt;Sweden&lt;BR /&gt;&lt;BR /&gt;(By all means, do not mark this as the 'Best answer'! )&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Feb 2024 07:30:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Word-Cannot-create-ActiveX-component/m-p/72419#M25024</guid>
      <dc:creator>PvD_SE</dc:creator>
      <dc:date>2024-02-05T07:30:00Z</dc:date>
    </item>
  </channel>
</rss>

