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 1:56am
Edited 20-Nov-12 2:00am
26.5K
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

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

  Print Answers RSS
0 OriginalGriff 278
1 Nguyen.H.H.Dang 230
2 Maciej Los 205
3 Peter Leow 195
4 arvind mepani 187


Advertise | Privacy | Mobile
Web02 | 2.8.140709.1 | Last Updated 20 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid