Encryption Type in Microsoft Excel 2013 (XLS file)

Hello,
I am creating a password protected file of format Excel 97-2003 Workbook (.xls) using Microsoft Office 2013.
I have written a java program to read password protected excel file using POI API. I am able to read .xlsx file using this API, but I am not able to read .xls file. It throw error : org.apache.poi.hssf.record.RecordFormatException: Unknown encryption
info 4
Using same java code I am able to read .xls file if I use Microsoft Office 2010 to create this file. 
As per POI API documentation:
Apache POI contains support for reading few variants of encrypted office files:
XLS - RC4 Encryption
XML-based formats (XLSX, DOCX and etc) - AES and Agile Encryption
I think in Microsoft Office 2013, encryption type has been change for XLS file. So I want to know that how can I solve this issue. Also please let me know how to configure Encryption Type in Microsoft Excel 2013 Excel file.
OS is Windows 8(64-bit).
Thanks
Vishal

Hi,
Please see the article and check if it is helpful:
https://issues.apache.org/bugzilla/show_bug.cgi?id=35897
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
This is the forum to discuss questions and feedback for Microsoft Excel, the issue is more related to Office/Java develop, I recommend you connect the POI provide to get more help.
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
George Zhao
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs.

Similar Messages

  • Programatically pick PowerView properties from Microsoft Excel 2013 file

    Hi,
    I have a requirement to programmatically read/handle PowerView properties like title, theme, background, font-size etc. from a Microsoft Excel 2013 file. Also I need to access the properties of the objects which are added on to the PowerView,
    for e.g. properties of a table or a image added to the PowerView.
    I have been looking for it since long, but no luck. Is there a way by which I can achieve it? Any pointers regarding this would be really helpful.
    Thanks in advance.

    Thanks Simon_Hou for the response.
    As per your answer, PowerView is an add-on and hence it is packaged and properties can't be picked.
    But, PowerPivot is also a com add-in still there exists a programming handle for it. We are able to pick several properties for PowerPivot using Interop.
    For PowerView, I am able to see certain bin files getting created but am unable to pick any information from those.
    (Bin files namely CustomProperties1.bin, CustomProperties2.bin, CustomProperties3.bin, CustomProperties4.bin, CustomProperties5.bin)
    Is there any way by which we can pick certain properties for Power View as well using these files or maybe some other way?

  • Microsoft Excel 2013 add-in not working after update

    I have originally posted this question at answers.microsoft.com and have been re-directed to post here. (http://answers.microsoft.com/en-us/office/forum/office_2013_release-excel/microsoft-excel-2013-add-in-not-working-after/298aff03-c90a-4a2a-b67b-07b6f3c7648c)
    We are an organization with over 200 users and are currently using Microsoft Office 2013 (Click-to-run install via Office 365 portal), we have noticed that in Excel when we apply the monthly Office update, the add-in (e.g. Analysis Toolpak) would stop working
    with the following error message displayed.
    I tried updating from 15.0.4631.1004 to 15.0.4641.1003,
    15.0.4641.1003 to 15.0.4649.1004, they all gave the same results.
    I have checked the captioned file path and it is indeed missing, I think the update mechanism messed up the add-in somehow, a full re-install would fix it as quick or online repair is not doing the trick.  This is not the only add-in it is affecting
    as there are some 3rd party add-ins are affected as well.
    Please advise how we can fix this without needing to re-install Microsoft Office.  Thank you!

    I don't have 365 or C2R so I can't address your main question, so just a few thoughts which may not be applicable in your setup.
    Check the addin manager to see if your addins are listed and ticked. If listed (ticked or not) check the registry to see where the location is written, if ticked look here
    HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Excel\Options
    and look for keys named OPENx, where x is the order number the addin is loaded
    if not "ticked" instead of \Options look in \Add-in-Manager
    With a VBA macro or in the VBE's immediate window return
    Application.LibraryPath 
    Assuming you found a listing in the registry do the paths match, if not look in the .LibraryPath to see if the addins got unloaded there into the subfolder \Analysis
    If you find the file(s) try un-installing and reinstalling the addins, but browse to the actual folder don't simply tick. If you can't find the files, copy them (from a different system) to the folder indicated by .LibraryPath. In the addin manager uninstall
    them if installed, close the manager, open it again and the addins should be listed, tick to re-install.
    You say your other addins don't work, I wonder if some mixup has occurred with what Excel thinks is the default path, but note for other addins the default addins path is returned by app.UserLibraryPath
    Are you using a Chinese system?

  • While installing the power query add in Microsoft Excel 2013 through this error?

    Hi frnz,
    while i installing the power query add in excel 2013 i will get the follow error.pls let me knw the reason ,
    Currently my operating system is windows 7 64 bit os service pack 1
     i am the  error msg which am getting .
    Microsoft powerquery for excel(x64) requires the 64bit version of microsoft excel 2010 sp1 or microsoft excel 2013
    plase first install the 64 bit version of microsft excel 2010 sp1 or microsoft excel 2013

    If you are running 32-bit Office, then you must install the 32-bit version of Power Query even if you are running 64-bit Windows.

  • How to repair corrupt MS Excel 2003 (XLS) File?

    I have important MS Excel file data and unfortunately got corrupt due to virus attacks, so my crucial Excel sheet got lost, how to repair corrupt MS Excel 2003 (XLS) File? If have any solution please assist me.

    A corrupt excel spreadsheet can be repaired by using Open and Repair technique. It is a built-in repair function that opens a corrupt excel file forcefully. 
    *Open MS Excel > press Ctrl+O > locate corrupt excel spreadsheet and select it. 
    *Click on the arrow shown beside Open button > select Open and Repair. 
    It will take just a few seconds to be completed and selected file will be opened, if possible. 
    Or if this doesn't work, one may take help of a third-party Excel Recovery software. I would recommend
    Excel Repair Kit software to recover data from corrupt excel spreadsheet. The software is available with free demo version. To read more about this software and to download its free demo version, visit: http://www.excel.repair/

  • Can BPC Release 7.5.112.07 run on MicroSoft Excel 2013 (MS Office 365)?

    Hi BPC Community,
    Can BPC Release 7.5.112.07 run on MicroSoft Excel 2013? We are currently running BPC on Excel 2010. There's a new feature in Office 365, that when we bring up a new BPC report, Excel will open up essentially a new Excel application and the BPC add-in is not replicated in the new Excel application.
    Our IT team mentioned updating registries to prevent a new Excel app for generating, but they said that this approach may revert (erase the reg update) once a new software update is done.
    Thanks. Barry

    Hi Barry,
    Microsoft Office 2013 is supported in BPC 10 sp13 and EPM Add-in sp14, support for BPC 7.5 will end on march 2016 so I don't think they will support it in 7.5 version also in future.
    Forgot to add, same for office 365 not supported in 7.5 but only in 10 version with epm sp18 see please  1999305 - Microsoft Office 365 users are unable to install SAP EPM Add-in
    Regards
         Roberto

  • Microsoft excel 2013 stops working and getting very slow when I work in one file

    I am using windows 8.1 pro in my office and I have excel 2013,
    When I'm working on excel generally there is no problem, but I have an excel file which I work on in it's too slow and stops working, I have also tried to open the same file in another computer which is having the same problem.
    while I was using Office 2010 it was working very fine, I can also share my file with you if you want in order to be checked and resolved.
    I appreciate if you help me,

    Hi,
    You can share the file with us by sending it to GBSD TN Office Information Collection [email protected] Be sure that you have the private information hidden.
    Meanwhile, since it works fine in Office 2010, we can try to open the file in Excel 2010, then go to File > Options > Formulas, check if you have enabled iterative calculation. If so, uncheck the check box and switch the workbook calculation to Manually.
    Then, save the changes and then open the modified excel using Excel 2013 to see the result.
    Please let me know the result.
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • How to add shortcuts to user Start Menu and Taskbar or Desktop with using Microsoft Office 2013 Config file.

    Hello,
    How can i add the shortcuts for Office 2013 feature (Word, excel, ext) to the users taskbar or desktop with using config.xml file while installing the Microsoft Office 2013 from SCCM?
    I know how to do that with OCT, but i have another problem if i use OCT. So i have to do it with Config.file, but i don't know which code can i write on config.xml file to create shortcut on desktop or taskbar...
    Regards,

    Hi
    There is a known issue about
    changing the shortcut location for an Office 2013 application:
    When you try to change the shortcut locations for Office 2013 applications in the Office Customization Tool (OCT), you receive the following error message:
    Invalid start in folder. Please try again.
    Then, you add the Start in location for Office 2013 and run a customized installation. When you double-click the shortcuts that are displayed on the desktop, Configure shortcuts does
    not work and you receive the following error message: 
    Sorry, we couldn’t find your file. Is it possible it was moved, renamed or deleted?
    To work around this issue, type a single open bracket ([) in the Start in
    field.  
    In addition, refer to the link below on "Configure shortcuts" in OCT:
    http://technet.microsoft.com/en-us/library/cc179097.aspx#Configure_shortcuts
    Regards
    Tylor Wang
    TechNet Community Support

  • Excel 2013 - Locked file when trying to save

    After a user opens an excel file from a personal network share (EMC/ISILON storage) and make changes to the file, the user get a FILE LOCKED BY <USER> (Same user that is currently editing the file).
    We have also had issues where a user goes to open a file and it says it is currently in use by <USER> same user trying to open the file.
    Couple of notes of interest:
    These files are on personal network shares, only the 1 user has access to the files
    We have had the user completely reboot their machine when they try to open a file and get the file is locked message - Same message
    Does not happen with any other Office 2013 application
    Are there any special "quick View" features in Excel 2013 or Windows 7 that may be locking the file?  I have seen reference to this in older versions of Windows, but nothing for Windows 7.
    Thanks for the help.

    Hi TE2011,
    In regarding of the issue, please provide us more information to assist you better.
    Did this issue only occur with the special user? Or some others had the same issue.
    Did the issue only the special file?
    This issue may be caused by some factors, please try the following methods and check they are helpful:
    Method one:
    Turn off the Preview Pane, Details Pane and pop ups that show information about file and desktop items
    1. Right click on the Start Button.
    2. Click 'Open Windows Explorer'.
    3. At the top left click Organize > Layout 
    4. Uncheck Details Pane and Preview Pane.
    5. On a Windows menu, click on Tools > Folder Options.  In the box that opens up, click on the View tab.  Scroll down the list to
    “Show pop-up description for folder and desktop items” and clear the checkbox and then click OK. 
    In Excel:
    1. Click File > Open
    2. Click Organize > Layout
    3. Uncheck 'Details Pane' and 'Preview Pane'
    Reference:
    http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2012/05/14/the-definitive-locked-file-post.aspx
    We also try the other methods provided with the blog.
    Method Two:
    The issue also may be caused by the file itself, please try to recreated it and add it to trusted location.
    If this issue still exists, please try to upload the screenshot about the error message. I'll appreciate for it.
    Hope it's helpful.
    Regards,
    George Zhao
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click "[email protected]"

  • Presentation Designer 2011 SP4 Setup Not Recognizing 32-Bit Microsoft Excel 2013

    I have 32-bit Microsoft Office Excel (with 2013 office suite) installed.  When I try to install the SAP Crystal Presentation Design 2011 software, the setup prerequisite check is stating that I am missing Microsoft Office Excel (XP or higher) 32-bit.
    How do I install Crystal Reports Presentation Designer without having to use Microsoft Excel 2003?
    Does anyone know when (estimated guess) Crystal Reports Presentation Designer is scheduled to fully support 2013?

    Hi,
    You have to use SAP Crystal Dashboard Design 2013 which does support MS Office 2013, but I've read that it is not great, so I would not recommend it and to use MS Office 2010 if you can.
    Regards,
    Josh

  • Feature Request: Microsoft Excel 2013 - Don't hide status bar text on focus lost (AVERAGE, COUNT, SUM)

    Could you please disable hiding of status bar text on focus lost.
    I use this in Excel 2013, where I select a few cells, then move to another Excel to write the sum of those cells as read from the status bar or to check with other values in the second window. This really makes my life easier and I see no reason to hide
    the status bar text when the window looses focus.

    Hi,
    Thanks for your suggestions.
    You can also send your feedback to the Office team by the steps as below:
    1. Inside any new Office application you’ll see a yellow smiley face in the top-right corner. Click on the face and choose either
    Send a Smile to send positive feedback or
    Send a Frown to send negative feedback.
    2. In the window that appears, provide details about your feedback or issue. Also, be sure to provide a link to this thread.
    3. Next, you can choose whether or not to send a screenshot. You can also enter your email address so the Office team can contact you directly if they have any questions.
    Note: Most feedback requests do not result in responses from the Office team.
    4. Click the Send button at the bottom of the form to send your feedback.
    Best Regards,
    Judy

  • In office 2013 xls file showing the document may be read only or encrypted

    Hi,
    I am using office 2013 home and business edition.
    I got an error while opening the file with .xls extension
    from my computer and the same file if i access from different pc
    it is accessible.
    Please help me it's very urgent........ 

    Hi,
    Do you get the whole error message like this:
    Excel cannot access filename.xls. The document maybe read-only or encrypted.
    If yes, and the files were stored in local disk, this might be happened because you are accessing a file which has read only permission or permission not set at all. Please go to properties of that particular file and uncheck the read only
    check box. if the box is not ticked, then tick and un-tick it and apply. This will replace the file permission.
    If the files were stored in network share, please try to remove the two files from the network share (copy them to your desktop). Open each file and save it and then copy them back to the network share.
    Hope it's helpful.
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • MS Office Excel 2013 - This file is locked . Try the command again later

    Users are facing issue on shared excel file. we have an excel shared in NAS where multiple users are editing in a single time. some times, users are getting error message "the file is locked, Try the command again later". But users never reported
    any issue in Windows XP + Office 2007 package. Its reported only for users who are in Windows 7+ MS Office 2013 package.

    Hi,
    According to your description, this error was pop-up with Windows 7 & Office 2013 environment, please try the following methods and check if they are helpful:
    1. Install the Windows 7 SP1 if you have not installed.
    2. Turn off the Preview Pane, Details Pane and pop ups that show information about file and desktop items.
    In a Windows Explorer window, do the following:
    Right click on the Start Button.
    Click 'Open Windows Explorer'.
    At the top left click Organize > Layout 
    Uncheck Details Pane and Preview Pane.
    On a Windows menu, click on Tools > Folder Options.  In the box that opens up, click on the View tab.  Scroll down the list to
    “Show pop-up description for folder and desktop items” and clear the checkbox and then click OK. 
    In Excel:
    Click File > Open
    Click Organize > Layout
    Uncheck 'Details Pane' and 'Preview Pane'
    3. Add the registry key:
    HKCU\Software\Microsoft\Office\15.0\Excel\Options\DisableRobustifiedUNC
    4. If the files are XLS format, please try to convert it to XLSX format.
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Microsoft Excel 2013 Goes Transparent When switching Tabs

    Our site recently moved from Office 2010 to Office 2013 and there haven't been too many issues as of yet.  One of the ones thats being reported is that when you switch from one tab to Excel using Alt+Tab nothing appears.  But when you hold
    the cursor over the page you see that + sign as if your in excel.
    The particular spreadsheet where this happens most frequently has no formulas and almost no formatting apart from a colour code.  Its a list of external links to websites used by their department.  For example New Stories, online resources, thats
    the only out of the ordinary thing that is on this spreadsheet.
    Any ideas for a fix?

    Hi
    To solve the issue more efficiently, I would like to confirm what it exactly means :"hold the cursor over the page you see that + sign as if your in excel". You mean switch between windows diaplayed when clicking Alt+Tab?
    Copy the contents to a new workbook to check if the problem still exists.
    If that doesn't work, repair Office 2013 in Control panel>Program and features>Office 2013(change)>Repair.
    Regards
    Tylor Wang
    TechNet Community Support

  • Picture logo becomes blurry when printing to PDF (Adobe Pro X 10.1.12) via Microsoft Excel 2013

    Hi,
    When I look at the Excel preview before printing, everything seems ok. When the PDF file is generated, the logo comes out fuzzy (click on the image so really notice the difference). On the page, only 1 of the two logos are afflicted (I had to hide some parts for privacy concerns - it's for work). I tried on other workstations from the same file and they all work well, and with the same configuration of Adobe. Any idea of what I could be doing wrong?
    Thank you!!

    [discussion moved to Creating, Editing & Exporting PDFs forum]

Maybe you are looking for

  • Windows Intune, Windows 8.1, SCCM 2012 R2

    Hello, I am planning to setup a new infrastructure to manage devices using Intune and SCCM 2012 R2 for one of my customer. We plan to have one single site, where in the devices will be imaged with Windows 8.1 and then will be provided to users who ro

  • No data whatsoever in Macon, GA

    For the second time this month, I have completely lost all data connectivity on my Droid Razr in Macon, GA.  I do not get 4G LTE down here, but right now I have nothing at all.  The last time I lost all data connectivity I just waited it out and let

  • Wait time frequent insert

    Hello This was my exam question and still not sure about the answer You notice there is a very high percentage of wait time for contention event in your Rac database that has frequent insert operations. Which two recommendations may reduce this probl

  • "Microsoft.Exchange.2010.Reports.Transport.Platform.TopUsers "Report show no result

    hello,       i have an issue in my SCOM 2012 report.when i go to Reporting --> Exchange Server 2010 Report Library-->and open the report Microsoft.Exchange.2010.Reports.Transport.Platform.Top users. in my scom 2012 console and execute the report for

  • VideoFX in iMovie HD 6

    Ok so everytime i click on a VideoFX(adding effescts to clips) in preview mode the mini screen to the left turns all white but I can see a little bit of picture.I can also see on the screen in white the other effect options on the mini preview screen