Open Closed

Export to Excel fails on Web Farm #9757


0
ashvinu created

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version? 8.1.0
  • What is your product type (Angular or MVC)? MVC
  • What is product framework type (.net framework or .net core)? >net core

Hi,

we have deployed the application on a production environment which consists of a web farm, a load balancer and 2 IIS servers (windows server 2019). When trying to export results to Excel, I get an error that the file can't be found or does not exist.

Note that we also have a pre production environment with only 1 IIS server and no load balancer. And export to Excel works fine on this environment.

I think the the problem is that the file is being saved on a temp file cache.

Do you have any sample code on how to override this behaviour and save the file temporarily somewhere other than cache?

Thanks and Regards


1 Answer(s)