Home
> ASP.NET > System.Runtime.InteropServices.COMException (0x800A03EC): Microsoft Office Excel cannot access the file
System.Runtime.InteropServices.COMException (0x800A03EC): Microsoft Office Excel cannot access the file
You may encounter this error when trying to run excel automation via IIS.
There are several links pointing to this issue with the resolution found at
I’m reproducing the same information here for ease of resolution
- Create directory “C:\Windows\SysWOW64\config\systemprofile\Desktop ” (for 64 bit Windows) or “C:\Windows\System32\config\systemprofile\Desktop ” (for 32 bit Windows)
- Set Full control permissions for directory Desktop (for example in Win7 & IIS 7 & DefaultAppPool set permissions for user
“IIS AppPool\DefaultAppPool”)
Categories: ASP.NET
Oh!!! very good.
Thanks a lot. This resolve my problem After 1 week.
Best regards.
دمت گرم
Thanks. Very helpful!
Awesome dude… just because of your post, my suicide plan is now canceled.
i just followed your steps but it’s not working well 😦
my page respond too long….
any solution??
thanks 4 your help
Hey,
Thanks for this post. I have a little problem though. I’ve created the folde as you said, and now my error isn’t the same. I think i don’t know how to Set Full control permissions for directory Desktop.
Can you please help me on this one ?
Thanks By Advance
thoma, to set permissions on the folder, refer to http://support.microsoft.com/kb/308419 for actual steps. If you got a different error, chances are you have already set the required information, now it is something else that needs to be fixed
Very good article! We will be linking to this particularly great post on our website.
Keep up the great writing.
Thanks a lot! This resolved our problem after one developer-week unsuccessful workaround…
Best regards.
Thanks a lot man.
After trying many workarounds we were just hitting the wall everytime but this resolved our problem.
Best Regards,
Mayank