AnsweredAssumed Answered

MSE Location framework error help

Question asked by nickston3 on Feb 13, 2014
Latest reply on Feb 14, 2014 by dsladden

Hi!

 

I have a very simple application that connects to a Cisco MSE 7.0.240.0 every 15seconds and queries for getStationLocation and getTagLocationList.

 

This runs fine most of the time and can gather thousands of locations at a time. However, every now and then an exception is thrown and an error on my application states that:

...0 locations were collected from the MSE

at approximately the same time I can find the following error on the MSE framework logs:

2014-02-06 22:53:48.1197 ERROR MobilityEngine.Cisco.CiscoClient An error occured attempting to get Wi-Fi locations. System.InvalidOperationException: There is an error in XML document (1, 156167). ---> System.Net.WebException: The operation has timed out. at System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.IO.StreamReader.ReadBuffer(Char[] userBuffer, Int32 userOffset, Int32 desiredChars, Boolean& readToUserBuffer) at System.IO.StreamReader.Read(Char[] buffer, Int32 index, Int32 count) at System.Xml.XmlTextReaderImpl.ReadData() at System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr) at System.Xml.XmlTextReaderImpl.ParseAttributes() at System.Xml.XmlTextReaderImpl.ParseElement() at System.Xml.XmlTextReaderImpl.ParseElementContent() at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderLocationService.Read82_AesMobileStationLocation(Boolean isNullable, Boolean checkType) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderLocationService.Read138_Response(Boolean isNullable, Boolean checkType) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderLocationService.Read304_GetStationLocationListResponse() at Microsoft.Xml.Serialization.GeneratedAssembly.ArrayOfObjectSerializer253.Deserialize(XmlSerializationReader reader) at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) --- End of inner exception stack trace --- at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle) at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Cisco.Mse74.Location.LocationService.GetStationLocationList(GetListArgs GetStationLocationList1) in c:\XXX\YYY\Cisco.Mse74\Location\LocationService.cs:line 1315 at MobilityEngine.Cisco.CiscoClient.GetMobileLocations(GetListArgs args, Int32 startIndex) in c:\XXX\YYY\MobilityEngine\Cisco\CiscoClient.cs:line 196 at MobilityEngine.Cisco.CiscoClient.GetMobileLocations(GetListArgs args) in c:\XXX\YYY\MobilityEngine\Cisco\CiscoClient.cs:line 183 at MobilityEngine.Cisco.CiscoClient.GetWifiLocations(GetListArgs args) in c:\XXX\YYY\MobilityEngine\Cisco\CiscoClient.cs:line 161 at MobilityEngine.Cisco.CiscoClientBase.GetWifiLocations(Int32 ageThreshold) in c:\XXX\YYY\MobilityEngine\Cisco\CiscoClientBase.cs:line 161


Has anyone else seen this before? or could point me in the right direction?

Go easy on me, I'm an engineer, not a developer

Outcomes