I am getting an error that says "Option Strict On disallows implicit conversions from 'iEnumerable(Of Match)' to 'iEnumerable(Of Match)' . The selected value is incompatible with the property type.". Is there a solution for this?

Hey everyone,
I’m currently working through the Automation Developer Associate certification. Whilst, I worked through the practice videos, I went through the content that I have been walked through. I have come across an error when using the “Match” activity, as shown below:

This says “Option Strict On disallows implicit conversions from ‘iEnumerable(Of Match)’ to ‘iEnumerable(Of Match)’ . The selected value is incompatible with the property type.” I am not sure on why I am getting this. Is there any solution for this?

Hi,

Can you try either of the following?

  • clear the field, unfocus it, then re-input the variable.

  • use Ctrl+K in the field , if you create variable manually.

image

  • save the project, close then re-open . Automatic recovery may run.

Regards,

Hi @sukh.johal

Just delete the activity and reassign it. It will solve the error. This is happening when you you change the variable type from one to another. Delete and reassign it.

Regards