Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot export files on IIS Server #883

Closed
thuxeko opened this issue Jul 3, 2019 · 1 comment
Closed

Cannot export files on IIS Server #883

thuxeko opened this issue Jul 3, 2019 · 1 comment

Comments

@thuxeko
Copy link

thuxeko commented Jul 3, 2019

Hello.

I used Exceljs to read a file and then put the data in and pack it back to the user. My code is as follows:

this.http.get('assets/Temp/demo.xlsx', { responseType: 'arraybuffer' })
.subscribe(data => {
var workbook = new Workbook();
console.log('1');
workbook.xlsx.load(data)
.then(function () {
console.log('2');
var worksheet = workbook.getWorksheet("Demo");
worksheet.addRows(lstData);
workbook.xlsx.writeBuffer().then(buff => {
console.log('3');
});
});
});

When I build the application on my computer, the code runs normally and returns the message in turn: 1-2-3. But when I put the build application on the IIS Server, only the message will appear: 1. There are no error messages displayed on the console screen. I don't know if I did something wrong. I hope everyone will help me. Thanks

@carolharry
Copy link

This post suggest to downgrade exceljs version to 1.10.0 #871

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants