Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retrieving the COM class factory for component with CLSID failed #1

Closed
xcngl opened this issue Jun 12, 2023 · 8 comments
Closed

Retrieving the COM class factory for component with CLSID failed #1

xcngl opened this issue Jun 12, 2023 · 8 comments

Comments

@xcngl
Copy link

xcngl commented Jun 12, 2023

After clicking the "Click here to print" button, the prompt "{"code":500,"msg":"Unknown error occured: Retrieving the COM class factory for component with CLSID {B940C105-7F01-46FE-BF41-E040B9BDA83D} failed due to the following error: 80040154 \u6CA1\u6709\u6CE8\u518C\u7C7B (0x80040154 (REGDB_E_CLASSNOTREG))."}" will appear. What should I do?

@de-sec
Copy link

de-sec commented Jun 26, 2023

Try to use x86 Version of bPAC Client Components - fixed it for our use case (local usage on a Win11 Pro Workstation).

@xWTF
Copy link
Owner

xWTF commented Jun 26, 2023

If an x86 version of client component solves the issue, the binaries I compiled might be running under 32 bit mode for some reason.
That doesn't make any sense to me since I've specified <PlatformTarget>x64</PlatformTarget>...

Anyway, I have added a label indicating current cpu bit width in v1.0.2, feel free to check it out.

image

@xWTF xWTF changed the title Error: TypeError: Failed to fetch Retrieving the COM class factory for component with CLSID failed Jun 26, 2023
@xWTF xWTF pinned this issue Jun 26, 2023
@xWTF xWTF closed this as completed Jun 26, 2023
@xcngl
Copy link
Author

xcngl commented Jun 27, 2023

image

@xcngl
Copy link
Author

xcngl commented Jun 27, 2023

这个怎么搞呢?点击按钮后提示{“code”:200}。看了下这个端口是监听状态,但是访问不了

@xWTF
Copy link
Owner

xWTF commented Jun 27, 2023

{“code”:200} = request success
the printer should be printing your labels atm

@xcngl
Copy link
Author

xcngl commented Jun 27, 2023

没有打印任务,是必须用 Brother 标签打印机吗?

@xWTF
Copy link
Owner

xWTF commented Jun 27, 2023

没有打印任务,是必须用 Brother 标签打印机吗?

该项目使用 “bPAC SDK” 来执行打印任务。
b-PAC 是一个将数据发送到 Brother 标签打印机/移动打印机 的组件,因此该项目只能用于 Brother 标签打印机。

@xcngl
Copy link
Author

xcngl commented Jun 27, 2023

好吧😂谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants