Zkemkeeper.dll部署后无法正常工作,是否未注册类? [英] Zkemkeeper.dll not working after deploying, Class not registered?

查看:392
本文介绍了Zkemkeeper.dll部署后无法正常工作,是否未注册类?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将Web应用程序集成到ZKTeco生物识别设备.它工作正常,但是当我部署应用程序并尝试与生物识别设备连接时,出现以下错误:

I am trying to integrate to ZKTeco bio-metric device with my web application. It's working absolutely fine but when I deploy application and try to connect with bio-metric device I get the following error:

使用以下错误检索具有CLSID {00853A19-BD51-419B-9269-2DABE57EB61F}的组件的COM类工厂失败:80040154未注册类(HRESULT的异常:0x80040154(REGDB_E_CLASSNOTREG)).

Retrieving the COM class factory for component with CLSID {00853A19-BD51-419B-9269-2DABE57EB61F} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

我正在关注我尝试了以下解决方案:

I tried following solutions:

  1. 我将dll的引用更改为复制到本地.
  2. 我在部署之前更改了目标CPU.

但两种解决方案均无效.有什么可能的解决方案?

But both the solutions didn't work. What could be possible solution?

推荐答案

您必须在将要使用您的程序的每台计算机中注册zkemkeeper,而不仅是在开发环境中.

You must register zkemkeeper in every computer that will use your program, not just in the development environment.

要在开发计算机和部署计算机中注册zkemkeeper dll,请遵循本文解决方案中提供的步骤:

To register the zkemkeeper dll in both development and deployment computers, follow the steps provided in the solution of this post: Error when inserting finger print data into database table. When registering in deployment computers, avoid the steps related with the Visual Studio.

您还应该查看此文档,它提供了有用的信息来了解zkemkeeper的工作原理:

You should also take a look to this document, it provides useful information to understand how zkemkeeper works: COM Class Objects and CLSIDs.

最诚挚的问候.

这篇关于Zkemkeeper.dll部署后无法正常工作,是否未注册类?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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