<?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 MS Excel VBO Error during Write Collection in University Forum</title>
    <link>https://community.blueprism.com/t5/University-Forum/MS-Excel-VBO-Error-during-Write-Collection/m-p/113605#M3741</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am getting the below error when trying to use the MS Excel VBO. Please suggest your thoughts on resolving the issue.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"ERROR: Internal : Could not execute code stage because exception thrown by code stage: Exception has been thrown by the target of an invocation."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Process Flow:&lt;/P&gt;&lt;P&gt;1. Read queue data using Get Report Data action&lt;/P&gt;&lt;P&gt;2. Close All Instance - MS Excel VBO (This stage results in the error: &lt;SPAN&gt;The RPC server is unavailable. which is handled in exception stage and resumed to following stages&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;3. Create Instance - MS Excel VBO&lt;/P&gt;&lt;P&gt;4. Open Workbook&amp;nbsp;- MS Excel VBO&lt;/P&gt;&lt;P&gt;5. Activate Worksheet&amp;nbsp;- MS Excel VBO&lt;/P&gt;&lt;P&gt;6. Write Collection&amp;nbsp;- MS Excel VBO (The collection can contain min 250 rows and max 5000)&lt;/P&gt;&lt;P&gt;At this stage, the process fails even after 3 retry with the error&amp;nbsp;&lt;SPAN&gt;"ERROR: Internal : Could not execute code stage because exception thrown by code stage: Exception has been thrown by the target of an invocation."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Sep 2024 13:27:51 GMT</pubDate>
    <dc:creator>Amruthasimplify</dc:creator>
    <dc:date>2024-09-06T13:27:51Z</dc:date>
    <item>
      <title>MS Excel VBO Error during Write Collection</title>
      <link>https://community.blueprism.com/t5/University-Forum/MS-Excel-VBO-Error-during-Write-Collection/m-p/113605#M3741</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am getting the below error when trying to use the MS Excel VBO. Please suggest your thoughts on resolving the issue.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"ERROR: Internal : Could not execute code stage because exception thrown by code stage: Exception has been thrown by the target of an invocation."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Process Flow:&lt;/P&gt;&lt;P&gt;1. Read queue data using Get Report Data action&lt;/P&gt;&lt;P&gt;2. Close All Instance - MS Excel VBO (This stage results in the error: &lt;SPAN&gt;The RPC server is unavailable. which is handled in exception stage and resumed to following stages&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;3. Create Instance - MS Excel VBO&lt;/P&gt;&lt;P&gt;4. Open Workbook&amp;nbsp;- MS Excel VBO&lt;/P&gt;&lt;P&gt;5. Activate Worksheet&amp;nbsp;- MS Excel VBO&lt;/P&gt;&lt;P&gt;6. Write Collection&amp;nbsp;- MS Excel VBO (The collection can contain min 250 rows and max 5000)&lt;/P&gt;&lt;P&gt;At this stage, the process fails even after 3 retry with the error&amp;nbsp;&lt;SPAN&gt;"ERROR: Internal : Could not execute code stage because exception thrown by code stage: Exception has been thrown by the target of an invocation."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 13:27:51 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/MS-Excel-VBO-Error-during-Write-Collection/m-p/113605#M3741</guid>
      <dc:creator>Amruthasimplify</dc:creator>
      <dc:date>2024-09-06T13:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: MS Excel VBO Error during Write Collection</title>
      <link>https://community.blueprism.com/t5/University-Forum/MS-Excel-VBO-Error-during-Write-Collection/m-p/113611#M3742</link>
      <description>&lt;P&gt;First, check this Support article to make sure none of the documented reasons are your cause:&amp;nbsp;&lt;A href="https://support.blueprism.com/en/support/solutions/articles/7000076847-bpe-error-exception-has-been-thrown-by-the-target-of-an-invocation-when-calling-an-action-of-the-ex" target="_blank" rel="noopener"&gt;BPE error "Exception has been thrown by the target of an invocation" when calling an action of the Excel VBO while running a Process : (blueprism.com)&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;So, here are some questions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Are you ever able to successfully use Write Collection in other processes or other scenarios?&lt;/LI&gt;&lt;LI&gt;Can you share screenshots of your inputs and outputs and screenshot the actual data in the current values of those data items to help us guess what the issue is?&lt;/LI&gt;&lt;LI&gt;Have you tried this in a separate place with some test logic and a test file to see if it happens all the time?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In my experience, the error "Exception has been thrown by the target of an invocation" can just mean absolutely anything. It could mean you are referencing something that doesn't exist (sometimes), you have a corrupted install, or you forgot to buy eggs when you went to the store earlier. It's just the actual literally most unhelpful error you will ever get in your entire time working with automating Office products. This likely is not a Blue Prism issue. Instead, you are doing something in a wrong order, giving bad input, or there is a configuration issue on your machine.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 17:59:18 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/MS-Excel-VBO-Error-during-Write-Collection/m-p/113611#M3742</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2024-09-06T17:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: MS Excel VBO Error during Write Collection</title>
      <link>https://community.blueprism.com/t5/University-Forum/MS-Excel-VBO-Error-during-Write-Collection/m-p/113726#M3752</link>
      <description>&lt;P&gt;Thanks David for your response.&lt;/P&gt;&lt;P&gt;I am able to execute the stages when using small set of dataset like less than 60 rows. The collection contains more than 60 columns. However, t&lt;SPAN&gt;he same stage is used in Production with 4k dataset which is working fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Apparently, these stages were working before. What has changed now is that I am now logging with different Windows ID since the old ID got deactivated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 02:59:52 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/MS-Excel-VBO-Error-during-Write-Collection/m-p/113726#M3752</guid>
      <dc:creator>Amruthasimplify</dc:creator>
      <dc:date>2024-09-11T02:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: MS Excel VBO Error during Write Collection</title>
      <link>https://community.blueprism.com/t5/University-Forum/MS-Excel-VBO-Error-during-Write-Collection/m-p/113728#M3753</link>
      <description>&lt;P&gt;Did you go to the Support article I linked to and verified that none of those things are the issue?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 03:07:58 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/MS-Excel-VBO-Error-during-Write-Collection/m-p/113728#M3753</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2024-09-11T03:07:58Z</dc:date>
    </item>
  </channel>
</rss>

