Technical FAQs

Ask a Question

Web Applications Tables shows Error: "There was a problem retrieving the data please try again"

Issue
An error:  "There was a problem retrieving the data please try again" shows up at the table page after trying to load the different default tables in the application. 

Product Line
Power Monitoring Expert 7.2.x 
Power monitoring Expert 8.x

Environment
Web Applications "Tables"

Cause
An error was found in the Application Modules Diagnostic Log stating:
Timestamp = 2016-02-24 5:17:24 PM +00:00
Priority = 2
Location = ION Enterprise-Default
Message = An unexpected error has occurred. Please consult the system diagnostic information.
Categories = [AuditLog][AuditSoftwareUnhandledException][General][ION Enterprise-Default]
Extended Information =
LogClientExtendedInformation: ApplicationModule: ION Enterprise-Default Description: The remote server returned an unexpected response: (405) Method Not Allowed.
 State: System.ServiceModel.ProtocolException: The remote server returned an unexpected response: (405) Method Not Allowed.
 ---> System.Net.WebException: The remote server returned an error: (405) Method Not Allowed.
 at System.Net.HttpWebRequest.GetResponse()
 at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
 --- End of inner exception stack trace ---
 Server stack trace:
 at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)
 at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
 at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
 at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
 at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
 at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
 at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
 Exception rethrown at [0]:
 at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
 at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
 at DataSourceDrivers.IonEnterprise.RealTime.IWebRealTime.GetAlarmEvents(AlarmFilter filter)
 at DataSourceDrivers.IonEnterprise.RealTime.WebRealTimeClient.GetAlarmEvents(AlarmFilter filter)
 at DataSourceDrivers.IonEnterprise.WebRealTimeWrapper.GetAlarmEvents(AlarmFilter filter)
 at DataSourceDrivers.IonEnterprise.IonEnterpriseAlarmDataSource.GetAlarmEvents(AlarmFilter filter)
 LogClient: DataSourceDrivers::DataSourceDrivers.DataSourceBase::CreateFaultException

This points to a windows feature not being installed. The 'HTTP Activation' feature within the 'WCF Services' of .NET Framework needs to be turned on/installed. 
 
Resolution

In order to install the Windows feature follow the next steps.

- Click on Start>Control Panel
- Click on Uninstall a program under the Programs and features section
- Clck on Turn on Windows features or or off on the left panel.
- Look for . NET Framework 4.5 Advance Services, and expand the section
- Expand WCF services, and make sure the HTTP activation is checked if it is not.

- Click OK and wait for the installation to complete. Then, try to open the tables again.

Following the above changes, if the error below is produced when attempting to log into Web Applications, refer to this KB:
SPM/PME: Server Error in '/Web' Application - Could not load type 'System.ServiceModel.Activation.HttpModule

Server Error in '/Web' Application.
--------------------------------------------------------------------------------

Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. 
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.TypeLoadException: Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Was this helpful?
What can we do to improve the information ?