2146827284Microsoft Excel cannot open or save any more documents because there is not enough available memory or disk space

Hi Experts,

I am getting below error when Exporting data from my one web application to the Excel 2010 on Windows Server 2008 R2 ,

02/29/2012 18:54:50
Type : System.Exception, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b11a5c481859e569
Message : -2146827284Microsoft 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.

The disk space is 30 GB free, I have cleared all the temp files, increased the virtual memory & internet temp files size to max but no luck

May 2nd, 2012 8:57am

I have resolved this.

step1 :  Go to run type dcomcnfg
Step2:   Click >Component services >Computes >My Computer>Dcom config> and select micro soft Excel Application>
Step3:   Right Click on Microsoft Excel Application>Properties>Give Asp.net Permissions
Step 4: Select Identity table >Select interactive user >select ok

  • Marked as answer by VLCC Thursday, May 03, 2012 4:01 AM
Free Windows Admin Tool Kit Click here and download it now
May 3rd, 2012 4:01am

I have resolved this.

step1 :  Go to run type dcomcnfg
Step2:   Click >Component services >Computes >My Computer>Dcom config> and select micro soft Excel Application>
Step3:   Right Click on Microsoft Excel Application>Properties>Give Asp.net Permissions
Step 4: Select Identity table >Select interactive user >select ok

  • Marked as answer by VLCC Thursday, May 03, 2012 4:01 AM
May 3rd, 2012 4:01am

If you're running 64-bit Windows you have to run Component Services in 32-bit mode before you can see Microsoft Excel Application to modify its properties.  

You can run Component Services in 32-bit mode two ways: 

1.  dcomcnfg -32 

2.  MMC comexp.msc /32


Free Windows Admin Tool Kit Click here and download it now
June 14th, 2012 4:44pm

If you're running 64-bit Windows you have to run Component Services in 32-bit mode before you can see Microsoft Excel Application to modify its properties.  

You can run Component Services in 32-bit mode two ways: 

1.  dcomcnfg -32 

2.  MMC comexp.msc /32


June 14th, 2012 4:44pm

Hi,

Thank you for your sharing, it will help someone who meets the same issue.

Free Windows Admin Tool Kit Click here and download it now
June 15th, 2012 1:05am

sometimes, you create new application pool and cann't solve it via DCOMCNFG.

then there is another method to do:

set the identity (Model Name) of application pool to "LocalSystem"

I don't know the root cause, but it could solve some problems.

July 15th, 2012 3:58pm

sometimes, you create new application pool and cann't solve it via DCOMCNFG.

then there is another method to do:

set the identity (Model Name) of application pool to "LocalSystem"

I don't know the root cause, but it could solve some problems.

Free Windows Admin Tool Kit Click here and download it now
July 15th, 2012 3:58pm

Disregard my comment below, the problem reoccured.  

This is the most awesome thread I have seen all month!  Thanks to you guys for this helpful, concise information.  Just to mention, I did not see an option "Give Asp.net Permissions."  However I went to the Security tab and customized the permissions to allow Full Control to everyone.  (This is a single-person computer).

  • Edited by laurelii Tuesday, August 21, 2012 7:38 PM
August 17th, 2012 4:52pm

Disregard my comment below, the problem reoccured.  

This is the most awesome thread I have seen all month!  Thanks to you guys for this helpful, concise information.  Just to mention, I did not see an option "Give Asp.net Permissions."  However I went to the Security tab and customized the permissions to allow Full Control to everyone.  (This is a single-person computer).

  • Edited by laurelii Tuesday, August 21, 2012 7:38 PM
Free Windows Admin Tool Kit Click here and download it now
August 17th, 2012 4:52pm

I ran dcomcnfg -32 still cannot  see "micro soft Excel Application" in the decom CNFG.  My computer is Win7 64bits.  Can you shed the light?
August 25th, 2012 7:15pm

Windows 8: Excel 2013: right click, unlock file.
Free Windows Admin Tool Kit Click here and download it now
January 17th, 2013 2:14am

Windows 8: Excel 2013: right click, unlock file.
  • Proposed as answer by AymanMaher 20 hours 35 minutes ago
January 17th, 2013 2:14am

You want to use this one here - MMC comexp.msc /32

THAT will launch the MMC process as 32 bit then you'll the Microsoft Excel Application.

Right Click -> Properties.
What I did at this point was to select the Identity tab and then select "The Interactive User" (the default was "The launching user").  My app pool was already running as "LocalSystem".  I believe by running it as the Interactive User now that it has the right permissions to save workbooks.

Everything worked after this.

This was a tough one!

Free Windows Admin Tool Kit Click here and download it now
May 30th, 2013 2:53pm

*unblock* file... but yes and thanks!!
September 4th, 2013 5:47pm

thanks you .. its working well
Free Windows Admin Tool Kit Click here and download it now
December 19th, 2013 5:08am

i have done step 1/2 & 4 but stuck in step no 3...where i will get this Asp.net permission option ? 
February 28th, 2014 8:40am

Thanks. I had tried it out and it solved my issue.
Free Windows Admin Tool Kit Click here and download it now
June 3rd, 2014 2:49am

Thanks. This is the best and simplest solution for working as well as.

Thanks

October 31st, 2014 4:25am

Unblocking the file by right clicking on it worked for me.  I had, as it said, downloaded the file from another computer.  Thanks panikfan!
Free Windows Admin Tool Kit Click here and download it now
November 18th, 2014 9:35pm

Problem with this:

Have Component Services open and goto Microsoft Excel Application and right-click and Goto properties sheet.

I do not see an item labeled "Give Asp.net Permissions"?  Where is this?

April 9th, 2015 6:25pm

THANK YOU
Free Windows Admin Tool Kit Click here and download it now
April 15th, 2015 6:55am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics