web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Getting Microsoft .Net Framework error after editing or clicking Sales Order List Page?

(0) ShareShare
ReportReport
Posted on by 15

Hi,

I am using AX 2012 R2 and getting Microsoft .Net Framework error after editing or clicking Sales Order List Page.

when I click first time it is opening, next time it is not opening. It is giving .net Framework error. After compiling Sales Table List Page Form it will gone.

Please give me a valuable suggestion.

Thanks,

Sushmitha

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,976 Most Valuable Professional on at

    Sorry, there is no universal solution for all possible kind of errors. You would have to tell us what error you got.

  • Sushmitha Profile Picture
    15 on at

    Hi Martin,

    I am getting this error:

    Unhandled exception has occurred in your application. If you click continue, the application will ignore this error and attempt to continue.

    If you click quit, the application will close immediately.

    Cannot call StartAt when content generation is in progress.

    See the end of this message for details on invoking

    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************

    System.InvalidOperationException: Cannot call StartAt when content generation is in progress.

      at System.Windows.Controls.ItemContainerGenerator.System.Windows.Controls.Primitives.IItemContainerGenerator.StartAt(GeneratorPosition position, GeneratorDirection direction, Boolean allowStartAtRealizedItem)

      at System.Windows.Controls.ItemContainerGenerator.System.Windows.Controls.Primitives.IItemContainerGenerator.StartAt(GeneratorPosition position, GeneratorDirection direction)

      at System.Windows.Controls.Panel.AddChildren(GeneratorPosition pos, Int32 itemCount)

      at System.Windows.Controls.Panel.OnItemsChangedInternal(Object sender, ItemsChangedEventArgs args)

      at System.Windows.Controls.Panel.OnItemsChanged(Object sender, ItemsChangedEventArgs args)

      at System.Windows.Controls.ItemContainerGenerator.OnItemAdded(Object item, Int32 index)

      at System.Windows.Controls.ItemContainerGenerator.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)

      at System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType)

      at System.Windows.WeakEventManager.DeliverEvent(Object sender, EventArgs args)

      at System.Collections.Specialized.CollectionChangedEventManager.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)

      at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)

      at System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)

      at System.Windows.Controls.ItemCollection.OnViewCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)

      at System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType)

      at System.Windows.WeakEventManager.DeliverEvent(Object sender, EventArgs args)

      at System.Collections.Specialized.CollectionChangedEventManager.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)

      at System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)

      at MS.Internal.Controls.InnerItemCollectionView.Insert(Int32 index, Object item)

      at System.Windows.Controls.ItemCollection.Insert(Int32 insertIndex, Object insertItem)

      at Microsoft.Dynamics.Kernel.Client.UI.WPF.Controls.IndexTab.AddTab(String caption, Int32 index)

      at CustomTabWrapperBase.AddTab(CustomTabWrapperBase* , Char* caption, Int32 index)

      at CustomTabWrapperBase.OnItemClicked(CustomTabWrapperBase* , CustomTabItemClickedEventArgs e)

      at Microsoft.Dynamics.Kernel.Client.CustomTabEventProxy.OnItemClicked(Object sender, CustomTabItemClickedEventArgs e)

      at Microsoft.Dynamics.Kernel.Client.UI.WPF.Controls.IndexTab.tabControl_SelectionChanged(Object sender, SelectionChangedEventArgs e)

      at System.Windows.Controls.SelectionChangedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)

      at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

      at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

      at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

      at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

      at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)

      at System.Windows.Controls.TabControl.OnSelectionChanged(SelectionChangedEventArgs e)

      at System.Windows.Controls.Primitives.Selector.InvokeSelectionChanged(List`1 unselectedInfos, List`1 selectedInfos)

      at System.Windows.Controls.Primitives.Selector.SelectionChanger.End()

      at System.Windows.Controls.Primitives.Selector.SelectionChanger.SelectJustThisItem(ItemInfo info, Boolean assumeInItemsCollection)

      at System.Windows.Controls.Primitives.Selector.OnSelectedIndexChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)

      at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)

      at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)

      at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)

      at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)

      at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)

      at System.Windows.DependencyObject.SetCurrentValueInternal(DependencyProperty dp, Object value)

      at System.Windows.Controls.TabControl.OnGeneratorStatusChanged(Object sender, EventArgs e)

      at System.EventHandler.Invoke(Object sender, EventArgs e)

      at System.Windows.Controls.ItemContainerGenerator.SetStatus(GeneratorStatus value)

      at System.Windows.Controls.ItemContainerGenerator.Generator.System.IDisposable.Dispose()

      at System.Windows.Controls.Panel.AddChildren(GeneratorPosition pos, Int32 itemCount)

      at System.Windows.Controls.Panel.OnItemsChangedInternal(Object sender, ItemsChangedEventArgs args)

      at System.Windows.Controls.Panel.OnItemsChanged(Object sender, ItemsChangedEventArgs args)

      at System.Windows.Controls.ItemContainerGenerator.OnItemAdded(Object item, Int32 index)

      at System.Windows.Controls.ItemContainerGenerator.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)

      at System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType)

      at System.Windows.WeakEventManager.DeliverEvent(Object sender, EventArgs args)

      at System.Collections.Specialized.CollectionChangedEventManager.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)

      at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)

      at System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)

      at System.Windows.Controls.ItemCollection.OnViewCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)

      at System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType)

      at System.Windows.WeakEventManager.DeliverEvent(Object sender, EventArgs args)

      at System.Collections.Specialized.CollectionChangedEventManager.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)

      at System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)

      at MS.Internal.Controls.InnerItemCollectionView.Insert(Int32 index, Object item)

      at System.Windows.Controls.ItemCollection.Insert(Int32 insertIndex, Object insertItem)

      at Microsoft.Dynamics.Kernel.Client.UI.WPF.Controls.IndexTab.AddTab(String caption, Int32 index)

      at CustomTabWrapperBase.AddTab(CustomTabWrapperBase* , Char* caption, Int32 index)

      at Microsoft.Dynamics.Kernel.Client.ActionPaneInterop.ClickEventHelper.Clicked(Object sender, EventArgs __unnamed001)

      at Microsoft.Dynamics.Framework.UI.WinForms.Controls.ActionItem.OnButtonClick()

      at Microsoft.Dynamics.Framework.UI.WinForms.Controls.ActionButton.OnMouseUp(MouseEventArgs e)

      at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

      at System.Windows.Forms.Control.WndProc(Message& m)

      at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

      at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

      at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    ************** Loaded Assemblies **************

    mscorlib

       Assembly Version: 4.0.0.0

       Win32 Version: 4.0.30319.18051 built by: FX45RTMGDR

       CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

    ----------------------------------------

    Ax32

       Assembly Version: 6.2.0.0

       Win32 Version: 6.2.158.0

       CodeBase: file:///D:/Program%20Files%20(x86)/Microsoft%20Dynamics%20AX/60/Client/Bin/Ax32.exe

    ----------------------------------------

    msvcm90

       Assembly Version: 9.0.30729.6871

       Win32 Version: 9.00.30729.6871

       CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6871_none_50944e7cbcb706e5/msvcm90.dll

    ----------------------------------------

    Microsoft.Dynamics.Kernel.Client

       Assembly Version: 6.2.0.0

       Win32 Version: 6.2.158.0

       CodeBase: file:///D:/Program%20Files%20(x86)/Microsoft%20Dynamics%20AX/60/Client/Bin/Microsoft.Dynamics.Kernel.Client.DLL

    ----------------------------------------

    System.Windows.Forms

       Assembly Version: 4.0.0.0

       Win32 Version: 4.0.30319.18046 built by: FX45RTMGDR

       CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

    ----------------------------------------

    System.Drawing

       Assembly Version: 4.0.0.0

       Win32 Version: 4.0.30319.18022 built by: FX45RTMGDR

       CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

    ----------------------------------------

    System

       Assembly Version: 4.0.0.0

       Win32 Version: 4.0.30319.18045 built by: FX45RTMGDR

       CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

    ----------------------------------------

    Microsoft.Dynamics.Framework.UI.WinForms.Controls

       Assembly Version: 1.4.0.0

       Win32 Version: 1.4.11343.16

       CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.Dynamics.Framework.UI.WinForms.Controls/1.4.0.0__31bf3856ad364e35/Microsoft.Dynamics.Framework.UI.WinForms.Controls.dll

    ----------------------------------------

    System.Configuration

       Assembly Version: 4.0.0.0

       Win32 Version: 4.0.30319.18058 built by: FX45RTMGDR

       CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

    ----------------------------------------

    System.Xml

       Assembly Version: 4.0.0.0

       Win32 Version: 4.0.30319.18058 built by: FX45RTMGDR

       CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

    ----------------------------------------

    Microsoft.Dynamics.Framework.UI.Navigation

       Assembly Version: 1.4.0.0

       Win32 Version: 1.4.11064.00

       CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.Dynamics.Framework.UI.Navigation/1.4.0.0__31bf3856ad364e35/Microsoft.Dynamics.Framework.UI.Navigation.dll

    ----------------------------------------

    PresentationCore

       Assembly Version: 4.0.0.0

       Win32 Version: 4.0.30319.18058 built by: FX45RTMGDR

       CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll

    ----------------------------------------

    WindowsBase

       Assembly Version: 4.0.0.0

       Win32 Version: 4.0.30319.18058 built by: FX45RTMGDR

       CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll

    ----------------------------------------

    Microsoft.Dynamics.Kernel.Client.UI.WPF.Controls

       Assembly Version: 6.2.0.0

       Win32 Version: 6.2.158.0

       CodeBase: file:///D:/Program%20Files%20(x86)/Microsoft%20Dynamics%20AX/60/Client/Bin/Microsoft.Dynamics.Kernel.Client.UI.WPF.Controls.DLL

    ----------------------------------------

    PresentationFramework

       Assembly Version: 4.0.0.0

       Win32 Version: 4.0.30319.18058

       CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll

    ----------------------------------------

    System.Xaml

       Assembly Version: 4.0.0.0

       Win32 Version: 4.0.30319.18016 built by: FX45RTMGDR

       CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll

    ----------------------------------------

    PresentationFramework.AeroLite

       Assembly Version: 4.0.0.0

       Win32 Version: 4.0.30319.18046 built by: FX45RTMGDR

       CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.AeroLite/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.AeroLite.dll

    ----------------------------------------

    PresentationFramework-SystemXml

       Assembly Version: 4.0.0.0

       Win32 Version: 4.0.30319.17929

       CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXml/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXml.dll

    ----------------------------------------

    Microsoft.Dynamics.DynamicProxy

       Assembly Version: 6.2.0.0

       Win32 Version: 6.2.158.0

       CodeBase: file:///D:/Program%20Files%20(x86)/Microsoft%20Dynamics%20AX/60/Client/Bin/Microsoft.Dynamics.DynamicProxy.DLL

    ----------------------------------------

    Microsoft.Dynamics.Xml

       Assembly Version: 6.2.0.0

       Win32 Version: 6.2.158.0

       CodeBase: file:///D:/Program%20Files%20(x86)/Microsoft%20Dynamics%20AX/60/Client/Bin/Microsoft.Dynamics.Xml.dll

    ----------------------------------------

    System.Core

       Assembly Version: 4.0.0.0

       Win32 Version: 4.0.30319.17929 built by: FX45RTMREL

       CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

    ----------------------------------------

    PresentationFramework.Aero

       Assembly Version: 4.0.0.0

       Win32 Version: 4.0.30319.17929 built by: FX45RTMREL

       CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero.dll

    ----------------------------------------

    UIAutomationTypes

       Assembly Version: 4.0.0.0

       Win32 Version: 4.0.30319.17929 built by: FX45RTMREL

       CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll

    ----------------------------------------

    Microsoft.Dynamics.AX.ManagedInterop

       Assembly Version: 6.2.0.0

       Win32 Version: 6.2.158.0

       CodeBase: file:///C:/Windows/assembly/GAC_32/Microsoft.Dynamics.AX.ManagedInterop/6.2.0.0__31bf3856ad364e35/Microsoft.Dynamics.AX.ManagedInterop.dll

    ----------------------------------------

    System.Web

       Assembly Version: 4.0.0.0

       Win32 Version: 4.0.30319.18056 built by: FX45RTMGDR

       CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll

    ----------------------------------------

    ************** JIT Debugging **************

    To enable just-in-time (JIT) debugging, the .config file for this

    application or computer (machine.config) must have the

    jitDebugging value set in the system.windows.forms section.

    The application must also be compiled with debugging

    enabled.

    For example:

    <configuration>

       <system.windows.forms jitDebugging="true" />

    </configuration>

    When JIT debugging is enabled, any unhandled exception

    will be sent to the JIT debugger registered on the computer

    rather than be handled by this dialog box.

    Thanks,

    Sushmitha

  • Martin Dráb Profile Picture
    237,976 Most Valuable Professional on at

    I suggest you log a support ticket with Microsoft. Don't forget to tell them what exactly you're clicking on.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans