存储操作期间发生异常:组件文件(Office.dll)的暂存未成功

时间:2011-09-17 13:49:01

标签: c# exception-handling vsto clickonce

当我们部署ClickOnce产品的最新版本时,我们收到以下错误:

APPLICATION SUMMARY
* Installable application.
* Trust url parameter is set.
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of https://install.dev.sl.bta.cc/PA/Assette%20Presentations.application resulted in exception. Following failure messages were detected:
    + Exception occurred during store operation.
    + Value does not fall within the expected range.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
* Transaction at [9/17/2011 9:39:06 AM]
    - Staging of a component file (Office.dll) did not succeed.
    - Staging of a component (dev.Appender.dll.genman) did not succeed.
    - Staging of a component file (dev.Appender.dll) did not succeed.

除了少数参考文献外,没有任何改变。知道为什么会这样吗?

提前致谢。

1 个答案:

答案 0 :(得分:1)

这样做的主要原因是在单击一次打包的过程中正在打开或运行应用程序的某些文件。确保应用程序的所有文件都已关闭