This error message should not have any effect on the Event History app. The HMI communication with the PLC has nothing to do with the communication between the Event History app and the EventRecorder service. So, even if you get the error message when starting the HMI, you should be able to use the app to view the event history of the station.
About the PLC communication problem: If your project has one HMI instance only which is on the same target system as the PLC, the HMI export will always generate a configuration containing the localhost AMS Net ID. In this case, when running the HMI on the development computer, it will try to connect to the local runtime, usually causing the error you are encountering. If you really want the HMI on the development computer to connect to the target system, you have to add another IPC with an HMI runtime to the OES/CpStudio project, representing your development computer. After exporting, the HMI configuration will contain the AMS Net ID you have configured for the IPC hosting the PLC, and communication to the PLC should work (provided the ADS route is configured).
... View more