Click here to Skip to main content
13,201,763 members (68,501 online)
Rate this:
Please Sign up or sign in to vote.
See more:
when I was working on windows XP ,32bit machine ,
my export to excel using Microsoft.Office.Interop.Excel was working.
No when I am working on windows 7 ,64 bit machine,I am getting the following Error:

System.Runtime.InteropServices.COMException (0x800A03EC): Microsoft Office Excel cannot open or save any more documents because there is not enough available memory or disk space. 
• To make more memory available, close workbooks or programs you no longer need. 
• To free disk space, delete files you no longer need from the disk you are saving to.

(This error comes when executing the following statement:
Workbook excelWorkbook = excelApp.Workbooks.Add(Type.Missing);

Please help me to fix this issue.
Posted 20-Nov-12 1:56am
Updated 20-Nov-12 2:00am
ryanb31 20-Nov-12 8:07am
Is the error correct? Has your code already opened a lot of files?
hulzi 20-Nov-12 8:37am
what is the version of the interop (Microsoft.Office.Interop.Excel 10,12,14)
waht is the version of Excel on the 64bit machine?

have you installed the interop's or do you use it from a path with localcopy = true
Member 11051624 5-Sep-14 4:48am
same problem here please help me how to resolve this error
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Open or add the Workbook with CorruptLoad

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.171020.1 | Last Updated 25 Mar 2015
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100