<?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: Outlook VBO - Account Display Name error in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-Account-Display-Name-error/m-p/109448#M49566</link>
    <description>&lt;P&gt;Hi Eric,&lt;/P&gt;&lt;P&gt;I am having this same issue where it states "unable to find account display name", I have tried all possible variations of the display name I can find, and I have also tried your code change but that didn't work for me&lt;/P&gt;&lt;P&gt;I'm using 'Send Email' on the MS Outlook Email VBO - is there any other solution you can think of?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;</description>
    <pubDate>Fri, 12 Apr 2024 12:51:04 GMT</pubDate>
    <dc:creator>at392</dc:creator>
    <dc:date>2024-04-12T12:51:04Z</dc:date>
    <item>
      <title>Outlook VBO - Account Display Name error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-Account-Display-Name-error/m-p/96917#M45041</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Using the action 'Send Email' in MS Outlook VBO v10.2.2 on BP v6.8.3, I strike upon a peculiar error when using the "Account Display Name" parameter:&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;CODE&gt;Internal : Could not execute code stage because exception thrown by code stage: &lt;/CODE&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;CODE&gt;Unable to find Account Display Name 'X'.&lt;/CODE&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;CODE&gt;Public member 'Cast' on type 'Accounts' not found.&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;I have concluded that the following code line is throwing the exception:&lt;BR /&gt;&lt;CODE&gt;Dim aa As List(Of Account) = olNamespace.Accounts.Cast(Of Account).ToList()&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;However, when trying to find more information on this error, I have struck a brick wall.&lt;BR /&gt;&lt;BR /&gt;If anyone have experience of this error, or have any creative ideas on how to resolve it, I would very much appreciate your support.&lt;BR /&gt;&lt;BR /&gt;BR/Johan&lt;/DIV&gt;</description>
      <pubDate>Fri, 23 Dec 2022 15:10:48 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-Account-Display-Name-error/m-p/96917#M45041</guid>
      <dc:creator>JohanLorentzon</dc:creator>
      <dc:date>2022-12-23T15:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Outlook VBO - Account Display Name error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-Account-Display-Name-error/m-p/96918#M45042</link>
      <description>&lt;P&gt;Hi Johan,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I replicated this issue,&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35207.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35266iC83C7128EF630426/image-size/large?v=v2&amp;amp;px=999" role="button" title="35207.png" alt="35207.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;it's a namespace initiation issue, and also check the "&lt;SPAN&gt;Account Display Name" field "X" is added I guess&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35208.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35270i0846B1A384F49FDC/image-size/large?v=v2&amp;amp;px=999" role="button" title="35208.png" alt="35208.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Prasanth&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Software Engineer | RPA Developer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;------------------------------&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 17:48:24 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-Account-Display-Name-error/m-p/96918#M45042</guid>
      <dc:creator>Prasanth_IRPA_Dev</dc:creator>
      <dc:date>2022-12-23T17:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Outlook VBO - Account Display Name error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-Account-Display-Name-error/m-p/96919#M45043</link>
      <description>Hi Prasanth,&lt;BR /&gt;&lt;BR /&gt;Thank you for your reply.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Unfortunately, "U&lt;SPAN&gt;nable to find Account Display Name 'X'." is a generic error message thrown whenever an error is caught within the Try-Catch block encompassing the code regarding Account Display Name. Hence, all exceptions occurring within that block will result in that very error message. &lt;BR /&gt;&lt;BR /&gt;However, the specific error message is the latter part - i.e. "Public member 'Cast' on type 'Accounts' not found."&amp;nbsp; The only part where "Cast" is used on the "Accounts" object is "Dim aa As List(Of Account) = olNamespace.Accounts.Cast(Of Account).ToList()".&lt;/SPAN&gt;</description>
      <pubDate>Tue, 27 Dec 2022 14:04:31 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-Account-Display-Name-error/m-p/96919#M45043</guid>
      <dc:creator>JohanLorentzon</dc:creator>
      <dc:date>2022-12-27T14:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Outlook VBO - Account Display Name error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-Account-Display-Name-error/m-p/96920#M45044</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/3088"&gt;@JohanLorentzon&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I believe this comes down to a combination of the Blue Prism version and the version(s) of the .NET Framework installed. Try changing the following line of code:&lt;BR /&gt;
&lt;PRE class="language-vbnet"&gt;&lt;CODE&gt;Dim aa As List(Of Account) = olNamespace.Accounts.Cast(Of Account).ToList()&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;Change it to this:&lt;/P&gt;
&lt;PRE class="language-vbnet"&gt;&lt;CODE&gt;Dim aa = TryCast(CObj(olNamespace.Accounts), List(Of Account))
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Eric&lt;/P&gt;
&lt;BR /&gt;​</description>
      <pubDate>Tue, 27 Dec 2022 16:22:34 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-Account-Display-Name-error/m-p/96920#M45044</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-12-27T16:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Outlook VBO - Account Display Name error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-Account-Display-Name-error/m-p/109448#M49566</link>
      <description>&lt;P&gt;Hi Eric,&lt;/P&gt;&lt;P&gt;I am having this same issue where it states "unable to find account display name", I have tried all possible variations of the display name I can find, and I have also tried your code change but that didn't work for me&lt;/P&gt;&lt;P&gt;I'm using 'Send Email' on the MS Outlook Email VBO - is there any other solution you can think of?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 12:51:04 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-Account-Display-Name-error/m-p/109448#M49566</guid>
      <dc:creator>at392</dc:creator>
      <dc:date>2024-04-12T12:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Outlook VBO - Account Display Name error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-Account-Display-Name-error/m-p/112122#M50269</link>
      <description>&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having the same issue - did you find a solution to this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Josie&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 14:18:05 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-Account-Display-Name-error/m-p/112122#M50269</guid>
      <dc:creator>j.cleary</dc:creator>
      <dc:date>2024-07-04T14:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Outlook VBO - Account Display Name error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-Account-Display-Name-error/m-p/112185#M50291</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1330"&gt;@Prasanth_IRPA_Dev&lt;/a&gt;. After several hours of research and testing it seems that you had already posted the solution here a while ago&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;. At first I thought it wasn't going to work because I was forgetting to execute the Initialize action/page manually after the change.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Object:&amp;nbsp;MS Outlook Email VBO 10.4.1&lt;/LI&gt;&lt;LI&gt;Action: Get Received Items (Expert)&lt;/LI&gt;&lt;LI&gt;Details: exception when trying to use "Account Display Name" input parameter&lt;/LI&gt;&lt;LI&gt;Blue Prism Version: 7.3&lt;/LI&gt;&lt;LI&gt;Temporary Solution: change "Dim olNamespace As Object" with "Dim olNamespace As Microsoft.Office.Interop.Outlook.NameSpace" in the Global Code tab&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/944"&gt;@electroisok&lt;/a&gt;&amp;nbsp;&lt;A href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/56804" target="_blank"&gt;@Gbril&lt;/A&gt;&amp;nbsp;&lt;A href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/648" target="_blank"&gt;@jhogelp&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 00:52:35 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Outlook-VBO-Account-Display-Name-error/m-p/112185#M50291</guid>
      <dc:creator>jiarenales</dc:creator>
      <dc:date>2024-07-08T00:52:35Z</dc:date>
    </item>
  </channel>
</rss>

