Could not load file or assembly 'System.Formats.Asn1'

Good afternoon!
I am facing the following message in the “send SMTP mail message” activity.
I have already updated and tried to downgrade the packages, create a new project, restart the client

Send SMTP Mail Message: Could not load file or assembly ‘System.Formats.Asn1, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’. The system cannot find the file specified.

@Allan_Marcello,

Add this namespace from import panel on the xaml file.

Hi @ashokkarale,
Could you please tell me how to do this, I’m new to UiPath

@Allan_Marcello,

Follow this documentation.

@ashokkarale
I did the import, restarted the client but the error persists.

@Allan_Marcello,

Follow this hardcode way to import the namespace.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.