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

(Class not register) Provider cannot be found. It may not be properly installed. "發生例外狀況。 (找不到提供者。它可能未被正確安裝。)" #47

Closed
YamiOdymel opened this issue Dec 20, 2019 · 1 comment

Comments

@YamiOdymel
Copy link

with the mdb.go example it shows the following error message

create mdb 發生例外狀況。 (類別未登錄)
> Class not registered

this playground shows another message but it has the same meaning.

"發生例外狀況。 (找不到提供者。它可能未被正確安裝。)"
>  Provider cannot be found. It may not be properly installed.

image

@YamiOdymel
Copy link
Author

Okay, so basically this library calls a 32-bit component that cannot be run on a x64 computer. This issue says all. Run the program under x86 and you'll be fine.

set GOARCH=386

Detail: https://stackoverflow.com/questions/15478117/class-not-registered-exception

The error itself is clear - one of the classes you are using is not registered on the Win7 system (ie : missing DLL, etc). This could be because the component/library was never installed on the Win7 system or the installation is corrupt. It could also be because it is a 32-bit component and you are targeting AnyCPU or x64 in your compilation options.

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

1 participant