Microsoft Office Excel cannot access the file, There are several possible reasons
2014-08-04 15:58
411 查看
今天在做EXCEL打印读取模板时报错了,错误信息如下:
Microsoft Excel cannot access the file 'D:\xx.xlsx'. There are several possible reasons:
• The file name or path does not exist.
• The file is being used by another program.
• The workbook you are trying to save has the same name as a currently open workbook
网上解决方法一大片各种各样,下面这篇博客的方法解决了我的问题,其中提到了两点,但我仅操作第一步后便解决了问题,我的系统环境是Server2012R2,office装的是2013。http://port135.com/2014/05/09/solved-net-excel-interops-issue-microsoft-office-excel-cannot-access-the-file-abc-xlsx/
相关文章推荐
- Microsoft Office Excel cannot access the file, There are several possible reasons
- Microsoft Office Excel cannot access the file, There are several possible reasons
- Microsoft Office Excel cannot access the file, There are several possible reasons
- Microsoft Office Excel cannot access the file
- 错误:Microsoft Excel cannot access the file (用F5启动没问题,一部署到IIS就报错)的解决方法
- Bug:Interoptype 'Microsoft.Office.Interop.Excel.WorkbookClass' cannot be embedded. Use theapplicable
- Error code: 0x80004005 "The Microsoft Access database engine cannot open or write to the file &
- Error code: 0x80004005 "The Microsoft Access database engine cannot open or write to the file ''
- Microsoft Office Excel cannot open or save any more documents because there is not enough available
- Microsoft Office Excel cannot open or save any more documents because there is not enough available memory or disk space.
- Asp.Net 关于Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies.问题的解决方法。
- Microsoft Excel and Access Integration: With Microsoft Office 2007
- System.IO.FileNotFoundException: 未能加载文件或程序集“Microsoft.Office.Interop.Excel, Version=11.0.0.0, Cultur
- C#使用Create创建文件后,报The Process cannot access the file because it is being used by another process的异常
- Error starting Outlook: "Cannot start Microsoft Office Outlook. Cannot open the Outlook window."
- cannot access the ClassView information file
- IIS:The process cannot access the file because it is being used by another process.
- TF80012: The document cannot be opened because there is a problem with the installation of the Microsoft Visual Studio v
- Microsoft Office Excel 2007: The L Line, The Express Line to Learning
- Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e94