本文介绍了无法运行客户端com的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已经使用.net创建了COM对象.然后,我使用一个非托管客户端来使用COM.结果效果很好.然后,我将客户端应用程序移植到另一台计算机上.但这给了我一个错误:该应用程序无法启动,因为其并行配置不正确.

我已经将程序集注册到注册表和GAC.为了确定,我还检查了GAC文件夹和程序集在那儿.我该如何纠正此问题.我发现了哪些配置.

我使用的是VS 2005 Pro,Win 7

Hye,

I have created COM object using .net. And then I use A Unmanaged client to use the COM. The result works fine. And then I port the client app into another computer. But it give me an error : The application has failed to start because its side by side configuration is incorrect.

I already register the assembly to registry and GAC. To make it sure,I also check the GAC folder and the assembly was there. How do I rectify this problem..What the configuration those I have uncovered.

I''m using VS 2005 Pro, Win 7

推荐答案


%WINDIR%\Microsoft.NET\Framework\v2.0.50727\regsvcs /fc "[Drive]:\[Path]\[AssemblyName.dll]"


这篇关于无法运行客户端com的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 07:42
查看更多