none
Error message when you run a .NET Framework 3.5 (Unhandled exception has occured in your application" each time I login an application) RRS feed

  • Question

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

    ************** Exception Text **************
    System.TypeInitializationException: The type initializer for 'Vfiv.GENDECL' threw an exception. ---> System.Security.SecurityException: System.Security.Permissions.SecurityPermission
       at Vfiv.GENDECL..cctor()
    The type of the first permission that failed was:
    System.Security.Permissions.SecurityPermission
    The Zone of the assembly that failed was:
    MyComputer
       --- End of inner exception stack trace ---
       at Vfiv.VFIVOprMast.SModInit_SubMain()
       at Vfiv.VFIVOprMast.VFIVOprMast_Load(Object eventSender, EventArgs eventArgs)
       at System.EventHandler.Invoke(Object sender, EventArgs e)
       at System.Windows.Forms.Form.OnLoad(EventArgs e)
       at System.Windows.Forms.Form.OnCreateControl()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ContainerControl.WndProc(Message& m)
       at System.Windows.Forms.Form.WmShowWindow(Message& m)
       at System.Windows.Forms.Form.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: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    Vfiv
        Assembly Version: 15.1.5091.11071
        Win32 Version: 15.1.1.1
        CodeBase: file://BSPAP02/Users/!admin$/AppData/Local/Apps/2.0/Z74ZJTR6.JCL/RJHYA5LQ.0YX/vfiv..tion_34a3436cb9efd659_000f.0000_d90a4a53d93f5af9/Vfiv.exe
    ----------------------------------------
    Microsoft.VisualBasic
        Assembly Version: 8.0.0.0
        Win32 Version: 8.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
    ----------------------------------------
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System.Runtime.Remoting
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
    ----------------------------------------
    Interop.DAO
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.0.0
        CodeBase: file://BSPAP02/Users/!admin$/AppData/Local/Apps/2.0/Z74ZJTR6.JCL/RJHYA5LQ.0YX/vfiv..tion_34a3436cb9efd659_000f.0000_d90a4a53d93f5af9/Interop.DAO.DLL
    ----------------------------------------
    Interop.ADODB
        Assembly Version: 6.0.0.0
        Win32 Version: 6.0.0.0
        CodeBase: file://BSPAP02/Users/!admin$/AppData/Local/Apps/2.0/Z74ZJTR6.JCL/RJHYA5LQ.0YX/vfiv..tion_34a3436cb9efd659_000f.0000_d90a4a53d93f5af9/Interop.ADODB.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.

    Thursday, May 15, 2014 4:51 AM

Answers