Assignment 1: "System error at initialization: The given key was not present in the dictionary. at Source: mscorlib",

Hi Everyone,

Am stuck when trying to run the Main.xaml.
Am getting the error : “System error at initialization: The given key was not present in the dictionary. at Source: mscorlib”


Since its not very descriptive i cant figure out what i need to check.
Anyone, help please.

hello @charlesmutunga
please check image
spelling of Key in present excel and when your are access in Argument

Sometime space is left while you coping this

hope it will help you

Happy Automation

3 Likes

Hi @sandeep13

Thanks. Managed to get through. Now stuck at data scraping. My data is exporting in a very bad format. What should i change

image

@charlesmutunga

Data Scraping will give you output as DataTable and then use Write Range activity to write into excel file and pass that output DataTable to it.

hello @charlesmutunga
for the bad format, you can go through the @lakshman said.
as I remembered Assignment 1 does not have this type of workflow where we write data in excel.
and one thing if the above reply worked for you please mark as solution

Happy Automation

1 Like

Thanks @sandeep13
I have marked as solution. Am on GetTransactionData now and am getting this error. Which value is this:

@charlesmutunga Thanks to mark solution
Once check the value of in_WIlIst.Count

1 Like

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