[Advanced Excel] I'm getting an error when trying to open a workbook from RecordListToExcel.
excel-png
Service icon
Forge component by Carlos Freitas
Application Type
Traditional Web
Service Studio Version
11.12.3 (Build 50494)

Hi all,

I'm building a list of information and in the end I use the RecordListToExcel component and then the Workbook_Open with the generated binary in the RecordListToExcel, but when I try to open the workbook I always get the below error:

"The file is not an valid Package file. If the file is encrypted, please supply the password in the constructor. "

This happens all before downloading the file.

Check the attached image.

Can anyone help me with what it could be?

Thanks!

Code.PNG

In my personal area everything works fine but when it is implemented in the client's environment we get this error.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.