安装msmqdistributor for Enterprise Library 6时出现异常

时间:2015-07-22 13:48:31

标签: msmq enterprise-library enterprise-library-6

我正在尝试为Enterprise Library 6安装msmqdistributor服务,但是遇到了这个例外:

An exception occurred during the Install phase.
System.InvalidOperationException: Unable to get installer types in the C:\EntLib\MsmqDistributor.exe assembly.
The inner exception System.Reflection.ReflectionTypeLoadException was thrown with the following error message: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information..

它要求的类型是什么?

非常感谢您的帮助!

1 个答案:

答案 0 :(得分:1)

我自己解决了。希望这可以帮助其他想要使用MSMQ登出的人。

我重新下载了源代码,并使用batch命令重新编译了整个Enterprise Library 6.这生成了一个有效的msmqdistributor.exe。

请注意,我还重新编译了LAB解决方案的源代码,但这不起作用。