Windows 7 .net Excel .SaveAs() Error Exception from HRESULT: 0x800A03EC

后端 未结 6 751
情书的邮戳
情书的邮戳 2020-11-30 04:21

Background:
I toasted my old hard drive at work and am getting a new one. With that I\'ll have to rebuild my machine. My manager has Windows 7 installed on him loaner la

6条回答
  •  无人及你
    2020-11-30 04:45

    When I was getting this error, I think I started using .SaveCopyAs instead of SaveAs. I'm not sure what other errors this is causing you, if you could elaborate there perhaps something could be figured out for that situation.

    Also, one thing that you are doing is most likely causing excel.exe to remain in memory after processing a file. Here is an article that shows the proper way to use and release COM interop objects (http://support.microsoft.com/kb/317109). It is a pain, but it worked for me in allowing those resources to be released before the app closed.

提交回复
热议问题