Click here to Skip to main content
15,892,161 members
Please Sign up or sign in to vote.
4.00/5 (1 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:


C#
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:
C#
Workbook excelWorkbook = excelApp.Workbooks.Add(Type.Missing);

 )


Please help me to fix this issue.
Posted
Updated 20-Nov-12 2:00am
v2
Comments
ZurdoDev 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



Open or add the Workbook with CorruptLoad
 
Share this answer
 
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900