VERIFIED SOLUTION i
X

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

Issue

Error message 'Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))'' encountered while publishing 64-bit Web application in IIS developed using MapXtreme.NET 7.2.

User-added image

Cause

Following are the two possible causes:
  • Build platform is not selected as 'x86'
  • MapInfo.CoreEngine components are not registered in COM

Resolution

UPDATED: March 28, 2017


  • Build the application using 'x86' platform.
  • Register MapInfo.CoreEngine components in COM
Steps to register MapInfo.CoreEngine in COM+:
Installing MapXtreme (x64) creates two COM+ applications - x86 and x64. If both objects (via Component Services)
are not present, run the following commands in the specified given:

C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\REGSVCS.EXE /u /quiet
C:\WINDOWS\Microsoft.NET\assembly\GAC_64\MapInfo.CoreEngine\v4.0_7.2.0.64__
93e298a0f6b95eb1\MapInfo.CoreEngine.dll

C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\REGSVCS.EXE /u /quiet
C:\WINDOWS\Microsoft.NET\assembly\GAC_32\MapInfo.CoreEngine\v4.0_7.2.0.64__
93e298a0f6b95eb1\MapInfo.CoreEngine.dll

C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\REGSVCS.EXE /quiet /noreconfig
C:\WINDOWS\Microsoft.NET\assembly\GAC_32\MapInfo.CoreEngine\v4.0_7.2.0.64__
93e298a0f6b95eb1\MapInfo.CoreEngine.dll

C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\REGSVCS.EXE /quiet /noreconfig
C:\WINDOWS\Microsoft.NET\assembly\GAC_64\MapInfo.CoreEngine\v4.0_7.2.0.64__
93e298a0f6b95eb1\MapInfo.CoreEngine.dll

Environment Details

Product Feature: General

 

Downloads

  • No Downloads