<?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: MS Outlook VBO (NetOffice) - Failed to proceed Method on Outlook.NameSpace=&amp;gt;GetDefaultFolder in Digital Exchange</title>
    <link>https://community.blueprism.com/t5/Digital-Exchange/MS-Outlook-VBO-NetOffice-Failed-to-proceed-Method-on-Outlook/m-p/118742#M4142</link>
    <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/54268"&gt;@xlxu001&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/937"&gt;@AP.Philippa&lt;/a&gt;&amp;nbsp;if you haven't grabbed the latest version of the VBO from the DX, please do so. I believe the global references have been replaced with local instances in each action on both the legacy Outlook VBO and the newer NetOffice VBO.&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Eric&lt;/P&gt;</description>
    <pubDate>Fri, 07 Feb 2025 14:20:28 GMT</pubDate>
    <dc:creator>ewilson</dc:creator>
    <dc:date>2025-02-07T14:20:28Z</dc:date>
    <item>
      <title>MS Outlook VBO (NetOffice) - Failed to proceed Method on Outlook.NameSpace=&gt;GetDefaultFolder</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/MS-Outlook-VBO-NetOffice-Failed-to-proceed-Method-on-Outlook/m-p/116474#M3990</link>
      <description>&lt;P&gt;Hello Experts!&lt;/P&gt;&lt;P&gt;We are using BP v7.3.1 and the new VBO "MS Outlook VBO (NetOffice)" to read emails using "Get Received Items (Basic)" action.&lt;/P&gt;&lt;P&gt;Outlook is started using a separate object that selects the desired profile.&lt;/P&gt;&lt;P&gt;The first call of action "Get Received Items (Basic)", everything works fine!&lt;/P&gt;&lt;P&gt;If my process closes Outlook (for any reason), opens it again, and then calls the action&amp;nbsp;"Get Received Items (Basic)", I receive the error:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;ERROR: Internal : Could not execute code stage because exception thrown by code stage: Failed to proceed Method on Outlook.NameSpace=&amp;gt;GetDefaultFolder.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After that, any call to&amp;nbsp;"MS Outlook VBO (NetOffice)", results in an exception. For example, if I call the action "Quit Outlook" I receive the error:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;ERROR: Internal : Could not execute code stage because exception thrown by code stage: Failed to proceed Method on Outlook.Application=&amp;gt;Quit&lt;/LI-CODE&gt;&lt;P&gt;I have to finish my process and start the execution from zero, then I can use the&amp;nbsp;"MS Outlook VBO (NetOffice)" again. But, if the process closes Outlook, the problem returns.&lt;/P&gt;&lt;P&gt;I've tried calling "Quit Outlook" to close Outlook before restarting it, but the problem remains the same.&lt;/P&gt;&lt;P&gt;I'd appreciate any tips about this problem.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Flavio&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 20:05:14 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/MS-Outlook-VBO-NetOffice-Failed-to-proceed-Method-on-Outlook/m-p/116474#M3990</guid>
      <dc:creator>flavio.lara</dc:creator>
      <dc:date>2024-10-23T20:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: MS Outlook VBO (NetOffice) - Failed to proceed Method on Outlook.NameSpace=&gt;GetDefaultFolder</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/MS-Outlook-VBO-NetOffice-Failed-to-proceed-Method-on-Outlook/m-p/116502#M4002</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/2360"&gt;@flavio.lara&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My guess is this issue is due to the underlying NetOffice library holding a reference to the running instance of the Outlook client. If the instance disappears for some reason, the NetOffice DLL isn't refreshing it's link.&lt;/P&gt;&lt;P&gt;We'll take a look and see if there's anything we can do to address this.&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Eric&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 15:39:04 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/MS-Outlook-VBO-NetOffice-Failed-to-proceed-Method-on-Outlook/m-p/116502#M4002</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2024-10-24T15:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: MS Outlook VBO (NetOffice) - Failed to proceed Method on Outlook.NameSpace=&gt;GetDefaultFolder</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/MS-Outlook-VBO-NetOffice-Failed-to-proceed-Method-on-Outlook/m-p/116511#M4004</link>
      <description>&lt;P&gt;Many thanks,&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I agree with you Eric, something is holding the "connection" with outlook and avoiding a new instance of Netoffice to communicate with Outlook.&lt;BR /&gt;&lt;BR /&gt;I'll share my findings... I've tried to move back to the legacy MS Outlook VBO. I've added the Outlook interop dll back to BP install folder, but I have the same problem (if I close outlook and open it again, error). Now a different error message, but an error following the same steps sequence.&lt;BR /&gt;This legacy Outlook VBO was downloaded from DX.&lt;/P&gt;&lt;P&gt;So I tried my old VBO (from BP 6.10.2) and it worked perfectly. Then I compared the codes and realized that the declaration of the app and namespace objects changed from the "Internal_Get_Items" page to a global declaration in the "Initialize" page.&lt;BR /&gt;The last VBO that declares the objects inside the&amp;nbsp;"Internal_Get_Items" page was distributed with BP 7.2.1.&lt;BR /&gt;The version on DX moved it to initialize (and rises an error following the steps I've mentioned).&lt;BR /&gt;Legacy Outlook VBO - BP v7.2.1&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="flaviolara_0-1729788388365.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39684iF937D94027764AFD/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="flaviolara_0-1729788388365.png" alt="flaviolara_0-1729788388365.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;No code in "global" declarations&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="flaviolara_1-1729788645681.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39685iC6FF9081C8000FB1/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="flaviolara_1-1729788645681.png" alt="flaviolara_1-1729788645681.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Legacy Outlook VBO from DX&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="flaviolara_2-1729788845902.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39686i7CC7448DC470A37B/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="flaviolara_2-1729788845902.png" alt="flaviolara_2-1729788845902.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Object olApp and olNamespace are declared in Global Code and initialized via code inside "Initialize" page.&lt;/P&gt;&lt;P&gt;Inside "Internal_Get Items" page the objects are used...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="flaviolara_3-1729788995927.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39687i3DD4DC067C6D4F1D/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="flaviolara_3-1729788995927.png" alt="flaviolara_3-1729788995927.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm sharing that because NetOffice VBO has the same idea. The objects are declared in Global Code, which could affect how they are "disposed" of after Outlook closes.&lt;BR /&gt;According to my tests, we have an issue with both VBOs available in DX (NetOffice and the Legacy Outlook VBO).&lt;BR /&gt;&lt;BR /&gt;As soon as we find a solution We'll move back to NetOffice VBO. For now, We'll use the version delivered with BP v7.2.1. (knowing that it will not work with the new Outlook Client)&lt;BR /&gt;&lt;BR /&gt;Thank you very much for your help.&amp;nbsp; Let us know if We can help with more details.&lt;BR /&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 17:03:40 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/MS-Outlook-VBO-NetOffice-Failed-to-proceed-Method-on-Outlook/m-p/116511#M4004</guid>
      <dc:creator>flavio.lara</dc:creator>
      <dc:date>2024-10-24T17:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: MS Outlook VBO (NetOffice) - Failed to proceed Method on Outlook.NameSpace=&gt;GetDefaultFolder</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/MS-Outlook-VBO-NetOffice-Failed-to-proceed-Method-on-Outlook/m-p/116518#M4005</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/2360"&gt;@flavio.lara&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for including your analysis. I believe we had originally changed the code in an attempt to clean up memory instead of constantly creating and releasing object references, but perhaps we'll need to roll that back.&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Eric&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 18:22:09 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/MS-Outlook-VBO-NetOffice-Failed-to-proceed-Method-on-Outlook/m-p/116518#M4005</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2024-10-24T18:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: MS Outlook VBO (NetOffice) - Failed to proceed Method on Outlook.NameSpace=&gt;GetDefaultFolder</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/MS-Outlook-VBO-NetOffice-Failed-to-proceed-Method-on-Outlook/m-p/117594#M4072</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt;&amp;nbsp;are there any updates on this topic or workaround that can be added to the Global declarations of the .Net VBO? Here are the errors we are getting:&lt;BR /&gt;ERROR: Internal : Could not execute code stage because exception thrown by code stage:&lt;BR /&gt;Failed to retrieve default folder for Account Display Name 'XXXXX'.&lt;BR /&gt;Failed to proceed PropertyGet on Outlook.NameSpace=&amp;gt;Accounts.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Dec 2024 06:04:44 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/MS-Outlook-VBO-NetOffice-Failed-to-proceed-Method-on-Outlook/m-p/117594#M4072</guid>
      <dc:creator>xlxu001</dc:creator>
      <dc:date>2024-12-15T06:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: MS Outlook VBO (NetOffice) - Failed to proceed Method on Outlook.NameSpace=&gt;GetDefaultFolder</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/MS-Outlook-VBO-NetOffice-Failed-to-proceed-Method-on-Outlook/m-p/118737#M4140</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;We are currently also experiences these types off errors when we have just relaunched Outlook. Is there already any advice on a work arround or fix for the NetOfffice Outlook VBO?&lt;/P&gt;&lt;P&gt;Looking forward to your response!&lt;/P&gt;&lt;P&gt;With kind regards,&lt;/P&gt;&lt;P&gt;Arthur Philippa&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2025 10:24:16 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/MS-Outlook-VBO-NetOffice-Failed-to-proceed-Method-on-Outlook/m-p/118737#M4140</guid>
      <dc:creator>AP.Philippa</dc:creator>
      <dc:date>2025-02-07T10:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: MS Outlook VBO (NetOffice) - Failed to proceed Method on Outlook.NameSpace=&gt;GetDefaultFolder</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/MS-Outlook-VBO-NetOffice-Failed-to-proceed-Method-on-Outlook/m-p/118742#M4142</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/54268"&gt;@xlxu001&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/937"&gt;@AP.Philippa&lt;/a&gt;&amp;nbsp;if you haven't grabbed the latest version of the VBO from the DX, please do so. I believe the global references have been replaced with local instances in each action on both the legacy Outlook VBO and the newer NetOffice VBO.&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Eric&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2025 14:20:28 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/MS-Outlook-VBO-NetOffice-Failed-to-proceed-Method-on-Outlook/m-p/118742#M4142</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2025-02-07T14:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: MS Outlook VBO (NetOffice) - Failed to proceed Method on Outlook.NameSpace=&gt;GetDefaultFolder</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/MS-Outlook-VBO-NetOffice-Failed-to-proceed-Method-on-Outlook/m-p/118744#M4144</link>
      <description>&lt;P&gt;Thank you for the heads-up. We have updated our VBO and our issues seem to have been resolved. Many thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2025 14:57:18 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/MS-Outlook-VBO-NetOffice-Failed-to-proceed-Method-on-Outlook/m-p/118744#M4144</guid>
      <dc:creator>AP.Philippa</dc:creator>
      <dc:date>2025-02-07T14:57:18Z</dc:date>
    </item>
  </channel>
</rss>

