Windows 10: Microsoft .NET Framework: Unhandled Exception has occured in a component of your...

Discus and support Microsoft .NET Framework: Unhandled Exception has occured in a component of your... in Windows 10 BSOD Crashes and Debugging to solve the problem; We have add a System Tray component to our UWP app, and when user clicks on any options from the systray. It was throwing the below error. unhanded... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by Srikanth Kalivarapu, Oct 19, 2018.

  1. Microsoft .NET Framework: Unhandled Exception has occured in a component of your...


    We have add a System Tray component to our UWP app, and when user clicks on any options from the systray. It was throwing the below error.


    unhanded exception has occurred in you application. If you click continue, the application will ignore and attempt to continue. If you click quit, application will close immediately. Specified argument was out of range of valid values. parameter name: index

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

    What can be the root cause.



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


    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.


    ************** Exception Text **************
    System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
    Parameter name: index
    at System.Runtime.InteropServices.WindowsRuntime.VectorToListAdapter.GetAt[T](IVector`1 _this, UInt32 index)
    at System.Runtime.InteropServices.WindowsRuntime.VectorToListAdapter.Indexer_Get[T](Int32 index)
    at SystrayComponent.SystrayApplicationContext.<Exit>d__7.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)


    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    ----------------------------------------
    SystrayComponent
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///E:/sp-client/prototypes/sp-desktop-app/windows10/manifest/bin/x64/Debug/AppX/Win32/SystrayComponent.exe
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_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
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_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.7.3190.0 built by: NET472REL1LAST_C
    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.7.3190.0 built by: NET472REL1LAST_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.7.3190.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    Windows.ApplicationModel
    Assembly Version: 255.255.255.255
    Win32 Version: 10.0.10011.16384
    CodeBase: file:///C:/WINDOWS/system32/WinMetadata/Windows.ApplicationModel.winmd
    ----------------------------------------
    Windows.System
    Assembly Version: 255.255.255.255
    Win32 Version: 10.0.10011.16384
    CodeBase: file:///C:/WINDOWS/system32/WinMetadata/Windows.System.winmd
    ----------------------------------------
    Windows.Foundation
    Assembly Version: 255.255.255.255
    Win32 Version: 10.0.10011.16384
    CodeBase: file:///C:/WINDOWS/system32/WinMetadata/Windows.Foundation.winmd
    ----------------------------------------
    System.Runtime
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3190.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.dll
    ----------------------------------------
    System.Runtime.WindowsRuntime
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.WindowsRuntime/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.WindowsRuntime.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.

    :)
     
    Srikanth Kalivarapu, Oct 19, 2018
    #1
  2. Alden Rey Win User

    Microsoft .Net Framework error "Unhandled exception has occured"

    Hi Manas,

    This error message "Unhandled exception has occured" can be received if the Microsoft .NET Framework component is not installed on your computer, outdated or if it is damaged. To sort this concern, kindly follow the steps provided by
    Pavan1709 on this
    link
    .

    For any other concerns, don't hesitate to get back to us.

    Regards.
     
    Alden Rey, Oct 19, 2018
    #2
  3. Microsoft .NET Framework, Unhandled exception

    Hi,

    Welcome to Microsoft Community.

    I suggest you to un-check and recheck .Net framework 3.5 and .Net framework 4.6 advance series from Windows features.

    Try the following steps:

    • Press Windows + R keys to open Run command.
    • Type Appwiz.cpl and select "turn Windows feature on or off" from the left
    • Uncheck .Net framework 3.5 and .Net framework 4.6 advance series.
    • Restart the computer
    • Repeat step 1 and 2 and check .Net framework 3.5 and .Net framework 4.6 advance series.
    • Restart the computer.
    Regards,
     
    Waseemulla S, Oct 19, 2018
    #3
  4. Microsoft .NET Framework: Unhandled Exception has occured in a component of your...

    Microsoft .NET Framework, Unhandled exception

    no, problem is still actual for me.

    have MSI Notebook, problem is

    System.MissingFieldException: Field not found: 'WPFOSD.GraphicsSwitchWnd.VGAType'.

    at MSI.SCM.SCMII.WMIEventMath(Int32 WMIEvent), after i make something by S-BAR buttons like adding volume or something like that.
     
    sergei.kulakov, Oct 19, 2018
    #4
Thema:

Microsoft .NET Framework: Unhandled Exception has occured in a component of your...

Loading...
  1. Microsoft .NET Framework: Unhandled Exception has occured in a component of your... - Similar Threads - Microsoft NET Framework

  2. microsoft .NET framework - unhandled exception has occured in a component in your application

    in Windows 10 Gaming
    microsoft .NET framework - unhandled exception has occured in a component in your application: My pc has recently been crashing and blue screening. it will freeze up then immeaditly go to the blue screen with the stop code: WHEA UNCORRECTABLE ERROR.I restarted my computer and InvalidArgument=Value of "-1" is not valid for "index" See the end of this message for details...
  3. microsoft .NET framework - unhandled exception has occured in a component in your application

    in Windows 10 Software and Apps
    microsoft .NET framework - unhandled exception has occured in a component in your application: My pc has recently been crashing and blue screening. it will freeze up then immeaditly go to the blue screen with the stop code: WHEA UNCORRECTABLE ERROR.I restarted my computer and InvalidArgument=Value of "-1" is not valid for "index" See the end of this message for details...
  4. microsoft .NET framework - unhandled exception has occured in a component in your application

    in Windows 10 BSOD Crashes and Debugging
    microsoft .NET framework - unhandled exception has occured in a component in your application: My pc has recently been crashing and blue screening. it will freeze up then immeaditly go to the blue screen with the stop code: WHEA UNCORRECTABLE ERROR.I restarted my computer and InvalidArgument=Value of "-1" is not valid for "index" See the end of this message for details...
  5. Microsoft .NET Framework unhandled exception has occured.

    in Windows 10 BSOD Crashes and Debugging
    Microsoft .NET Framework unhandled exception has occured.: I was trying to open a game of mine when I got the message "Unhandled exception has occurred in your application If you click continue the application will ignore this error and attempt to continue." I pressed continue but nothing happened. How can I stop this from happening?...
  6. microsoft .NET framework - unhandled exception has occured in a component in your...

    in Windows 10 BSOD Crashes and Debugging
    microsoft .NET framework - unhandled exception has occured in a component in your...: recently my pc has been crashing. basically what happens is my pc screen will freeze, and loud static will come from my heaphones. the only way is to hard restart it. i opened up event viewer and the following dialogue popped up: microsoft .NET framework unhandled...
  7. Microsoft .NET Framework Unhandled exception has occurred in your application

    in Windows 10 Customization
    Microsoft .NET Framework Unhandled exception has occurred in your application: How do I fix this please? See the end of this message for details on invoking just-in-time JIT debugging instead of this dialog box. ************** Exception Text ************** System.ArgumentException: Font 'HP Simplified' cannot be found. at...
  8. Microsoft .NET Framework Unhandled exception has occurred in your application.

    in Windows 10 BSOD Crashes and Debugging
    Microsoft .NET Framework Unhandled exception has occurred in your application.: Yesterday when I shut down my PC I noticed that it takes a lot longer than usual, and today I got this error I believe puts out by Razer Synapse when the system start up. It is a .NET Framework error, but it seems that only Microsoft apps still remain the ability to connect...
  9. NET framework unhandled exception has occurred in your application

    in Windows 10 BSOD Crashes and Debugging
    NET framework unhandled exception has occurred in your application: Hi, I hope I can get some feedback with regards to an error I've been receiving when trying to start the Benchmark.exe of the game Metro Exodus. Here's how things went prior to the error: -I was trying to benchmark a new GPU-a GTX 780. The benchmark ran fine until I tried...
  10. Microsoft .Net Framework Unhandled exception has occured in your application

    in Windows 10 Network and Sharing
    Microsoft .Net Framework Unhandled exception has occured in your application: Hi so I have this problem with Microsoft .NET Framework, some kind of pop up appeared called : "Microsoft .Net Framework Unhandled exception has occured in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click...