Add Config Key/value pair: Column 'Value' does not belong to table DataTable. Config file creation

I have created a config file in my project (RE Framework is not used) , while running am getting error “Add Config Key/value pair: Column ‘Value’ does not belong to table DataTable.” but is working in window legacy not working in Windows.
PFA screenshot for the reference.

Please give me any suggestion.

Hi,

For now, can you check if the datatable is what you expect?

Regards,

I have 3 columns in my config excel i.e Name (1st Column), Value (2nd Column) and Description (3rd column). am extracting Value column

Hi

Can you try to set Break point at the activity, then check content of the datatable at Local panel when debug run?

Regards,

Hi @vanithavs

  1. Create Config is Dictionary
  2. Read Excel using either workbook or Excel Activities, output is DataTable
  3. Use ForEach Data Table
    Row =>DataTable
  4. Assign Config(Row(“Name”).ToString)=Config(Row(“Value”).ToString)

I hope It will help you…

Thank you…

Now it is working. In Read Range activity I provided the range “”. Thank you all

1 Like

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