我正在VSS 2010,.Net 4.0和Widows 7(64位)上构建应用程序。检索COM类工厂
我正在使用第三方组件来加密和解密密码。
我引用了我的应用程序中的第三个paty dll并编写了代码。
当我想我的综合VSS Web服务器上运行,这是给下面的错误,
System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {B72DF070-28A4-11D3-BF19-009027438003} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache) at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Activator.CreateInstance(Type type) at EncryptProject.HashString.hashstring(String password, String pwsalt)
但是,当我将这些代码的dll到生产服务器时,它是工作的罚款。
我搜索通过互联网和得到一些建议的目标更改为平台,以86,64 ...
我试过所有可能的方式,但没有用。
如果有人帮我解决这个问题,那将会很棒。
这样我才能在本地系统中调试我的应用程序。
由于提前,
问候..