0

I made an program that copies GridView to Excel. It worked well on localhost. Than published it on local network it still opens pages etc. but gets stuck on defining workbook

Microsoft.Office.Interop.Excel.Workbook WBook = excel.Workbooks.Add(System.Reflection.Missing.Value); 

And gives System.Runtime.InteropServices.COMException (0x800A03EC) error.

I tried different solutions that I found from internet (creating desktop folder in systemprofile System.Runtime.InteropServices.COMException (0x800A03EC), through administrator Windows 7 .net Excel .SaveAs() Error Exception from HRESULT: 0x800A03EC) but didn't solve problem.

Community
  • 1
  • 1

0 Answers0