Sometimes we creating excel file we get the above issue
Solutions:
Please refer the following two sites we getting the solution for this error
i)http://codingchamp.blogspot.com/2014/07/export-to-excel-number-of-arguments.html
ii)https://community.dynamics.com/ax/b/mafsarkhan/archive/2011/03/15/error-executing-code-the-method-has-been-called-with-an-invalid-number-of-parameters.aspx
Solutions:
Please refer the following two sites we getting the solution for this error
i)http://codingchamp.blogspot.com/2014/07/export-to-excel-number-of-arguments.html
ii)https://community.dynamics.com/ax/b/mafsarkhan/archive/2011/03/15/error-executing-code-the-method-has-been-called-with-an-invalid-number-of-parameters.aspx