Issue
Error: "There was a problem retrieving the data please try again" shows up when loading Tables in Web Applications.
Product Line
Power Monitoring Expert 7.2.x
Power Monitoring Expert 8.x
Environment
Web Applications "Tables"
Cause
This is due to a Windows feature (HTTP Activation)not being installed. The 'HTTP Activation' feature within the 'WCF Services' of .NET Framework needs to be turned on/installed.
The related error is found in the Application Modules Diagnostic Log:
Resolution
In order to install the Windows feature 'HTTP Activation' follow the steps below:
1. On the server Click on Start and navigate to Control Panel
2. Click on Uninstall a program under the Programs and Features section
3. Click on Turn on Windows features or off on the left panel.
4. Find NET Framework 4.5 Advanced Services, and expand the section. (Note: same applies to .NET Framework 4.7)
5. Expand WCF services, and ensure the HTTP activation is checked.
6. 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 FA298030.
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'.
Error: "There was a problem retrieving the data please try again" shows up when loading Tables in Web Applications.
Product Line
Power Monitoring Expert 7.2.x
Power Monitoring Expert 8.x
Environment
Web Applications "Tables"
Cause
This is due to a Windows feature (HTTP Activation)not being installed. The 'HTTP Activation' feature within the 'WCF Services' of .NET Framework needs to be turned on/installed.
The related error is found in the Application Modules Diagnostic Log:
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
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
In order to install the Windows feature 'HTTP Activation' follow the steps below:
1. On the server Click on Start and navigate to Control Panel
2. Click on Uninstall a program under the Programs and Features section
3. Click on Turn on Windows features or off on the left panel.
4. Find NET Framework 4.5 Advanced Services, and expand the section. (Note: same applies to .NET Framework 4.7)
5. Expand WCF services, and ensure the HTTP activation is checked.
6. 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 FA298030.
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'.