10 Replies Latest reply on Nov 14, 2017 7:44 PM by Rick Davin

    AFEventFrameSearch error out on AF Server 2.9.1 and 2.9.2 "Additional information: Unexpected Server Error: 'Array dimensions exceeded supported range.'. "

    Sebastien-RtTech

      Hi,

          I would like to know more details on this error below when running an AFEventFrameSearch. The code works fine when running against an AF server 2.8.0 and 2.8.6.

      So at this point, not sure if that would be a server  configuration issue?

       

      AFEventFrameSearch error out on AF Server 2.9.1 and 2.9.2 "Additional information: Unexpected Server Error: 'Array dimensions exceeded supported range.'. "

       

      Here is the code below:

       

                      Dim searchTokens As IList(Of AFSearchToken) = New List(Of AFSearchToken)

       

                      If referenceElementName IsNot Nothing AndAlso referenceElementName <> "" Then

                          searchTokens.Add(New AFSearchToken(AFSearchFilter.ElementName, AFSearchOperator.Equal, referenceElementName))

                      End If

       

                      If minEventDurationSeconds > 0 Then

                          searchTokens.Add(New AFSearchToken(AFSearchFilter.Duration, AFSearchOperator.GreaterThanOrEqual, New AFTimeSpan(0, 0, 0, 0, 0, minEventDurationSeconds).ToString()))

                      End If

       

                      Dim searchString As String = AFSearchToken.ToString(searchTokens.AsEnumerable)

                      Dim searchedObject = New AFEventFrameSearch(AFDBObject, strSubHeader, AFSearchMode.Overlapped, utcStartTime, utcEndTime, searchString)

                      searchedObject.CacheTimeout = TimeSpan.FromMinutes(10)

                      searchedEvents = searchedObject.FindEventFrames(startIndex, True, pageSize)

       

      thanks