"Exception from HRESULT: 0x800A03EC" - While saving excel file from VB.NET

S

Sai

Hi,

I have written a small tool for our internal purpose in VB.net. This tool
reads data from logs and saves it in an excel file. This tool is working fine
with MS Office 2000 but raising the following exception, when i run the tool
in a machine which contains MS Office 2003.

Exception raised: "Exception from HRESULT: 0x800A03EC"

Note: Added "Microsoft Excel 11.0 Object Library" in the project reference.

Can anyone tell me what could be the problem ? If you need any other details,
please reply back.

Thanks in advance.

~ Sai
 
K

Ken Tucker [MVP]

Hi,

You get errors like that when you have a different versions of
office than you developed for. I have know some people who have used late
binding to overcome those issues.

Ken
 
L

Larry Lard

Sai said:
Hi,

I have written a small tool for our internal purpose in VB.net. This tool
reads data from logs and saves it in an excel file. This tool is working fine
with MS Office 2000 but raising the following exception, when i run the tool
in a machine which contains MS Office 2003.

Exception raised: "Exception from HRESULT: 0x800A03EC"

Note: Added "Microsoft Excel 11.0 Object Library" in the project reference.

Can anyone tell me what could be the problem ? If you need any other details,
please reply back.

Is it this <http://www.dotnet247.com/247reference/msgs/5/27860.aspx> ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top