Hello all.
I am using get credentials activity to login into SAP. But getting the below error.
Error ERROR Validation Error Compiler error(s) encountered processing expression “SAPPassword”.
Value of type ‘System.Security.SecureString’ cannot be converted to ‘String’. Main.xaml
Hi @happyfeat87 ,
I think the error may be happening since you have passed the SAPPassword
variable in the Password
Property instead of Secure Password
Property of the Activity.
1 Like
Hi @happyfeat87 ,
You have to convert the secureString to String using this
new System.Net.NetworkCredential(String.Empty, secstr_password).Password
Kind Regards,
Ashwin A.K
1 Like
Can you click “Standard”, clear the password, then click “Secure” again and fill in “SAPPassword”
and make sure “Is Secure” is checked
2 Likes
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.