05-23-2020 05:59 AM
Hi
I installed Geomedia Desktop 2020 Essential, Geomedia Webmap 2020 and use a spatial source from a local MS SQLServer.
Running the WMS service in the AdminConsole returns following error:
Error HRESULT E_FAIL has been returned from a call to a COM component. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.] Intergraph.GeoMedia.WebServices.Support.IGWMWSGenerateMapSupport.LayerInfo(Object LayerNames, Object MapServer) +0 Intergraph.GeoMedia.Web.SDI.WMS.Pipes.WMSBasicOriginatingPipe.WMSBasicOriginatingPipe.GetDataSourceConfiguration(GWMServerHandle gwmServerHandle, GWMWSGenerateMapSupport& objGenerateMapSupport) +698 Intergraph.GeoMedia.Web.SDI.WMS.Pipes.WMSBasicOriginatingPipe.WMSBasicOriginatingPipe.InitializeDataSourceConfiguration() +79 Intergraph.GeoMedia.Web.SDI.WMS.Pipes.WMSBasicOriginatingPipe.WMSBasicOriginatingPipe.Initialize(PipeConfiguration config, IPipe nextPipe) +427 Intergraph.GeoMedia.Web.SDI.Common.BasePipe.PipesConfiguration.PipesManager.InitializePipe(String processedPipeName, IDictionary`2 sectionsMap, IDictionary`2 startedPipesSet, IDictionary`2 nextPipesMapping) +1169 Intergraph.GeoMedia.Web.SDI.Common.BasePipe.PipesConfiguration.PipesManager.InitializePipe(String processedPipeName, IDictionary`2 sectionsMap, IDictionary`2 startedPipesSet, IDictionary`2 nextPipesMapping) +1080 Intergraph.GeoMedia.Web.SDI.Common.BasePipe.PipesConfiguration.PipesManager.InitializePipe(String processedPipeName, IDictionary`2 sectionsMap, IDictionary`2 startedPipesSet, IDictionary`2 nextPipesMapping) +1080 Intergraph.GeoMedia.Web.SDI.Common.BasePipe.PipesConfiguration.PipesManager.InitializePipe(String processedPipeName, IDictionary`2 sectionsMap, IDictionary`2 startedPipesSet, IDictionary`2 nextPipesMapping) +1080 Intergraph.GeoMedia.Web.SDI.Common.BasePipe.PipesConfiguration.PipesManager.CreatePipes(ConfigurationSectionCollection sections) +1330 Intergraph.GeoMedia.Web.SDI.Common.SDIProFacadeInterface.WebPipesManager.CreatePipes() +440 Intergraph.GeoMedia.Web.SDI.Common.SDIProFacadeInterface.ConfigurationManager.CreatePipesManager() +661 Intergraph.GeoMedia.Web.SDI.Common.SDIProFacadeInterface.ConfigurationManager.Initialize(Uri serviceHostBaseAddress, ServiceEndpointCollection serviceEndpoints) +2091 Intergraph.GeoMedia.Web.SDI.Common.SDIProFacadeInterface.SDIProServiceBehaviorAttribute.Validate(ServiceDescription serviceDescription, ServiceHostBase serviceHostBase) +88 System.ServiceModel.Description.DispatcherBuilder.ValidateDescription(ServiceDescription description, ServiceHostBase serviceHost) +311 System.ServiceModel.Description.DispatcherBuilder.InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost) +145 System.ServiceModel.ServiceHostBase.InitializeRuntime() +95 System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout) +48 System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) +376 System.ServiceModel.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity) +129 System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) +738 [ServiceActivationException: The service '/2761_Aesch_WMS_LKMAP/Service.svc' cannot be activated due to an exception during compilation. The exception message is: Error HRESULT E_FAIL has been returned from a call to a COM component..] System.Runtime.AsyncResult.End(IAsyncResult result) +576 System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +240 System.Web.CallHandlerExecutionStep.InvokeEndHandler(IAsyncResult ar) +234 System.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) +169
In the GWMLog, the error seems to be here:
2020-05-23 14:51:39 (1.786717) - GWMServices: ASFSW :SetSpatialFilter: Null Filter passed
2020-05-23 14:51:39 (1.786760) - Applying an empty spatial filter to the legend copy
2020-05-23 14:51:39 (1.786773) - GWMServices: ASFSW :ApplySpatialFilterToLegend: Starting
2020-05-23 14:51:39 (1.787081) - GWMServices: ASFSW :GetPrimaryGeometryFieldName: Failed with ERROR: : 0x8004011D : Cannot perform this operation.
2020-05-23 14:51:39 (1.787157) - GWMServices: ASFSW :GetOPsAndSFPs: Unable to get OPs for 52F40D83A2B756F5501974CB84B3F3D727D1ACC8 vELE_Kabine
2020-05-23 14:51:39 (1.787211) - GWMServices: ASFSW :ApplySpatialFilterToLegend: Exiting with ERROR: : 0x8004011D : GetOPsAndSFPs: GetPrimaryGeometryFieldName: Cannot perform this operation.
2020-05-23 14:51:39 (1.801780) - GetFromLibrary return 0
the mentioned view vELE_Kabine is a point object. it is displayed correctly in the map window of Geomedia Desktop.
does anyone can help me?
Thanks
Tom
05-26-2020 06:47 AM
Hi Tom,
The data will require to be checked and I noticed that a support ticket was already opened for this case.
Let's continue the investigation through the ticket.
Thanks,
Jan