Answers

Did you try to do a Select * to see if the columns you are expecting exists in the excel file ? Maybe there are some mis-written column names which cannot be found in the excel file which is assume. For debugging purposes use a try catch and execute the command with Select * in the catch path to see if the (in the command) mentioned columns exist.

Did you try to do a Select * to see if the columns you are expecting exists in the excel file ? Maybe there are some mis-written column names which cannot be found in the excel file which is assume. For debugging purposes use a try catch and execute the command with Select * in the catch path to see if the (in the command) mentioned columns exist.