Hi @GK_Teach-Nepal,
Do you have double quotes in your string?
If you do, please refer to this post:
Assign: Expression Activity type ‘VisualBasicValue`1’ requires compilation in order to run - Help / Studio - UiPath Community Forum
Kind regards,
Robert