none
Microsoft Excel cannot open or save any more documents because there is not enough available memory or disk space RRS feed

  • Question

  • Hi,


    We have a .NET application and we create a file that is saved on the temporary folder of the user (C:\Users\xxx\AppData\Local\Temp")

    When our application tries to open the Excel file (with the "Process.Start" method), we have the same error message : "Microsoft Excel cannot open or save any more documents because there is not enough available memory or disk space"

    BUT : if we : 

    - Generate the file on another location, it works

    - Open the file manually by double-clicking on it, it works

    - Disable the protected view mode inside Excel (the second checkbox), it works

    It seems that it only occurs on Office 2016 (version 1803) with Windows 7 (OK in W10 ...)

    We don't reproduce this issue on our side, it's a customer problem ...

    Do you have an idea ?

    Thanks

    Thursday, May 3, 2018 1:58 PM

All replies

  • Hi,

    This is the forum to discuss questions and feedback for Microsoft Excel features, I'll move your question to the MSDN forum for Excel

    https://social.msdn.microsoft.com/Forums/en-US/home?forum=exceldev

    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.

    Regards,

    Emi


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.


    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    Friday, May 4, 2018 6:45 AM
  • Hi Klinck,

    I would suggest you try open Excel file with Excel Application Object instead of "Process.Start".

                Microsoft.Office.Interop.Excel.Application excelApp = new Microsoft.Office.Interop.Excel.Application();
                excelApp.Visible = true;
                excelApp.Workbooks.Open(@"C:\file path\Test.xlsx");
    

    Best Regards,

    Tao Zhou


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, May 7, 2018 5:32 AM
  • Hi Klinck,

    Based on the error message, the issue is relative to the available space of memory or disk. Please clean the memory and disk to see whether the issue was fixed.

    And please feel free to let us know if you still have the problem.

    Regards & Fei 


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, May 31, 2018 8:04 AM
    Moderator