NAV 2013 R2 Build 37221

gonnellagonnella Posts: 2Member

Type: System.Collections.Generic.KeyNotFoundException
Message: The given key was not present in the dictionary.
StackTrace:
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Microsoft.Dynamics.Nav.Runtime.DataAccess.<>c__DisplayClass15.<TryHandleAsPrimaryKeyLookup>b__14(NCLMetaField f)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at Microsoft.Dynamics.Nav.Runtime.DataAccess.TryHandleAsPrimaryKeyLookup(DataCacheRequest request, Boolean cacheOnly, MutableRecordBuffer& recordBuffer)
at Microsoft.Dynamics.Nav.Runtime.DataAccess.InnerFind(FindCacheRequest request, Boolean fromPosition, Func`1 onlyCurrentKeyNeededForNextRow)
at Microsoft.Dynamics.Nav.Runtime.RecordImplementation.IssueFindRequest(DataError errorLevel, Boolean reversed, FindType findType, Boolean useCache)
at Microsoft.Dynamics.Nav.Runtime.RecordImplementation.FindFirstRecord(DataError errorLevel)
at Microsoft.Dynamics.Nav.Runtime.NavRecord.ALFindFirst(DataError errorLevel)
at Microsoft.Dynamics.Nav.Service.NSAutoCompleteEngine.ExecuteAutoCompleteInternal(NCLMetaTable relatedMetaTable, Int32 relatedFieldId)
at Microsoft.Dynamics.Nav.Service.NSField.ValidateField(NavSession session)
at Microsoft.Dynamics.Nav.Service.NSField.Validate(NavSession session)
at SyncInvokeValidateField(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.ErrorMappingCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
Source: mscorlib
HResult: -2146232969

Has anyone experienced this issue before, on validate on 'To Bin Code' on the movement worksheet, invokes a client crash.

This error message is captured on the event viewer on the NST.

3 NSTs, only happens if connected to one of the NSTs works fine on the other two.

Tried the usual restart (switch it on and off again IT Crowd style).

Pete

Answers

  • archer89archer89 ViennaPosts: 333Member
    did you test always with the same data?
    does the value for "to bin code" exist in the table ?
    best regards
    Franz Kalchmair, MVP
    Alias: Jonathan Archer

    please like / agree / verify my answer, if it was helpful for you. thx.
    Blog: http://moxie4nav.wordpress.com/
  • gonnellagonnella Posts: 2Member
    yes to both, with regards to the 'to bin code' behaviour it crashes before the user can even get to the bin code list.
  • herbneroherbnero Posts: 1Member
    Hello, Did you ever find a resolution to this? We are having the same issue, it requires a service restart to resolve, we are looking for a better solution.

    Thanks in advance!
  • sydaussydaus Posts: 10Member
    1) run Table 2000000071 Object Metadata
    2) remove the record for Table 7326 (source of 7351), then remove 7351 Page record
    3) recompile the Table 7326 and Page 7351
    We can use the above way, but this issue still popped up again.
    Does anyone have a better solution? Thanks.
Sign In or Register to comment.