此问题是我捕捉的错误日志,在网上找了很多都找不到答案.故来这了.
我每次生成Excel都使用了 workbook.Close(false, null, null);Message : System.Runtime.InteropServices.COMException (0x8001010A): The message filter indicated that the application is busy. (Exception from HRESULT: 0x8001010A (RPC_E_SERVERCALL_RETRYLATER))
   at Microsoft.Office.Interop.Excel._Workbook.get_Sheets()
   at SkySolar.SPEED.WinService.OperateExcle.InsertExcleData(Workbook workbook, Worksheet worksheet, Int32 sheetNum, DataTable dt) in D:\Source\SkySolar.SPEED.WinServiceForReports\OperateExcle.cs:line 94
   at SkySolar.SPEED.WinService.OperateExcle.OnputExcleReport(Region region, String templatePath, String uploadFilePath, String fileName, DataTable dtProjectSummary, DataTable dtDevelopmentProgress, DataTable dtConstructionProgress) in D:\Source\SkySolar.SPEED.WinServiceForReports\OperateExcle.cs:line 35
   at SkySolar.SPEED.WinServiceReport.Program.AutoGenerateReports() in D:\Source\SkySolar.SPEED.WinServiceForReports\Program.cs:line 52望高手给予指点.excelapplicationwindows