错误消息“无法安装或运行该应用程序。该应用程序需要GAC“ stdole版本7.0.3300.0”。 [英] Error message "Unable to install or run the application. The application requires stdole Version 7.0.3300.0 in the GAC"

查看:323
本文介绍了错误消息“无法安装或运行该应用程序。该应用程序需要GAC“ stdole版本7.0.3300.0”。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当一个用户尝试运行该应用程序时,我们的ClickOnce应用程序将报告:

When one user tries to run the application, our ClickOnce application is reporting:


无法安装或运行该应用程序。该应用程序需要GAC中的stdole版本7.0.3300.0。

Unable to install or run the application. The application requires stdole Version 7.0.3300.0 in the GAC.

有趣的是, GAC (C:\Windows\assembly)中没有安装stdole。我怎么到那里?

It's interesting to note that the GAC (C:\Windows\assembly) does not have stdole installed in it. How do I get it there?

我们正在使用.NET 3.5,并且它已经安装在此计算机上。

We are using .NET 3.5, and it has been installed on this computer.

推荐答案

因此,事实证明.NET文件已复制到 C:\Program Files\Microsoft.NET\Primary Interop Assemblies\ 。但是,它们从未在 GAC 中注册。

So it turns out that the .NET files were copied to C:\Program Files\Microsoft.NET\Primary Interop Assemblies\. However, they were never registered in the GAC.

我最终手动将 C:\Program Files\Microsoft.NET\Primary Interop Assemblys 中的文件拖到 C: \windows\assembly ,该应用程序就可以在该问题机器上运行了。您也可以使用 Gacutil

I ended up manually dragging the files in C:\Program Files\Microsoft.NET\Primary Interop Assemblies to C:\windows\assembly and the application worked on that problem machine. You could also do this programmatically with Gacutil.

因此.NET在安装过程中似乎发生了某些事情,但这似乎可以解决问题。我希望这可以帮助其他人!

So it seems that something happened to .NET during the install, but this seems to correct the problem. I hope that helps someone else out!

这篇关于错误消息“无法安装或运行该应用程序。该应用程序需要GAC“ stdole版本7.0.3300.0”。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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