C# System.Runtime.InteropServices.COMException(0x800706BE):远程过程调用失败

C# System.Runtime.InteropServices.COMException(0x800706BE):远程过程调用失败,c#,excel,C#,Excel,当我试图打开Excel文档时,出现了此错误 System.Runtime.InteropServices.COMException(0x800706BE):远程 过程调用失败 我为我的公司开发了一个应用程序,它在每台计算机上都能正常工作,但在我老板的计算机上,当他不得不打开Excel文档时,它就停止工作了 我试图更改组件服务中的权限,但没有修复 我在Windows7上工作 Excel.Application excelApp = new Microsoft.Office.Interop.Exce

当我试图打开Excel文档时,出现了此错误

System.Runtime.InteropServices.COMException(0x800706BE):远程 过程调用失败

我为我的公司开发了一个应用程序,它在每台计算机上都能正常工作,但在我老板的计算机上,当他不得不打开Excel文档时,它就停止工作了

我试图更改组件服务中的权限,但没有修复

我在Windows7上工作

Excel.Application excelApp = new Microsoft.Office.Interop.Excel.Application();
            object missing = Type.Missing;
            Excel.Range xlRange;
            Excel.Sheets xlSheets = null;
            Excel.Worksheet xlSheet = null;
            Excel.Workbook xlWorkbook = null;


 xlWorkbook = excelApp.Workbooks.Open(filePath, missing, missing, missing,
                                               missing, missing, missing, missing, missing, missing, missing,
                                               missing, missing, missing, missing);

你解决过吗?