- Traffic reports are empty and traffic summarization...

Expand / Collapse - Traffic reports are empty and traffic summarization fails with "System.ArgumentException: Input string was not in a correct format" error

Article ID: 52291 - Last Review: June 9, 2015


Traffic reports are empty and traffic summarization fails with "System.ArgumentException: Input string was not in a correct format" error. 


The prairieFyre Data Processor Service log show an error such as:

Error 2015-Jun-09 02:02:08.856 SyncDataWithSql An exception occurred inserting the traffic data using bulk insert:
--- Start Exception Stack ---
System.ArgumentException: Input string was not in a correct format.Couldn't store <14|601|1364efed-e66e-4566-9be4-a252f31a36d7|06/08/2015 12:00:00|0||||||||||||||||LD|2|0.09|0|0.00|0|2|0||||324.00|0.00> in devicetype Column. Expected type is Int32. ---> System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.String.System.IConvertible.ToInt32(IFormatProvider provider)
at System.Data.Common.Int32Storage.Set(Int32 record, Object value)
at System.Data.DataColumn.set_Item(Int32 record, Object value)
--- End of inner exception stack trace ---
at System.Data.DataColumn.set_Item(Int32 record, Object value)
at System.Data.DataRow.set_Item(DataColumn column, Object value)
at prairieFyre.BAL.DataAnalysis.DataExport.PFDataReader.parseString(Int32& x, String& value, DataRow& row)
at prairieFyre.BAL.DataAnalysis.DataExport.PFDataReader.Read()
at System.Data.SqlClient.SqlBulkCopy.ReadFromRowSource()
at System.Data.SqlClient.SqlBulkCopy.ReadFromRowSourceAsync(CancellationToken cts)
at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalAsync(CancellationToken ctoken)
at System.Data.SqlClient.SqlBulkCopy.WriteRowSourceToServerAsync(Int32 columnCount, CancellationToken ctoken)
at System.Data.SqlClient.SqlBulkCopy.WriteToServer(IDataReader reader)
at prairieFyre.BAL.DataAnalysis.Traffic.TrafficDataWriter.SyncDataWithSql()
at prairieFyre.BAL.DataAnalysis.Traffic.SummarizeTraffic.WriteSummarizedData()
at prairieFyre.BAL.DataAnalysis.Traffic.SummarizeTraffic.SummarizeData()
at prairieFyre.BAL.DataAnalysis.Summarize.SummarizeSelectMedia(Guid[] mediaIDs, DateTime[] dates, Int32 ReplayStreamTimeNotificationIntervalSecs, Boolean RegenerateOAI, SummarizeStatusUpdate OnSummarizeStatusUpdate, SummarizeProcessingCompleted OnSummarizeProcessingCompleted)
--- End Exception Stack ---


This issue is resolved by an upgrade to version (TFS #253696); for detailed release notes, see http://micc.mitel.com/kb/KnowledgebaseArticle52287.aspx



Keywords: traffic summarize fail error input string

Rate this Article:

Add Your Comments

Name: *
Email Address:
Web Address:
Verification Code:

Last Modified:Thursday, July 16, 2015
Last Modified By: dfountaine
Type: BUG
Rated 1 star based on 1 vote
Article has been viewed 3,780 times.