Hi, I am getting the following exception "A disk error occurred during a write operation. (Exception from HRESULT: 0x8003001D (STG_E_WRITEFAULT))" while i am trying to read a stream. I got the exception at the Line which is having read font. Can any one help me out?
FileUpload fileUploadControl = dialog.formRun().control(dialog.formRun().controlId('Upload'));
FileUploadTemporaryStorageResult fileUploadResult = fileUploadControl.getFileUploadResult();
memoryStream = fileUploadResult.openResult();
fileurl=fileUploadResult.getDownloadUrl();
filename=fileUploadResult.getFileName();
if (fileUploadResult != null && fileUploadResult.getUploadStatus())
{
[splitFilepath,splitFilename,splitFileExt] = filenameSplit(filename);
if ( splitFileExt== '.xls' || splitFileExt== '.csv' )
{
using (ExcelPackage Package = new ExcelPackage(memoryStream))
{.......
*This post is locked for comments
I have the same question (0)