Microsoft .Net Framework Error

Hello There,

My clients are getting the .Net error while edit any SO, when i check on the server same error is appearing. But when i check in my machine, its working fine. i’ve already uninstall and re-install the client as well, but same issue, can someone assist me with the solution…?

5811..Net error.jpg

BR,

Ally

As far My understanding is concerned as you mentioned that on your PC AX 2012 client… every thing is fine then no point no worrying why it is not working on your end , and secondly you mentioned that your clients are getting this error when exactly they are getting this error i mean while creating or posting if possible can you debug by going to client place … this is my understanding and my suggestion I don’t think what It may be all right but i firmly believe this steps worth trying…

Can you please click the Details and check what’s there?

Dear Martin,

Check the detail logs below.

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(List1 unselectedInfos, List1 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.18444 built by: FX451RTMGDR

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:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics%20AX/60/Client/Bin/Ax32.exe


msvcm90

Assembly Version: 9.0.30729.6161

Win32 Version: 9.00.30729.6161

CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57/msvcm90.dll


Microsoft.Dynamics.Kernel.Client

Assembly Version: 6.2.0.0

Win32 Version: 6.2.158.0

CodeBase: file:///C:/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.18408 built by: FX451RTMGREL

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.18408 built by: FX451RTMGREL

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.18408 built by: FX451RTMGREL

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.18408 built by: FX451RTMGREL

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.18408 built by: FX451RTMGREL

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.18408 built by: FX451RTMGREL

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.18408 built by: FX451RTMGREL

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:///C:/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.18408

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.18408 built by: FX451RTMGREL

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


PresentationFramework.Classic

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL

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


PresentationFramework-SystemXml

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.18408

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:///C:/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:///C:/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.18408 built by: FX451RTMGREL

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.18408 built by: FX451RTMGREL

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.18408 built by: FX451RTMGREL

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.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:

<system.windows.forms jitDebugging=“true” />

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.

Regards,

Ally

What you have collected is a very useful amount of information. Unfortunately I don’t think I can help you; you should send a support request to Microsoft.

Hi Ally,

Could you please share the solution for above query if you have found any as I am also getting same error only for 1 user.

Its looks weird as all other users can access the same form without any error.

Waiting for your help.

Thank you very much in advance.

Sammy

Hi Sammy,

I’ve been noticed that the said error occurs because of Data Usage, kindly clear the User Data and restart the App, it will work fine.

Solution:i

System Administrator----> Common----> Users----> Select the user-----> Sammy----> Options----> Data Usage---->Reset.

By reseting data usage, system will clear all the usage which is used by the user than restart your app, it will work fine.

Thanks

Ally