我引用的MSMQ v3可在VS2010 C#项目对象库时只得到:COM互操作错误,没有注册类使用MSMQ图书馆
System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {0188401C-247A-4FED-99C6-BF14119D7055} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
我已经注册库中的参考点:
regsvr32 C:\windows\system32\mqoa.dll
我在想什么? 假设这样做,我需要在部署时做些什么来确保应用程序可以在安装了MSMQ的其他机器上运行?
测试的两台机器都是32位的XP机器,我将调用库的目标平台更改为x86,没有任何更改。 – mattmck 2010-12-15 22:17:43