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


Error in Application.

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



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 !!!!!!!!

Posted in |


Post a Comment