locked
See the end of this message for details about calling (JIT) instead of the current dialog box. RRS feed

  • Question

  • راجع نهاية هذه الرسالة للحصول على تفاصيل حول استدعاء 
    التصحيح اللحظي (JIT) بدلاً من مربع الحوار الحالي.

    ************** نص الاستثناء **************
    System.TypeInitializationException: طرح مُهيئ النوع الخاص بـ 'ASUSWSSyncPanel.TimerActionModule' استثناءً. ---> System.InvalidCastException: التحويل من السلسلة "2000/01/01" إلى النوع 'Date' غير صالح.
       عند Microsoft.VisualBasic.CompilerServices.Conversions.ToDate(String Value)
       عند ASUSWSSyncPanel.TimerActionModule..cctor()
       --- نهاية تتبع بنية تخزين عناصر الاستثناء الداخلي ---
       عند ASUSWSSyncPanel.TimerActionModule.SystemTaryUI_2(NotifyIcon& NotifyIcon_Panel)
       عند ASUSWSSyncPanel.MySyncFolderLoader.Timer_10sec_Tick(Object sender, EventArgs e)
       عند System.Windows.Forms.Timer.OnTick(EventArgs e)
       عند System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
       عند System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** التجميعات المحملة **************
    mscorlib
        إصدار التجميع: 4.0.0.0
        إصدار Win32: 4.7.3190.0 built by: NET472REL1LAST_C
        مصدر البرنامج: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
    ----------------------------------------
    AsusWSPanel
        إصدار التجميع: 1.0.0.0
        إصدار Win32: 1.0.0.0
        مصدر البرنامج: file:///C:/Program%20Files%20(x86)/ASUS/WebStorage/2.2.5.541/AsusWSPanel.exe
    ----------------------------------------
    System.Windows.Forms
        إصدار التجميع: 4.0.0.0
        إصدار Win32: 4.7.3056.0 built by: NET472REL1
        مصدر البرنامج: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
        إصدار التجميع: 4.0.0.0
        إصدار Win32: 4.7.3190.0 built by: NET472REL1LAST_C
        مصدر البرنامج: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
        إصدار التجميع: 4.0.0.0
        إصدار Win32: 4.7.3056.0 built by: NET472REL1
        مصدر البرنامج: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    Microsoft.VisualBasic
        إصدار التجميع: 10.0.0.0
        إصدار Win32: 14.7.3056.0 built by: NET472REL1
        مصدر البرنامج: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
    ----------------------------------------
    System.Core
        إصدار التجميع: 4.0.0.0
        إصدار Win32: 4.7.3190.0 built by: NET472REL1LAST_C
        مصدر البرنامج: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    ----------------------------------------
    System.Configuration
        إصدار التجميع: 4.0.0.0
        إصدار Win32: 4.7.3056.0 built by: NET472REL1
        مصدر البرنامج: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    System.Xml
        إصدار التجميع: 4.0.0.0
        إصدار Win32: 4.7.3056.0 built by: NET472REL1
        مصدر البرنامج: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    eCaremeDLL
        إصدار التجميع: 1.0.0.0
        إصدار Win32: 1.0.0.0
        مصدر البرنامج: file:///C:/Program%20Files%20(x86)/ASUS/WebStorage/2.2.5.541/eCaremeDLL.DLL
    ----------------------------------------
    log4net
        إصدار التجميع: 1.2.13.0
        إصدار Win32: 1.2.13.0
        مصدر البرنامج: file:///C:/Program%20Files%20(x86)/ASUS/WebStorage/2.2.5.541/log4net.DLL
    ----------------------------------------
    mscorlib.resources
        إصدار التجميع: 4.0.0.0
        إصدار Win32: 4.7.3056.0 built by: NET472REL1
        مصدر البرنامج: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_ar_b77a5c561934e089/mscorlib.resources.dll
    ----------------------------------------
    Microsoft.VisualBasic.resources
        إصدار التجميع: 10.0.0.0
        إصدار Win32: 14.7.3056.0 built by: NET472REL1
        مصدر البرنامج: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic.resources/v4.0_10.0.0.0_ar_b03f5f7f11d50a3a/Microsoft.VisualBasic.resources.dll
    ----------------------------------------
    System.Windows.Forms.resources
        إصدار التجميع: 4.0.0.0
        إصدار Win32: 4.7.3056.0 built by: NET472REL1
        مصدر البرنامج: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_ar_b77a5c561934e089/System.Windows.Forms.resources.dll
    ----------------------------------------

    ************** تصحيح JIT **************
    لتمكين التصحيح اللحظي (JIT)، يجب تعيين قيمة
    jitDebugging في القسم system.windows.forms
    في ملف التكوين لهذا التطبيق أو الكمبيوتر (machine.config).
    يجب أيضًا تحويل التطبيق برمجيًا مع تمكين
    التصحيح.

    على سبيل المثال:

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

    عند تمكين تصحيح JIT، سيتم إرسال أي استثناء لم تتم معالجته
    إلى مصحح الأخطاء JIT المسجل على الكمبيوتر
    بدلاً من معالجته بواسطة مربع الحوار هذا.

    ---------------------------------------------------------- English :

    See the end of this message for details about calling
    (JIT) instead of the current dialog box.

    ************** Exception text **************
    System.TypeInitializationException: Exempts the type of 'ASUSWSSyncPanel.TimerActionModule' exception. ---> System.InvalidCastException: Conversion from string "2000/01/01" to type 'Date' is invalid.
       When Microsoft.VisualBasic.CompilerServices.Conversions.ToDate (String Value)
       When ASUSWSSyncPanel.TimerActionModule.cctor ()
       --- the end of the trace of the internal exception storage elements ---
       When ASUSWSSyncPanel.TimerActionModule.SystemTaryUI_2 (NotifyIcon & NotifyIcon_Panel)
       When ASUSWSSyncPanel.MySyncFolderLoader.Timer_10sec_Tick (Object sender, EventArgs e)
       When System.Windows.Forms.Timer.OnTick (EventArgs e)
       When System.Windows.Forms.Timer.TimerNativeWindow.WndProc (Message & m)
       When 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.7.3190.0 built by: NET472REL1LAST_C
        Program source: file: /// C: /Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
    ----------------------------------------
    AsusWSPanel
        Assembly version: 1.0.0.0
        Win32 version: 1.0.0.0
        Program source: file: /// C: / Program% 20Files% 20 (x86) /ASUS/WebStorage/2.2.5.541/AsusWSPanel.exe
    ----------------------------------------
    System.Windows.Forms
        Assembly version: 4.0.0.0
        Win32 version: 4.7.3056.0 built by: NET472REL1
        Program source: 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
        Program source: 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.3056.0 built by: NET472REL1
        Program source: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    Microsoft.VisualBasic
        Assembly version: 10.0.0.0
        Win32 version: 14.7.3056.0 built by: NET472REL1
        Program source: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
    ----------------------------------------
    System.Core
        Assembly version: 4.0.0.0
        Win32 version: 4.7.3190.0 built by: NET472REL1LAST_C
        Program source: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    ----------------------------------------
    System.Configuration
        Assembly version: 4.0.0.0
        Win32 version: 4.7.3056.0 built by: NET472REL1
        Program source: 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.7.3056.0 built by: NET472REL1
        Program source: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    eCaremeDLL
        Assembly version: 1.0.0.0
        Win32 version: 1.0.0.0
        Program source: file: /// C: / Program% 20Files% 20 (x86) /ASUS/WebStorage/2.2.5.541/eCaremeDLL.DLL
    ----------------------------------------
    log4net
        Assembly version: 1.2.13.0
        Win32 version: 1.2.13.0
        Program source: file: /// C: / Program% 20Files% 20 (x86) /ASUS/WebStorage/2.2.5.541/log4net.DLL
    ----------------------------------------
    mscorlib.resources
        Assembly version: 4.0.0.0
        Win32 version: 4.7.3056.0 built by: NET472REL1
        Program source: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_en_b77a5c561934e089/mscorlib.resources.dll
    ----------------------------------------
    Microsoft.VisualBasic.resources
        Assembly version: 10.0.0.0
        Win32 version: 14.7.3056.0 built by: NET472REL1
        Program source: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic.resources/v4.0_10.0.0.0_en_b03f5f7f11d50a3a/Microsoft.VisualBasic.resources.dll
    ----------------------------------------
    System.Windows.Forms.resources
        Assembly version: 4.0.0.0
        Win32 version: 4.7.3056.0 built by: NET472REL1
        Program source: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_en_b77a5c561934e089/System.Windows.Forms.resources.dll
    ----------------------------------------

    ************** JIT Patch **************
    To enable instant debugging (JIT), a value must be set
    jitDebugging in the system.windows.forms section
    In the configuration file for this application or computer (machine.config).
    You must also convert the application programmatically with Enable
    Correction.

    For example:

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

    When you enable the JIT debugging, any unhandled exception will be sent
    To the JIT debugger that is registered on the computer
    Instead of being manipulated by this dialog box.

    • Moved by May Luo-MSFT Wednesday, November 14, 2018 6:18 AM off-topic issue
    Monday, November 12, 2018 8:57 PM

