Microsoft net framework unhandled exception?


  1. Posts : 326
    Windows 10 Home 64 bit x64 Version 22H2
       #1

    Microsoft net framework unhandled exception?


    Just after I login into Windows 10 this [Microsoft .NET Framework] (Unhandled exception has occurred in a component in your application.) popup appear https://i.imgur.com/mLj9qgx.png (full text copied and pasted below) then I clicked [continue] and this popup appear https://i.imgur.com/nIGqFCX.png then I clicked [ok] and this popup appear https://i.imgur.com/8Bb4HdY.png (full text copied and pasted below)

    What is the problem?
    Why did it happen?
    How to solve the problem? Thanks

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    -------------------------full text of screenshot https://i.imgur.com/mLj9qgx.png -------------------------
    See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.************** Exception Text **************System.ArgumentOutOfRangeException: InvalidArgument=Value of '-1' is not valid for 'index'.Parameter name: index at System.Windows.Forms.ListView.GetItemState(Int32 index, Int32 mask) at System.Windows.Forms.ListViewItem.get_StateImageIndex() at System.Windows.Forms.ListView.ListViewNativeItemCollection.Add(ListViewItem value) at System.Windows.Forms.ListView.ListViewItemCollection.Add(ListViewItem value) at Microsoft.Windows.ManagementUI.CombinedControls.EventHomeControl.UpdateLogSummaryUI()************** Loaded Assemblies **************mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.4515.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll----------------------------------------Microsoft.ManagementConsole Assembly Version: 3.0.0.0 Win32 Version: 10.0.19041.1 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.ManagementConsole/3.0.0.0__31bf3856ad364e35/Microsoft.ManagementConsole.dll----------------------------------------MMCFxCommon Assembly Version: 3.0.0.0 Win32 Version: 10.0.19041.1 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/MMCFxCommon/3.0.0.0__31bf3856ad364e35/MMCFxCommon.dll----------------------------------------System Assembly Version: 4.0.0.0 Win32 Version: 4.8.4536.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll----------------------------------------System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.4515.0 built by: NET48REL1LAST_C 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.8.4390.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll----------------------------------------System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll----------------------------------------System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.8.4536.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll----------------------------------------System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll----------------------------------------EventViewer Assembly Version: 10.0.0.0 Win32 Version: 10.0.19041.1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/EventViewer/v4.0_10.0.0.0__31bf3856ad364e35/EventViewer.dll----------------------------------------MIGUIControls Assembly Version: 1.0.0.0 Win32 Version: 10.0.19041.1566 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/MIGUIControls/v4.0_1.0.0.0__31bf3856ad364e35/MIGUIControls.dll----------------------------------------System.ServiceProcess Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ServiceProcess/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll----------------------------------------************** JIT Debugging **************To enable just-in-time (JIT) debugging, the .config file for thisapplication or computer (machine.config) must have thejitDebugging value set in the system.windows.forms section.The application must also be compiled with debuggingenabled.For example:<configuration> <system.windows.forms jitDebugging="true" /></configuration>When JIT debugging is enabled, any unhandled exceptionwill be sent to the JIT debugger registered on the computerrather than be handled by this dialog box.
    -----

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    -------------------------full text of screenshot https://i.imgur.com/8Bb4HdY.png -------------------------at System.Windows.Forms.ListView.InsertItemsNative(Int32 index, ListViewItem[] items) at System.Windows.Forms.ListView.InsertItems(Int32 displayIndex, ListViewItem[] items, Boolean checkHosting) at System.Windows.Forms.ListView.ListViewNativeItemCollection.Add(ListViewItem value) at System.Windows.Forms.ListView.ListViewItemCollection.Add(ListViewItem value) at Microsoft.Windows.ManagementUI.CombinedControls.EventHomeControl.UpdateRecentViewsListViewUI(ArrayLi st recentViewsDataList) at Microsoft.EventViewer.SnapIn.EventViewerHomepage.ForwardedRootNodeNotification(Object sender, NotifyRootNodeEventArgs args) at Microsoft.EventViewer.SnapIn.MMCRootNode.RootNodeNotification(Object sender, NotifyRootNodeEventArgs args) at Microsoft.Windows.ManagementUI.CombinedControls.EventsNode.FireNotifyRootNodeEvent(Object sender, NotifyRootNodeEventArgs args) at Microsoft.Windows.ManagementUI.CombinedControls.EventsNode.UpdateRecentViews(EventNodeType nodeType, Int64 ticks, MmcNodePath nodePath, String channelPath) at Microsoft.EventViewer.SnapIn.FormControlBase.OnFormShow() at Microsoft.EventViewer.SnapIn.FormViewEx.OnShow() at Microsoft.ManagementConsole.View.ProcessNotification(Notification notification) at Microsoft.ManagementConsole.ViewMessageClient.ProcessNotification(Notification notification) at Microsoft.ManagementConsole.Internal.IMessageClient.ProcessNotification(Notification notification) at Microsoft.ManagementConsole.Executive.SnapInNotificationOperation.ProcessNotification() at Microsoft.ManagementConsole.Executive.Operation.OnThreadTransfer(SimpleOperationCallback callback) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      My Computer


  2. Posts : 5,326
    Windows 11 Pro 64-bit
       #2

    Microsoft .NET Framework Repair Tool detects and tries to fix some frequently occurring issues with the setup of Microsoft .NET Framework or with updates to the Microsoft .NET Framework.

    https://www.microsoft.com/en-us/down....aspx?id=30135
      My Computer


  3. Posts : 326
    Windows 10 Home 64 bit x64 Version 22H2
    Thread Starter
       #3

    Before I saw your reply today after I unlock my pc no popup is seen.

    Now I have installed the Microsoft .NET Framework Repair Tool and I see these screenshots.

    Clicked next in this screenshot https://i.imgur.com/yX6G0BH.png

    Clicked finish in this screenshot https://i.imgur.com/11xPO3z.png

    Hope no more popup appears.

    What stuff/software is using Microsoft .NET Framework that causes the popup?

    Thanks
      My Computer


  4. Posts : 5,326
    Windows 11 Pro 64-bit
       #4

    Hopefully the problem is resolved.

    .NET Framework - Wikipedia
      My Computer


  5. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #5

    Hello @comcom,

    Just for information.

    If you wanted to see ALL the versions of .NET Framework that you have installed, then Copy & Paste the following into a CMD Prompt and press Enter . . .

    Code:
    
    @echo off & echo. & (
    dir %WinDir%\Microsoft.Net\Framework\v* /b | FindStr "v[1-9]"
    echo. & dir %WinDir%\Microsoft.Net\Framework\v*
    Powershell "Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP' -Recurse | Get-ItemProperty -Name Version, Release -ErrorAction 0 | Where {$_.PSChildName -Match '^(?!S)\p{L}'} | Select PSChildName, Version, Release -Unique | Format-Table -Autosize | Out-String -Width 1000"
    REG Query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" /v Version
    )
    

    I hope this helps.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 23:54.
Find Us




Windows 10 Forums