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

“ResizedFile” +“_”+DateTime.Now.ToString(“yyyy_MM_dd__hh_mm”)+“.png” I am getting an error saying “ImageResizer: Expression Activity type ‘VisualBasicValue`1’ requires compilation in order to run. Please ensure that the workflow has been compiled.”

Hi @JOBIN_JOSE

Please remove double quotes from the expression and retype it

"ResizedFile" +"_"+DateTime.Now.ToString("yyyy_MM_dd__hh_mm")+".png"

Hi,

This error is caused by double quotation except " character (0x22) in windows project.

Can you try to replace (retype) all the double quotations with " (0x22)?
(Please copy and paste if necessary)

Regards,

you mean like this - “ResizedFile”+“_”+DateTime.Now.ToString(yyyy_MM_dd__hh_mm)+“.png” ?

@JOBIN_JOSE

Not inverted commas ,retype the double quotes

Not Correct - ”
Correct - "

Hi,

The following post also help you.

Regards,

HI @JOBIN_JOSE
Retype this way:

"ResizedFile" +"_"+DateTime.Now.ToString("yyyy_MM_dd__hh_mm")+".png"

Hope it helps!!

Hi @JOBIN_JOSE

Try this:
"ResizedFile_" + DateTime.Now.ToString("yyyy_MM_dd__hh_mm") + ".png"

Hope it’s clarified @JOBIN_JOSE

If yes then I would recommend to close this topic

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