0
我在C#MVC上使用EPPlus將excel文件加載到內存中。 我從一個文件上傳服用流:加載大於40MB的流時EPPLus錯誤
model.File.InputStream
,並把它傳遞給ExcelPackage.Load()方法。
它適用於文件< 40 MB。但對於較大的文件,我得到的錯誤:
An exception of type 'System.Runtime.InteropServices.COMException' occurred in EPPlus.dll but was not handled in user code
Additional information: A disk error occurred during a write operation. (Exception from HRESULT: 0x8003001D (STG_E_WRITEFAULT))