[gelöst] Nach Start eines Reports beendet sich NAV

12. März 2019 09:57

Guten Morgen zusammen,

ich habe folgendes Problem.

Wir haben eine Report, der ein Prüfbericht ausdruckt. Dieser funktioniert und soll nun angepasst werden.
Hierzu habe ich den Report kopiert (abgespeichert unter einer anderen ID und einem anderen Namen). Wenn ich jetzt den kopierten Bericht starte beendet sich NAV. Es erscheint noch nicht mals die Requestpage.

Voran kann das liegen? Es wurde sonst im Programmcode oder im Layout noch gar nichts an dem Bericht geändert...

Gruß & Besten Dank im Voraus...
Zuletzt geändert von simon.sprenger am 12. März 2019 13:39, insgesamt 1-mal geändert.

Re: Nach Start eines Reports beendet sich NAV

12. März 2019 10:58

Hallo,

hast du die Requestpage geändert? Oder einen Filter auf ein inzwischen entferntes Feld gesetzt?

Hast du schon in die Ereignisanzeige geschaut?

Gruß Fiddi

Re: Nach Start eines Reports beendet sich NAV

12. März 2019 11:44

Hallo,

nein, das ist ja das was mich wundert. Ich habe außer der Report Id und dem Namen nichts geändert. Filter sind keine gesetzt. Der original Bericht funktioniert auch weiterhin.

Anbei die Meldung aus der Ereignissanzeige.

