ASP.NET C# - Microsoft Excel cannot open or save any more documents because there is not enough available memory or disk space - Microsoft.Office.Interop.Excel

Mangala Namal
1
Reputation point
Hi
I'm building web application use “Microsoft.Office.Interop.Excel” library to write API response to excel file.
it locally working find but following error occurred in server side .
**
Microsoft Excel cannot open or save any more documents because there is not enough available memory or disk space.
• To make more memory available, close workbooks or programs you no longer need.
• To free disk space, delete files you no longer need from the disk you are saving to.
**
- office -2019
- .net Framework 4.5
- Asp .net c# mvc
Please any one can help me.
Thank you