All replies

  • Hi abdulaziz_alzahrani,

    Welcome to the MSDN forum.

    To my knowledge, Just-In-Time debugging is a feature that launches the Visual Studio debugger automatically when a program, running outside Visual Studio, encounters a fatal error. Just-In-Time debugging allows you to examine the error before the application is terminated by the operating system. The Visual Studio debugger does not need to be running when the error occurs.

    When did you meet this error? Under debugging mode in VS or just run your program directly?

    Could you provide more info about this issue? Specify steps or type program.

    If you run it in VS, please go to Tool -> select Options > Debugging > Just-In-Time. -> In the Enable Just-In-Time debugging for these types of code box -> select the types of code you want Just-In-Time debugging to debug: Managed, Native, and/or Script -> Select OK. More info: Enable or disable Just-In-Time debugging in Visual Studio.

    If you had Visual Studio installed but no longer do, you may need to disable Just-In-Time debugging from the Windows registry.

    If you don't have Visual Studio installed, you can prevent Just-In-Time debugging by disabling script debugging or server-side debugging from: https://docs.microsoft.com/en-us/visualstudio/debugger/just-in-time-debugging-in-visual-studio?view=vs-2017

    Looking forwards your reply.

    Best Regards

    May


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Tuesday, November 13, 2018 5:58 AM