<?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 Hi,  I have written code in Visual basic to connect to Azure Storage Blob and download it. It works on Visual Studio IDE but when I try to create an object based on the code I am still getting errors &amp;quot;could not load file or assembly. The full error message:  Internal : Could not execute code stage because exception thrown by code stage: Could not load file or assembly 'System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.  External References: System.dll System.Data.dll System.Xml.dll System.Drawing.dll System.Core.dll Azure.Core.dll Azure.Storage.Blobs.dll netstandard.dll Azure.Storage.Common.dll System.Runtime.dll System.Memory.dll  Namespace Imports: System System.Drawing System.Data Azure.Storage.Blobs Azure.Core Microsoft.VisualBasic Azure System.Runtime  MyCode: 'Declare variables Dim SAS_Token As String Dim Blob_Url As String Dim destination_pat As String  'Variables SAS_Token = &amp;quot;s in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Hi-I-have-written-code-in-Visual-basic-to-connect-to-Azure/m-p/60594#M14028</link>
    <description>&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have written code in Visual basic to connect to Azure Storage Blob and download it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It works on Visual Studio IDE but when I try to create an object based on the code I am still getting errors "could not load file or assembly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The full error message:&amp;nbsp; Internal : Could not execute code stage because exception thrown by code stage: Could not load file or assembly 'System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;External References:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System.Data.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System.Xml.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System.Drawing.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System.Core.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Azure.Core.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Azure.Storage.Blobs.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;netstandard.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Azure.Storage.Common.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System.Runtime.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System.Memory.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Namespace Imports:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System.Drawing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System.Data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Azure.Storage.Blobs&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Azure.Core&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Microsoft.VisualBasic&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Azure&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System.Runtime&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;MyCode:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'Declare variables&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim SAS_Token As String&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim Blob_Url As String&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim destination_pat As String&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;'Variables&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SAS_Token = "sv=2020-07-04&amp;amp;st=2019-03-14714%3A12%3A54Z&amp;amp;se=2025-12-31T14%3A12%3A00Z&amp;amp;sr=c&amp;amp;sp=rdl&amp;amp;sig=YTryIR1idyBn3sK720o5ZBa9TjJ7rwrBW62pV0%3D"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Blob_Url = "https://servernew.blob.core.windows.net/bot-new/QA/83e65d5.zip"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;destination_pat = "C:\Users\BOT222\Desktop\New folder\test.zip"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;'Create serviceUri object&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim serviceUri As New Uri(Blob_Url)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'Create sasCredential object&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim sasCredential As New AzureSasCredential(SAS_Token)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'Create BlobClient object&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim blobClient As New BlobClient(serviceUri, sasCredential)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;blobClient.DownloadTo(destination_pat)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have idea what should be done to make this code works or do you have ready object to work with?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Mateusz Wojcik&lt;BR /&gt;RPA Programist&lt;BR /&gt;Rockwell Automation&lt;BR /&gt;Europe/Warsaw&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Tue, 26 Apr 2022 11:42:00 GMT</pubDate>
    <dc:creator>MateuszWojcik</dc:creator>
    <dc:date>2022-04-26T11:42:00Z</dc:date>
    <item>
      <title>Hi,  I have written code in Visual basic to connect to Azure Storage Blob and download it. It works on Visual Studio IDE but when I try to create an object based on the code I am still getting errors "could not load file or assembly. The full error message:  Internal : Could not execute code stage because exception thrown by code stage: Could not load file or assembly 'System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.  External References: System.dll System.Data.dll System.Xml.dll System.Drawing.dll System.Core.dll Azure.Core.dll Azure.Storage.Blobs.dll netstandard.dll Azure.Storage.Common.dll System.Runtime.dll System.Memory.dll  Namespace Imports: System System.Drawing System.Data Azure.Storage.Blobs Azure.Core Microsoft.VisualBasic Azure System.Runtime  MyCode: 'Declare variables Dim SAS_Token As String Dim Blob_Url As String Dim destination_pat As String  'Variables SAS_Token = "s</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Hi-I-have-written-code-in-Visual-basic-to-connect-to-Azure/m-p/60594#M14028</link>
      <description>&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have written code in Visual basic to connect to Azure Storage Blob and download it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It works on Visual Studio IDE but when I try to create an object based on the code I am still getting errors "could not load file or assembly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The full error message:&amp;nbsp; Internal : Could not execute code stage because exception thrown by code stage: Could not load file or assembly 'System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;External References:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System.Data.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System.Xml.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System.Drawing.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System.Core.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Azure.Core.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Azure.Storage.Blobs.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;netstandard.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Azure.Storage.Common.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System.Runtime.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System.Memory.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Namespace Imports:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System.Drawing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System.Data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Azure.Storage.Blobs&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Azure.Core&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Microsoft.VisualBasic&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Azure&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System.Runtime&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;MyCode:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'Declare variables&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim SAS_Token As String&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim Blob_Url As String&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim destination_pat As String&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;'Variables&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SAS_Token = "sv=2020-07-04&amp;amp;st=2019-03-14714%3A12%3A54Z&amp;amp;se=2025-12-31T14%3A12%3A00Z&amp;amp;sr=c&amp;amp;sp=rdl&amp;amp;sig=YTryIR1idyBn3sK720o5ZBa9TjJ7rwrBW62pV0%3D"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Blob_Url = "https://servernew.blob.core.windows.net/bot-new/QA/83e65d5.zip"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;destination_pat = "C:\Users\BOT222\Desktop\New folder\test.zip"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;'Create serviceUri object&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim serviceUri As New Uri(Blob_Url)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'Create sasCredential object&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim sasCredential As New AzureSasCredential(SAS_Token)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'Create BlobClient object&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim blobClient As New BlobClient(serviceUri, sasCredential)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;blobClient.DownloadTo(destination_pat)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have idea what should be done to make this code works or do you have ready object to work with?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Mateusz Wojcik&lt;BR /&gt;RPA Programist&lt;BR /&gt;Rockwell Automation&lt;BR /&gt;Europe/Warsaw&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Apr 2022 11:42:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Hi-I-have-written-code-in-Visual-basic-to-connect-to-Azure/m-p/60594#M14028</guid>
      <dc:creator>MateuszWojcik</dc:creator>
      <dc:date>2022-04-26T11:42:00Z</dc:date>
    </item>
    <item>
      <title>RE: Hi,  I have written code in Visual basic to connect to Azure Storage Blob and download it. It works on Visual Studio IDE but when I try to create an object based on the code I am still getting errors "could not load file or assembly. The full error message:  Internal : Could not execute code stage because exception thrown by code stage: Could not load file or assembly 'System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.  External References: System.dll System.Data.dll System.Xml.dll System.Drawing.dll System.Core.dll Azure.Core.dll Azure.Storage.Blobs.dll netstandard.dll Azure.Storage.Common.dll System.Runtime.dll System.Memory.dll  Namespace Imports: System System.Drawing System.Data Azure.Storage.Blobs Azure.Core Microsoft.VisualBasic Azure System.Runtime  MyCode: 'Declare variables Dim SAS_Token As String Dim Blob_Url As String Dim destination_pat As String  'Variables SAS_Token</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Hi-I-have-written-code-in-Visual-basic-to-connect-to-Azure/m-p/60595#M14029</link>
      <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="23f2a0d8-1666-45b1-9b6f-20f82f6a4cab" data-tag-text="@Mateusz Wojcik" href="https://community.blueprism.com/network/profile?UserKey=23f2a0d8-1666-45b1-9b6f-20f82f6a4cab" data-itemmentionkey="d1adb81e-8a6c-4aec-ac74-0879b7413a57"&gt;@Mateusz Wojcik&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;What version of Blue Prism are you running? Have you checked the Automate folder to see if there is a System.Memory.dll file in it​?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Apr 2022 12:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Hi-I-have-written-code-in-Visual-basic-to-connect-to-Azure/m-p/60595#M14029</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-04-26T12:24:00Z</dc:date>
    </item>
  </channel>
</rss>

