1
Vote

RecordFormatException: Unable to construct record instance

description

Getting this error while accessing the Password Protected Excel file..

Inner Exception: {"Unknown encryption info 4"}.

Adding the code I have used to process this..
                FileStream file = new FileStream(filefullPath, FileMode.Open, FileAccess.Read);
                Biff8EncryptionKey.CurrentUserPassword = password;
                IWorkbook hssfworkbook = new HSSFWorkbook(file); 
Please advice.. I am not able to find.. what is causing this issue..

Attached exception details in the screenshot below..

file attachments

comments