Showing results for 
Search instead for 
Do you mean 

AdminConsole doesn't list all items in the side-bar after new install or upgrade

by Technical Evangelist on ‎10-31-2019 06:08 AM (175 Views)

Symptoms

After you upgraded, or installed a new version of GeoMedia WebMap, or Geospatial Portal, there are missing menu items in the AdminConsole interface, similar to this:

AdminConsole.png

Observation

You should inspect the logs for Configuration Wizard as well as the AdminConsole service.

  1. The AdminConsole service log (rol-log.txt) file is generated in C:\Program Files\Common Files\Hexagon\Administration Console Service\log folder.
  2. The Configuration Wizard log can be found at %LOCALAPPDATA%\Temp - GWMConfigWizard.log file.

In occassions it happens that the Configuration Wizard fails to deploy new AdminPortal - used by Maps & Workspaces option, and Backend - used by Consumer Portal. Or, that the new templates are missing at all from the C:\Program Files\Common Files\Hexagon\Services\AdminTemplates folder.

In such case, you will find errors similar to these:

Configuration Wizard log

2019-10-26 09:30:34,144 [5] ERROR Intergraph.GeospatialServer.Portal.Configuration.PortalPackagesAction.PackagePreparer - 
Exception occured while executing package (un)preparation step. The package might be in an undefined (rather broken) state.
<CreateInstancePreparationStep: location: 'C:\Program Files\Common Files\Hexagon\Services\AdminTemplates\SearchBackend\Files',
instanceName: 'Backend'> System.ServiceModel.FaultException`1[Intergraph.AdministrationConsole.Common.Contracts.Faults.NodeTreeOperationFailedFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to Intergraph.AdministrationConsole.Common.Contracts.Faults.NodeTreeOperationFailedFault).

AdminConsole log after running Configuration Wizard

2019-10-29 09:55:40,720 [8] ERROR Intergraph.GeospatialServer.Portal.Configuration.PortalPackagesAction.PackagePreparer 
Exception occured while executing package (un)preparation step. The package might be in an undefined (rather broken) state.
<CreateInstancePreparationStep: location: 'C:\Program Files\Common Files\Hexagon\Services\AdminTemplates\AdminPortal\Files',
instanceName: 'AdminPortal'>... ....
2019-10-29 09:55:41,742 [8] ERROR Intergraph.GeospatialServer.Portal.Configuration.PortalPackagesAction.PackagePreparer
Exception occured while executing package (un)preparation step. The package might be in an undefined (rather broken) state.
<CreateInstancePreparationStep: location: 'C:\Program Files\Common Files\Hexagon\Services\AdminTemplates\SearchBackend\Files',
instanceName: 'Backend'>...

AdminConsole log after running the GUI on the corrupted installation

2018-10-02 17:04:17,281 [6] DEBUG Intergraph.AdministrationConsole.Service.Installer.Commands.CopyDirectoryCommand [(null)] - Copying template Files started
2018-10-02 17:04:17,282 [6] WARN Intergraph.AdministrationConsole.Service.Installer.InstallerCommandExecutor [(null)] - System.ArgumentException: Destination Folder already exist
Parameter name: PhysicalPath
at Intergraph.AdministrationConsole.Service.Installer.Commands.CopyDirectoryCommand.Execute(ContextCollection contexts)
at Intergraph.AdministrationConsole.Service.Installer.InstallerCommandExecutor.ExecuteCommands(ContextCollection contexts, ICollection`1 installationCommands)
2018-10-02 17:04:17,499 [6] DEBUG Intergraph.AdministrationConsole.Service.Installer.Commands.CopyDirectoryCommand [(null)] - Rollback started
2018-10-02 17:04:18,154 [6] ERROR ErrorHandler [(null)] - The service encountered an unhandled exception
Intergraph.AdministrationConsole.Common.Node.Exceptions.NodeTreeOperationFailedException: Object reference not set to an instance of an object.
at Intergraph.AdministrationConsole.Service.Nodes.Core.WebServiceNodeFactory.CreateNode(String name, INode parent, IDictionary`2 initializationValues) 

Solution

Perform following steps to insure that there are the newest templates published and their instances are re-created.

  1. Stop WWW and AdminConsole service
  2. In IIS Management:
    1. Remove AdminPortal application (it's nested under AdminConsole)
    2. Remove AdminPortalAppPool application pool
      Note: In some cases, it's impossible to remove App Pool via GUI. Then you have to manually edit C:\Windows\System32\inetsrv\config\applicationHost.config and remove everything related to AdminPortal. Run standard Notepad application as Administrator to perform this step. Make a backups!
  3. Remove C:\Program Files\Common Files\Hexagon\Services\AdminTemplates\AdminPortal
  4. Remove C:\Program Files\Common Files\Hexagon\Services\AdminInstances\AdminPortal
  5. In registry editor, explore following keys and delete anything pertaining to Admin Portal (e.g. Common_Admin_Portal_Template--CreateInstance):
    1. HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Intergraph\Geospatial Server\Components
    2. HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Intergraph\Geospatial Server\VersionedComponents
  6. Run WebMap (or Geospatial Portal) repair
  7. Start IIS
  8. Run WebMap (or Geospatial Portal) Configuration Wizard
Contributors