Blue Prism Product

 View Only
last person joined: 23 hours ago 

This community covers the core Blue Prism product.

Expand all | Collapse all

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 = "sv=2020-07-04&st=2019-03-14714%3A12%3A54Z&se=2025-12-31T14%3A12%3A00Z&sr=c&sp=rdl&sig=YTryIR1idyBn3sK720o5ZBa9TjJ7rwrBW62pV0%3D" Blob_Url = "https://servernew.blob.core.windows.net/bot-new/QA/83e65d5.zip" destination_pat = "C:\Users\BOT222\Desktop\New folder\test.zip" 'Create serviceUri object Dim serviceUri As New Uri(Blob_Url) 'Create sasCredential object Dim sasCredential As New AzureSasCredential(SAS_Token) 'Create BlobClient object Dim blobClient As New BlobClient(serviceUri, sasCredential) blobClient.DownloadTo(destination_pat) Do you have idea what should be done to make this code works or do you have ready object to work with? Thank you in advance

  • 1.  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

    Posted 04-26-2022 12:42
    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 = "sv=2020-07-04&st=2019-03-14714%3A12%3A54Z&se=2025-12-31T14%3A12%3A00Z&sr=c&sp=rdl&sig=YTryIR1idyBn3sK720o5ZBa9TjJ7rwrBW62pV0%3D"
    Blob_Url = "https://servernew.blob.core.windows.net/bot-new/QA/83e65d5.zip"
    destination_pat = "C:\Users\BOT222\Desktop\New folder\test.zip"

    'Create serviceUri object
    Dim serviceUri As New Uri(Blob_Url)
    'Create sasCredential object
    Dim sasCredential As New AzureSasCredential(SAS_Token)
    'Create BlobClient object
    Dim blobClient As New BlobClient(serviceUri, sasCredential)


    blobClient.DownloadTo(destination_pat)

    Do you have idea what should be done to make this code works or do you have ready object to work with?

    Thank you in advance

    ------------------------------
    Mateusz Wojcik
    RPA Programist
    Rockwell Automation
    Europe/Warsaw
    ------------------------------


  • 2.  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

    Posted 04-26-2022 13:24
    @Mateusz Wojcik,

    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​?

    Cheers,

    ------------------------------
    Eric Wilson
    Director, Integrations and Enablement
    Blue Prism Digital Exchange
    ------------------------------



Welcome to the Blue Prism Product Community!

Whether you’re looking to manage a complex infrastructure, maintain security and compliance, bring new products to market faster, or gain operational speed and agility in an uncertain economy, Blue Prism delivers — with the flexibility you need to create the business you want. From deployment on-premise, through a cloud service provider or as SaaS, to a skillful and adaptable digital workforce that continually expands to meet your enterprise needs, you can gain enhanced operational insight and control while your people reclaim the time they need to focus on great work.

Product PageKnowledge BaseBlue Prism Training Offering

FAQs

Blue Prism is intelligent automation — business-developed, no-code automation that pushes the boundaries of robotic process automation (RPA) to deliver value across any business process in a connected enterprise.

A combination of RPA with expanded cognitive and AI capabilities, Blue Prism is different than other automation technology on the market. With one Blue Prism license, you gain instant access to an already AI equipped digital workforce, along with the tools you need to build and delegate automations. Click here for more information on Blue Prism and Intelligent Automation.
To learn more about how Blue Prism can help your organization and how much it will cost to get started, please Contact our Sales department.
Blue Prism can be downloaded from our customer portal. If you would like to consume or download any material it is necessary to create an account on the Portal. Once you have registered, you can access the download options for Blue Prism here.
Yes! Installed on your own machine and supported by our training materials and product documentation, you can use all the features of the full enterprise product for free with our Blue Prism Trial – giving you the opportunity to learn the basics before moving to a full production implementation. Click here for more information and to download the trial.
Yes! You can access our known issue list for Blue Prism from our Support Portal.
Regardless of your industry, Blue Prism’s Digital Workforce can adhere to strict governance and compliance standards without limiting productivity. Click here for more information on how your industry can benefit from Blue Prism.