Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 11, 2011 01:33 AM by learn.aspx
Member
66 Points
62 Posts
May 11, 2011 01:33 AM|LINK
Hi all,
I am creating an excel file with my asp.net application. I am hosting this site on IIS7. when i run it from server..it is giving error while saving the workbook.
my code
Workbook.SaveAs(Server.MapPath("Folder") + "\\" + filename + ".xls", Excel.XlFileFormat.xlHtml, objOpt, objOpt, false, false,Excel.XlSaveAsAccessMode.xlShared, false, false, objOpt, objOpt);
Huh..I have been trying to solve this for a week. hope I ll find some help here
This is my error
System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x800A03EC. I am using Office 2000,IIS7. I have set all the authorisations.
Thanks
learn.aspx
Member
66 Points
62 Posts
System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x800A03EC
May 11, 2011 01:33 AM|LINK
Hi all,
I am creating an excel file with my asp.net application. I am hosting this site on IIS7. when i run it from server..it is giving error while saving the workbook.
my code
Workbook.SaveAs(Server.MapPath("Folder") + "\\" + filename + ".xls", Excel.XlFileFormat.xlHtml, objOpt, objOpt, false, false,Excel.XlSaveAsAccessMode.xlShared, false, false, objOpt, objOpt);Huh..I have been trying to solve this for a week. hope I ll find some help here
This is my error
System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x800A03EC. I am using Office 2000,IIS7. I have set all the authorisations.
Thanks