No registered class (Exception from hresult:0x80040154 (Regdb_e_classnotreg))

Source: Internet
Author: User

"No registered class (Exception from hresult:0x80040154 (Regdb_e_classnotreg))"

Generally there are two kinds of circumstances, I have recently done projects have met the "

First: (Problems with the build platform)

Workaround:

In the project properties, set "build" = "target platform" to x86 instead of the default any CPU

Second: (The COM component used by the third-party component is not registered)

Workaround:

Registration component: regsvr32 +DLL/OCX/CPL's actual path

But sometimes it is reported that the module "C:\DsoFramer\dsoframer.ocx" has been loaded, but the call to DllRegisterServer failed with the error code 0x80070005.

This general situation is in Win7 64 bits of the computer will appear this error, insufficient authority: this time as long as the regsvr32 changed to Runas/user:administrator regsvr32 on it.

No class was registered (Exception from hresult:0x80040154 (Regdb_e_classnotreg))

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.