Message Box: Expression Activity type 'VisualBasicValue`1' requires compilation in order to run. Please ensure that the workflow has been compiled

Hi,

I am trying to convert date format by using this
DateTime.ParseExact(In_Enddate, “yyyy-MM-dd”, CultureInfo.InvariantCulture).ToString(“dd.MM.yyyy”)
But getting this error
Message Box: Expression Activity type ‘VisualBasicValue`1’ requires compilation in order to run. Please ensure that the workflow has been compiled.
Can anyone help on this error?

Hi @jenipriya.chitravel

This issue is caused by double quote except " (0x22) in Windows project. So, can you try to replace all double quote with " (0x22)?

Regards,

@jenipriya.chitravel

DateTime.ParseExact(In_Enddate, "yyyy-MM-dd", CultureInfo.InvariantCulture).ToString("dd.MM.yyyy")

Regards,


But getting error.
Is it correct format?

@jenipriya.chitravel

Please retype the double quotes not give above expression

DateTime.ParseExact(In_Enddate, "yyyy-MM-dd", CultureInfo.InvariantCulture).ToString("dd.MM.yyyy")

This worked . Can you explain what changes you made. But i used same format

You are using inverted double quotes it is not correct

Use this quotes

@jenipriya.chitravel

Glad to be helped. Can you please close the topic by mark it as solved

1 Like

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