System.Runtime.InteropServices.COMException (0x800A03EC)

后端 未结 7 1231
梦谈多话
梦谈多话 2020-11-29 02:07

Microsoft.Office.Interop.Excel.WorkbookClass.SaveAs() method is working fine on Windows server 2003 and also on XP but not on Windows server 2008. I copied it a

7条回答
  •  抹茶落季
    2020-11-29 02:23

    For all of those, who still experiencing this problem, I just spent 2 days tracking down the bloody thing. I was getting the same error when there was no rows in dataset. Seems obvious, but error message is very obscure, hence 2 days.

提交回复
热议问题