单击一次,文件Interop.Excel.dll不是有效的可移植可执行(PE)文件. [英] Click Once File Interop.Excel.dll is not a valid Portable Executable (PE) file.

查看:115
本文介绍了单击一次,文件Interop.Excel.dll不是有效的可移植可执行(PE)文件.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问候,

Win 7,.NET 4.5

Win 7, .NET 4.5

VB.Net应用运行正常.进行了更新,它将不会安装在用户的计算机上.得到以下消息:

VB.Net app was running fine.  Did an update and it will not install on user's pc.  Get the following message:

错误摘要
以下是错误的摘要,稍后将在日志中列出这些错误的详细信息.
  *激活F:\ COMMON \ PROGRAMS \ IN_HOUSE_APPS \ SysproAux_x86 \ SYSPRO_Aux.application导致异常.检测到以下失败消息:
   +从文件Interop.Excel.dll加载清单时发生异常:清单可能无效或无法打开文件.
   +文件Interop.Excel.dll不是有效的可移植可执行(PE)文件.
   +该进程无法访问文件'C:\ Users \ misadmin.PATRANSFORMER \ AppData \ Local \ Temp \ Deployment \ 6635H8WH.PG1 \ QJZKXCZ7.9ZT \ Interop.Excel.dll',因为该文件正在由另一个文件使用过程.

ERROR SUMMARY
 Below is a summary of the errors, details of these errors are listed later in the log.
 * Activation of F:\COMMON\PROGRAMS\IN_HOUSE_APPS\SysproAux_x86\SYSPRO_Aux.application resulted in exception. Following failure messages were detected:
  + Exception occurred loading manifest from file Interop.Excel.dll: the manifest may not be valid or the file could not be opened.
  + File Interop.Excel.dll is not a valid Portable Executable (PE) file.
  + The process cannot access the file 'C:\Users\misadmin.PATRANSFORMER\AppData\Local\Temp\Deployment\6635H8WH.PG1\QJZKXCZ7.9ZT\Interop.Excel.dll' because it is being used by another process.

应用已运行2年.在

App has been running for 2 years.  Tried following https://social.msdn.microsoft.com/Forums/windows/en-US/dc47dac1-6eb2-4533-a119-c1d87a36c4a5/clickonce-problem-file-is-not-a-valid-portable-executable-pe-file-pe-file-does-not-have-enough?forum=winformssetup

仍然无法安装.

任何想法都受到赞赏.

感谢您的时间.

Pete

推荐答案

CliickOnce:清单可能无效 -首先阅读此内容可能

CliickOnce : Manifest may not be valid - Read this one first probably

也可以使用最后一个链接,通过使用 Wireshark ,它是免费的HTTP嗅探器(网络协议分析器).我已经用过了,它很棒.需要将其安装在有问题的PC上,以监视更新尝试期间发生的情况.您还应该检查有问题的PC 事件查看器记录日志以查看可能发生的情况.

Also per the last link you could monitor the download to the PC by using Wireshark which is a free HTTP sniffer (network protocol analyzer). I've used it and it's pretty awesome. It will need to be installed on the PC in question to monitor what is occuring during an update attempt. You should also check the PC in questions event viewer logs to see what may be happening.


这篇关于单击一次,文件Interop.Excel.dll不是有效的可移植可执行(PE)文件.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