Click here to Skip to main content
15,036,363 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all
when i try to export excel file i got this error

well i did all jobs related allow the rights for Network Services(DCOM Access) on my web server OS(WS2k SP2)

but now i got this error while exporthin file

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 toany one know how to solve this problem
Posted
Updated 7-Feb-11 1:39am
v2

Are you closing the excel application properly when done? Have a search with google on that:
http://www.google.nl#q=c%23+excel+dispose+properly[^]

Another thing you might look at is the temp folder. Are you storing some files there temporarily? Then remove those when done.

Also, be aware that excel isn't meant to run as server app so if there is an alternative you should use that instead.

Good luck!
   
Seems like some permission issue:

Check this link

Hope it helps :)
   
v2
Comments
[no name] 1-May-14 9:13am
   
Do you really think that he is still having this problem after 3 years?
Sanket Saxena 2-May-14 1:15am
   
Ohhh really a mistake.....

but i dont think so thais will make someone to put downvote buddy...
"This issue may occur if you install Microsoft Windows 2000 Service Pack 3 (SP3) on a computer that is running Microsoft Windows 2000 Server."

For a fix, have a look here[^].
   
Comments
Nilesh More 8-Feb-11 0:02am
   
Hi Abhinav

web server have Microsoft Windows 2003 EnterPrise Edition Service Pack 2

some people say that u properly destroyed excel object which i did
Code:
xlWorkBook.Close(ddldrive.SelectedItem.Text + Excel_Filename)
xlApp.Quit()
Unable opening excel file says about file corruption. In that case I would suggest you to make use next source http://www.excel.fixtoolbox.com
application helps you opening excel file any version of MS Excel starting version of 95 year.
   

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