We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ExcelRW cannot open a protected excel workbook.

Thread ID:

Created:

Updated:

Platform:

Replies:

27870 Apr 19,2005 05:59 PM UTC Apr 19,2005 06:28 PM UTC WinForms 1
loading
Tags: XlsIO
Kinapara Coulibaly
Asked On April 19, 2005 05:59 PM UTC

Hi, The method ExcelUtils.Open(filename) generate an exception when the workbook is protected. The exception message is: {"\r\nParameter name: length\r\nActual value was 3." } You''ll find attached an example of a protected workbook.(kina is the password to unprotect the workbook and the worksheets) I use the Syncfusion.ExcelRW.Base dll version 3.0.1.0 Regards, Kina protected_Book_1869.zip

Administrator [Syncfusion]
Replied On April 19, 2005 06:28 PM UTC

Hi Kina, Thank you for your interest in Syncfusion ExcelRW. Currently it is not possible to open spreadsheets which are password protected. The problem is that when excel files are protected their contents are encrypted and the encryption algorithm is not available. One alternative could be that you could use Macros to protect workbooks, end users need the password to view the files but ExcelRW would still be able to open files protected using Macros. Please let me know if you have any questions. Thanks, Stephen. >Hi, >The method ExcelUtils.Open(filename) generate an exception when the workbook is protected. The exception message is: {"\r\nParameter name: length\r\nActual value was 3." } >You''ll find attached an example of a protected workbook.(kina is the password to unprotect the workbook and the worksheets) >I use the Syncfusion.ExcelRW.Base dll version 3.0.1.0 > >Regards, > >Kina > >protected_Book_1869.zip > >

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;