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
May 11, 2011 01:33 AM|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.