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
2021-09-08T18:56:26.857+00:00

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

Microsoft 365 and Office | Office Online Server
Microsoft 365 and Office | Excel | For business | Windows
Developer technologies | ASP.NET | Other
Developer technologies | C#
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.