Error in Excel.Save() Method

Hello -

My system is at times generating these errors:



System.Exception: Errors in Excel Save method —> System.Runtime.InteropServices.COMException (0x80070079): The semaphore timeout period has expired.

at System.Runtime.InteropServices.UCOMIStream.Write(Byte[] pv, Int32 cb, IntPtr pcbWritten)

at Aspose.Excel.Record.e.a(bm A_0)

at Aspose.Excel.Worksheets.f(bm A_0)

at Aspose.Excel.Worksheets.d(bm A_0)

at Aspose.Excel.Worksheets.a(String A_0, SaveType A_1, FileFormatType A_2, HttpResponse A_3)

— End of inner exception stack trace —

at Aspose.Excel.Worksheets.a(UInt32 A_0, Exception A_1)

at Aspose.Excel.Worksheets.a(String A_0, SaveType A_1, FileFormatType A_2, HttpResponse A_3)

at Aspose.Excel.Excel.Save(String resultSpreadsheet, FileFormatType fileFormatType)



Anywhere in paticular I should starting looking?

I have never met this problem before.
From the error message, I think maybe too many users access your program concurrently and consume all the resources. Could you try to make a pool to limit the access to your program? And you can try to extend the timeout setting in your config file.