Using Infragistics Infragistics3.Excel.v10.3.dll to read in an .xlsx file when calling this code:
Workbook WkBook = Workbook.Load(excelWkStream);
An exception was raised: Error Occured Reading File: The value for arguement 'value' (119) is invalid for Enum type 'Page Size'
So my question is would it be possible for Infragistics to modify the code to read the file in, and if the Page Size has an incorrect enum value it would just set it to a default value?
I believe this issue has been reported already as bug ID 35691. However, that bug fix was included in the RTM version of 10.3. Would you be able to attach the file you are trying to load?
Hi Mike,
Thanks for replying.
I have uploaded the file for you to take a look at.
Could you please remove the file from the Forum once you have downloaded it.
Regards,
Martin
Thank you Martin. I have downloaded the file but I am not able to edit your post. You can remove the file now if you'd like.
Thanks again for providing the file. It has lead me to the issue, which was reported already, but the bug ID was 104138. Unfortunately, this issue was only fixed in 11.1 and later and 10.3 is no longer supported, so you will need to upgrade to get this fix. However, if you are not using any of our grid exports, the good news is that you can just upgrade the Excel assembly without upgrading any of our other assemblies.
Thank you for coming back to me so quickly and for the update.
Much appreciated.
Best Regards,