Last post Jul 27, 2011 02:28 AM by sms123
Member
2 Points
13 Posts
Jul 19, 2011 01:01 AM|sms123|LINK
Hi,
I am gettin the error message "System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x800A03EC" when Im executing this code from asp.net page
workbook.SaveAs(@"C:\excel.xls", Excel.XlFileFormat.xlWorkbookNormal, misValue, misValue, misValue, misValue, Excel.XlSaveAsAccessMode.xlExclusive, misValue, misValue, misValue, misValue, misValue);
I tried some fixes that I found in google search. Spen around 24 hrs on this bug. Could not able to fix it.
I need your help guys.
This is my system configuration Windows 7 Professional MS VS 2005 V8.0 MS .NET Framework 2.0.5 SP2 MS office Excel 2007 IIS 7.5
I have added this references to my solution MS Excel 12.0 Object Library
Thanks in advance
All-Star
32861 Points
7877 Posts
Jul 19, 2011 08:11 AM|qwe123kids|LINK
Hi
workbook.SaveAs(@"C:\excel.xls", misValue, misValue, misValue, misValue, misValue,misValue, misValue, misValue, misValue, misValue, misValue, true);
OR
http://forums.asp.net/t/1406817.aspx/1?Exception+from+HRESULT+0x800A03EC+Error
Use OpenXml for Office development Rather Then Interop on Web.
Jul 27, 2011 02:28 AM|sms123|LINK
I tried all what you said, but everything failed....
Member
2 Points
13 Posts
System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x800A03EC
Jul 19, 2011 01:01 AM|sms123|LINK
Hi,
I am gettin the error message "System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x800A03EC"
when Im executing this code from asp.net page
workbook.SaveAs(@"C:\excel.xls", Excel.XlFileFormat.xlWorkbookNormal,
misValue, misValue, misValue, misValue, Excel.XlSaveAsAccessMode.xlExclusive,
misValue, misValue, misValue, misValue, misValue);
I tried some fixes that I found in google search. Spen around 24 hrs on this bug. Could not able to fix it.
I need your help guys.
This is my system configuration
Windows 7 Professional
MS VS 2005 V8.0
MS .NET Framework 2.0.5 SP2
MS office Excel 2007
IIS 7.5
I have added this references to my solution
MS Excel 12.0 Object Library
Thanks in advance
All-Star
32861 Points
7877 Posts
Re: System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x800A03EC
Jul 19, 2011 08:11 AM|qwe123kids|LINK
Hi
workbook.SaveAs(@"C:\excel.xls", misValue,
misValue, misValue, misValue, misValue,misValue,
misValue, misValue, misValue, misValue, misValue, true);
OR
http://forums.asp.net/t/1406817.aspx/1?Exception+from+HRESULT+0x800A03EC+Error
OR
Use OpenXml for Office development Rather Then Interop on Web.
Avinash Tiwari
Remember to click “Mark as Answer” on the post, if it helps you.
Member
2 Points
13 Posts
Re: System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x800A03EC
Jul 27, 2011 02:28 AM|sms123|LINK
I tried all what you said, but everything failed....