Hello.
My application uses SendMessage () to send an AnalyticsEvent, with the following exception:
Note that my application normally sends events to XProtect 2017 R3 Corporate, but for XProtect 2014 Corporate it fails to send events and the following exception occurs.
Why is that?
MIP: Error: BaseEventHandler ():************** Inner Exception **************
Exception source: System
Exception type: System.Net.WebException
Exception message: The remote name could not be resolved: 'mgmtgensvc.js.com'
Exception target site: GetRequestStream
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()
************** Outer Exception **************
Exception source: mscorlib
Exception type: System.ServiceModel.EndpointNotFoundException
Exception message: There was no endpoint listening at http://mgmtgensvc.js.com:22331/Central/AlarmService that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
Exception target site: HandleReturnMessage