we are using NAV 2013 while clicking on Dimensions Ledger report this error occurs :
restarting server solves this problem but it occurs again next day restarting server again and again didn’t solve this problem as it affects work.
Did you check Event Viewer for more information?
Dear Mohana How to check it? as it gives reconnect option yes or no and when i click any of the two options NAV got log out directly.
Event Viewer Details:
Server instance: DynamicsNAV70
Session type: RoleTailoredClient
Session ID: 55
User:
Type: System.InvalidOperationException
Message: Sequence contains no matching element
StackTrace:
at System.Linq.Enumerable.First[TSource](IEnumerable1 source, Func
2 predicate)
at Microsoft.Dynamics.Nav.Runtime.CallStackElement.GetText(StringBuilder sb)
at Microsoft.Dynamics.Nav.Runtime.NavConnection.GetCallstack(IEnumerable`1 callstack, String stackElementDelimiter)
at Microsoft.Dynamics.Nav.Runtime.SqlProfilerCommentProvider.WriteAlCallStackToSql()
at Microsoft.Dynamics.Nav.Runtime.SqlTableDataProvider.TryGetByPrimaryKey(RecordIdProviderRequest request, ReadOnlyRecordBuffer& recordBuffer, Boolean& cacheResult)
at Microsoft.Dynamics.Nav.Runtime.DataAccess.TryGetByPrimaryKeyInternal(RecordIdCacheRequest request, DataProvider provider, MutableRecordBuffer& recordBuffer)
at Microsoft.Dynamics.Nav.Runtime.ManagedRecordImplementation.FindRecordWithoutCheckingValues(DataError errorLevel, NavValue[] primaryKeyValues, FiltersAndMarks filtersAndMarks, Boolean useRecord, Boolean cacheOnly)
at Microsoft.Dynamics.Nav.Runtime.ManagedRecordImplementation.GetRecord(DataError errorLevel, NavValue[] values)
at Microsoft.Dynamics.Nav.Runtime.NavRecord.ALGet(DataError errorLevel, NavValue[] values)
at Microsoft.Dynamics.Nav.BusinessApplication.Record363.CopyAnalysisViewFilters_Scope.OnRun()
at Filter.InvokeWithFilter(NavMethodScope )
at Microsoft.Dynamics.Nav.BusinessApplication.Record363.CopyAnalysisViewFilters(Int32 objectType, Int32 objectID, NavCode analysisViewCode)
at Microsoft.Dynamics.Nav.BusinessApplication.Record363.OnInvoke(Int32 memberId, Object[] args)
at Microsoft.Dynamics.Nav.BusinessApplication.Report50088.UpdateColumnDim_Scope.OnRun()
at Filter.InvokeWithFilter(NavMethodScope )
at Microsoft.Dynamics.Nav.BusinessApplication.Report50088.UpdateColumnDim()
at Filter.InvokeWithFilter(NavMethodScope )
at Microsoft.Dynamics.Nav.BusinessApplication.Report50088.RequestPage.OnOpenPage()
at Microsoft.Dynamics.Nav.Runtime.NavForm.OpenForm()
at Microsoft.Dynamics.Nav.Service.NSFormBatchOpen.Open(NavConnection connection)
at Microsoft.Dynamics.Nav.Service.NSServiceBase.ExecuteOperation[T](String operationName, ServiceOperation`1 operation, Connection connection, Boolean revertLanguageChanges)
Source: System.Core
HResult: -2146233079
Kindly compile all the object and check again …
Object Designer/Reports-Dimensions Ledger
Click-Tools/Compile
it compiles successfully no error i have already compiled it so many times to fix this error but it remains intact.Do i have to re-import all the objects for this report??