A disk error occurred during a write operation. (Exception from HRESULT: 0x8003001D (STG_E_WRITEFAULT))

前端 未结 2 875
青春惊慌失措
青春惊慌失措 2021-01-19 05:38

I am using EPPlus to read .csv file in vb.net. When I run this code, I get the error \"A disk error occurred during a write operation.

(Exception fro

相关标签:
2条回答
  • 2021-01-19 06:00

    I had the same error with a plugin I had created to import from excel. Originally I had saved the import file as .xls.

    I opened this excel spreadsheet and resaved as .xlsx.

    This solved the problem.

    So maybe it is the file format that the csv was saved as.

    0 讨论(0)
  • 2021-01-19 06:23

    I get the same error reading xls file. It turns out the workbook had hidden rows on the first sheet. I inspected the document and removed the hidden rows and it worked perfectly

    0 讨论(0)
提交回复
热议问题