Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Excel export
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 2:56am
Edited 20-Nov-12 3:00am
(no name)30.8K
v2
Comments
ryanb31 at 20-Nov-12 8:07am
   
Is the error correct? Has your code already opened a lot of files?
hulzi at 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 at 5-Sep-14 4:48am
   
same problem here please help me how to resolve this error

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

  Print Answers RSS
0 OriginalGriff 390
1 Sergey Alexandrovich Kryukov 329
2 BillWoodruff 210
3 Afzaal Ahmad Zeeshan 204
4 CPallini 185
0 OriginalGriff 5,515
1 DamithSL 4,451
2 Maciej Los 3,902
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,175


Advertise | Privacy | Mobile
Web02 | 2.8.141216.1 | Last Updated 20 Nov 2012
Copyright © CodeProject, 1999-2014
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