Last post May 10, 2011 09:33 PM by learn.aspx
May 10, 2011 09:33 PM|learn.aspx|LINK
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.
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.