Event ID 56417 when QoE reports have ApplicationSharingType and OS values longer than max length limit

Consider the following scenario:
  • You have deployed the Quality of Experience (QoE) service in a Microsoft Skype for Business Server 2015 environment.
  • A user shares several applications in a single Application Sharing session. For example, a user selects Present Programs multiple times to share multiple email messages in the same session.
In this situation, the titles of the shared email messages are concatenated and sent in the QoE Report to be logged in the Skype for Business QoEMetrics database.

If the titles add up to longer than 256 characters, the session cannot be logged in the Skype for Business QoEMetrics database and the following event is logged in the Skype for Business Server log on the front end server:

Log Name:      Lync Server
 Source:        LS Data Collection
 Date:          DATE/TIME
 Event ID:      56417
 Task Category: (2271)
 Level:         Error
 Keywords:      Classic
 User:          N/A
 Computer:      serverName.contoso.com
 Failed to insert QoE to back-end due to unexpected error.
 Component: QoE Adaptor
 Error: System.ArgumentException: Cannot set column 'ApplicationSharingType' (sometimes it is 'OS').  The value violates the MaxLength limit of this column.
    at System.Data.DataColumn.CheckMaxLength(DataRow dr)
    at System.Data.DataTable.RaiseRowChanging(DataRowChangeEventArgs args, DataRow eRow, DataRowAction eAction, Boolean fireEvent)
    at System.Data.DataTable.SetNewRecordWorker(DataRow row, Int32 proposedRecord, DataRowAction action, Boolean isInMerge, Boolean suppressEnsurePropertyChanged, Int32 position, Boolean fireEvent, Exception& deferredException)
    at System.Data.DataTable.InsertRow(DataRow row, Int64 proposedID, Int32 pos, Boolean fireEvent)
    at System.Data.DataRowCollection.Add(DataRow row)
    at Microsoft.Rtc.Server.UdcAdapters.QoE.PackReport.PackStream(Byte mediaLineType, Boolean inbound, StreamType streamMetrics, DBQoEReport dbReport, Boolean Caller)
    at Microsoft.Rtc.Server.UdcAdapters.QoE.PackReport.Pack(VQReportEventType report, LyncMessageDetails msgDetails, DBQoEReport dbReport)
    at Microsoft.Rtc.Server.UdcAdapters.QoE.QoEProcessor.ProcessMessageForStore(LyncMessageDetails msgDetails)
    at Microsoft.Rtc.Server.UdcAdapters.QoE.QoEProcessor.ProcessQueueItems(LyssQueueItem queueItem)
Cause: an unexpected condition has resulted in the error.
Verify the back-end is up and this Lync Server has connectivity to it. If the problem persists, notify your organization's support team with the relevant details.


Article ID: 3170170 - Last Review: 06/27/2016 18:31:00 - Revision: 1.0

  • kbfix kbqfe kbsurveynew kbexpertiseadvanced KB3170170