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

507
1
03-17-2011 05:24 AM
IanShephard
New Contributor
Hi

I'm migrating an application written using VB6 and ArcObjects to .NET

After a machine rebuild, the application started to fail with the above error when OnCommand_OnClick is executed.

The project properties Complie tag has the target machine set as X86.

I have tried to register associated DLLs using Regsvr32 but this results in
"****.dll was loaded, but the DllRegisterServer entry point was not found. This file can not be registered"
I have also ran (again) the regasm utility on the main DLL but still get the above message.

Any help would be much appreciated
Ian
0 Kudos
1 Reply
nikhilsastikar
New Contributor
Hi,
Try to set the target platform as x86 and then compile and run the project


Thanks
Nikhil
0 Kudos