Lets Have a fun with Technology.

BTemplates.com

Follow by Email

Saturday, February 13, 2016

Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))


Problem

Error in Application.

Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

Solution

Hello,

From error it’s look like Program which you are trying to access
either not registered nor properly installed on machine.

You can repair this program and try once again.

If this program is not register you can register it via Regsvr32.exe.

Other problem may be you are trying to use 32-bit dll in the 64 bit machine. for this you have to do below setting in your visual studio.

properties -> build -> Platform Target = x86

Similar configuration you have to do in your IIS (when you deploy your application. 
In IIS we have setting to run 32 bit application on 64 bit machine.)

Let me know if your problem still not resolved.

Enjoy !!!!!!!!


0 comments:

Post a Comment