Type: System.ArgumentException
Message: Could not find matching column binders for all of the given field ids.
StackTrace:
bei Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.<>c__DisplayClass6.<DoRethrowWithCatchException>b__4()
bei Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
bei Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute)
bei Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(Exception exception, Boolean designMode)
Source: Microsoft.Dynamics.Nav.Client.WinClient
HResult: -2147024809
----------------------------------
Type: System.ArgumentException
Message: Could not find matching column binders for all of the given field ids.
StackTrace:
bei Microsoft.Dynamics.Nav.Client.DataBinder.NavBindingManager.UpdateSortOrderOnFields(SortOrder sortOrder, IEnumerable`1 fieldIds)
bei Microsoft.Dynamics.Nav.Client.Forms.NavRequestPageFilterSubForm.ReadState(String version, XmlReader xmlReader)
bei Microsoft.Dynamics.Framework.UI.StateSerializer`1.ProcessControlAdapterStateElement(XmlReader reader, Dictionary`2 controls)
bei Microsoft.Dynamics.Framework.UI.StateSerializer`1.DeserializeStateInternal(XmlReader reader)
bei Microsoft.Dynamics.Framework.UI.LogicalForm.RestoreFormState()
bei Microsoft.Dynamics.Framework.UI.LogicalForm.BuildForm()
bei Microsoft.Dynamics.Nav.Client.Builder.NavSessionHelper.BuildForm(LogicalForm form)
bei Microsoft.Dynamics.Nav.Client.FormBuilder.RequestPageBuilder.BuildContent(List`1 controls, LogicalControl parent, UIBuilderContext context, NavRequestPage requestPage, PageType pageType)
bei Microsoft.Dynamics.Nav.Client.FormBuilder.RequestPageBuilder.BuildContent(List`1 controls, LogicalControl parent, UIBuilderContext context, NavRequestPage requestPage, PageType pageType)
bei Microsoft.Dynamics.Nav.Client.FormBuilder.RequestPageBuilder.DoBuild(MasterPage definition, BindingManager bindingManager, UIBuilderContext context)
bei Microsoft.Dynamics.Nav.Client.FormBuilder.PageBuilder.Build(MasterPage definition, BindingManager bindingManager, UIBuilderContext context)
bei Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.CreateLogicalForm(MasterPage metadata, FormState formState)
bei Microsoft.Dynamics.Nav.Client.PageRunCallbackHandler.RunModalPage(FormRunModalRequest formRequest, LogicalForm parentForm)
bei Microsoft.Dynamics.Nav.Client.ServiceClientCallback.<>c__DisplayClass1f.<FormRunModal>b__1e()
bei Microsoft.Dynamics.Nav.Client.ServiceClientCallback.<>c__DisplayClass1.<RunClientRequest>b__0()
bei Microsoft.Dynamics.Nav.Client.ServerInvocationManager.DoClientRequestAndCatch(Action clientRequest, Action`1 sendToServerIfNotFaulted)
bei Microsoft.Dynamics.Nav.Client.ServerInvocationManager.WaitForServerResponse(IAsyncResult asyncResult, ThreadCallbackContext threadEventContext)
bei Microsoft.Dynamics.Nav.Client.ServerInvocationManager.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod, ServerCallOptions options)
bei Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod, ServerCallOptions options)
bei Microsoft.Dynamics.Nav.Client.ServiceConnection.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod)
bei Microsoft.Dynamics.Nav.Client.ServiceConnection.RunReport(Int32 reportId, NavRecordState& state, NavDataSet recordDataSet, IList`1 textualFilters)
bei Microsoft.Dynamics.Nav.Client.ServiceConnection.RunReport(Int32 reportId, IList`1 textualFilters)
bei Microsoft.Dynamics.Nav.Client.NavRunReportPropertyBagInvokedAction.InvokePropertyBagAction(UISession uiSession)
bei Microsoft.Dynamics.Nav.Client.NavPropertyBagInvokedActionBase.InvokeCore(LogicalControl logicalControl, Object state, UISession uiSession)
bei Microsoft.Dynamics.Framework.UI.LogicalAction.DoInvoke(LogicalControl logicalControl, UISession uiSession)
bei Microsoft.Dynamics.Framework.UI.LogicalFormActivator.<>c__DisplayClass2.<ValidateAndInvokePropertyBag>b__0()
Source: Microsoft.Dynamics.Nav.Client.UI
HResult: -2147024809
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Anwendung: Microsoft.Dynamics.Nav.Client.exe
Frameworkversion: v4.0.30319
Beschreibung: Die Anwendung forderte die Beendigung des Prozesses durch System.Environment.FailFast(Zeichenfolgenmeldung) an.
Meldung: Could not find matching column binders for all of the given field ids.
Stapel:
bei System.Environment.FailFast(System.String)
bei Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(System.Exception, Boolean)
bei Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.WinFormsDispatcherUnhandledException(System.Object, Microsoft.Dynamics.Framework.UI.DispatcherUnhandledExceptionEventArgs)
bei Microsoft.Dynamics.Framework.UI.WinForms.WinFormsDispatcher.HandleDispatcherException(System.Object, System.Exception)
bei Microsoft.Dynamics.Framework.UI.WinForms.ExceptionWrapper.RunTryCatch(System.Object, System.Delegate, System.Object[])
bei System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)
bei System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[])
bei System.Delegate.DynamicInvokeImpl(System.Object[])
bei System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry)
bei System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(System.Object)
bei System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry)
bei System.Windows.Forms.Control.InvokeMarshaledCallbacks()
bei System.Windows.Forms.Control.MarshaledInvoke(System.Windows.Forms.Control, System.Delegate, System.Object[], Boolean)
bei System.Windows.Forms.Control.Invoke(System.Delegate, System.Object[])
bei Microsoft.Dynamics.Framework.UI.WinForms.WinFormsDispatcher.Invoke(System.Action)
bei Microsoft.Dynamics.Framework.UI.LogicalFormActivator.ValidateAndInvokePropertyBag(Microsoft.Dynamics.Framework.UI.FormPropertyBag, Microsoft.Dynamics.Framework.UI.UISession, System.Object)
bei Microsoft.Dynamics.Nav.Client.NavClientObject.NavigateToInternal()
bei Microsoft.Dynamics.Nav.Client.NavClientObject.ExecuteNavigateTo()
bei Microsoft.Dynamics.Framework.UI.DelayedTask.ExecuteTask()
bei Microsoft.Dynamics.Framework.UI.ConsumerPort.MessageAvailable(Microsoft.Dynamics.Framework.UI.IMessage)
bei Microsoft.Dynamics.Framework.UI.CommunicationChannel.SendConsumerMessage(Microsoft.Dynamics.Framework.UI.IMessage)
bei Microsoft.Dynamics.Framework.UI.CommunicationChannel.ProcessMessage(Microsoft.Dynamics.Framework.UI.MessagePriority)
bei Microsoft.Dynamics.Framework.UI.CommunicationBroker+<>c__DisplayClass4.<HandleOneMessage>b__2()
bei Microsoft.Dynamics.Framework.UI.CommunicationBroker.ProcessMessage(System.Func`1<Boolean>)
bei Microsoft.Dynamics.Framework.UI.WinForms.CommunicationMessageHandler.HandleOneMessage()
bei Microsoft.Dynamics.Framework.UI.WinForms.CommunicationMessageHandler.OnIdle()
bei Microsoft.Dynamics.Framework.UI.WinForms.ClientSession.ClientSessionIdle(System.Object, System.EventArgs)
bei System.EventHandler.Invoke(System.Object, System.EventArgs)
bei Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.EnterIdle(System.EventArgs)
bei System.EventHandler.Invoke(System.Object, System.EventArgs)
bei System.Windows.Forms.Application+ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32)
bei System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
bei System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
bei System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
bei Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunMessagePump()
bei Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunCore()
bei Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(System.Func`1<Int32>)
bei Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(System.Func`1<Int32>)
bei Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.RunCore()
bei Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.Run(Boolean)
bei Microsoft.Dynamics.Nav.Client.Program.Main(System.String[])

--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Name der fehlerhaften Anwendung: Microsoft.Dynamics.Nav.Client.exe, Version: 9.0.47042.0, Zeitstempel: 0x57ed527f
Name des fehlerhaften Moduls: unknown, Version: 0.0.0.0, Zeitstempel: 0x00000000
Ausnahmecode: 0x80131623
Fehleroffset: 0x00007ffd32179a99
ID des fehlerhaften Prozesses: 0x3458
Startzeit der fehlerhaften Anwendung: 0x01d4d8a9d1bb0f87
Pfad der fehlerhaften Anwendung: C:\Program Files (x86)\Microsoft Dynamics NAV\90\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exe
Pfad des fehlerhaften Moduls: unknown
Berichtskennung: 90681c76-c634-4122-a2a2-d3680d23fd41
Vollständiger Name des fehlerhaften Pakets:
Anwendungs-ID, die relativ zum fehlerhaften Paket ist:

Re: Nach Start eines Reports beendet sich NAV

12. März 2019 12:14

Hast du nach dem Kopieren den NAV Dienst neu gestartet?
Hast du das Layout nach dem Kopieren bereits einmal geöffnet und gespeichert?

Re: Nach Start eines Reports beendet sich NAV

12. März 2019 13:39

Ja, dass habe ich alles probiert hat aber nichts gebracht.

Konnte das Problem jetzt aber lösen.

Ich habe dem Report einfach nochmal kopiert und eine andere ID gewählt und warum auch immer funktionierte sofort alles.

Re: [gelöst] Nach Start eines Reports beendet sich NAV

12. März 2019 13:46

Gabs die ursprüngliche ID schon mal ?

Gruß Fiddi

Re: [gelöst] Nach Start eines Reports beendet sich NAV

12. März 2019 13:51

Ist gut möglich. Die ID war jetzt jedoch frei, sprich es wurde kein Bericht überschrieben...