كيفية إصلاح & lsquo ؛ حدث استثناء غير معالج في تطبيقك & rsquo ؛ خطأ في Windows؟

عادةً ما يحدث خطأ " حدث استثناء Win32 غير معالج في * application_name * " عندما يحاول المستخدم تشغيل تطبيق تم إنشاؤه في Visual Studio. ترتبط معظم الحالات المبلغ عنها لهذا الخطأ بـ Uplay و Internet Explorer والعديد من الألعاب القديمة التي تم إنشاؤها في البداية لإصدارات Windows الأقدم.

ملاحظة : إليك كيفية إصلاح مكتبة وقت التشغيل المتعلقة بـ Visual C ++.

ما الذي يسبب خطأ "حدث استثناء غير معالج في تطبيقك" على Windows؟

هناك عدة أسباب بسيطة لهذه المشكلة ويمكن معالجة المشكلة بشكل فعال إذا كنت قادرًا على التعرف على السيناريو الخاص بك بناءً على تحديد السبب الصحيح. تحقق من القائمة أدناه:

  • قد يكون برنامج مكافحة الفيروسات هو الجاني - من المعروف أن بعض أدوات مكافحة الفيروسات مثل Panda Antivirus تسببت في حدوث هذه المشكلة ، لذا تأكد من استبدالها.
  • قد يتم تشغيل بعض البرامج أو البرامج الضارة - إذا كان هناك برنامج مثبت أو برنامج ضار قيد التشغيل على جهاز الكمبيوتر الخاص بك ، فقد ترغب في التخلص منه. تأكد من التمهيد في التمهيد النظيف لمعرفة ما إذا كان هذا هو السبب الصحيح.
  • تثبيت Microsoft .NET Framework تالف - في حالة تلف ملفاته الأساسية ، يمكنك إما محاولة إصلاح التثبيت أو تثبيت إصدار أحدث أو إجراء فحص SFC.
  • يتم تمكين تصحيح أخطاء البرنامج النصي عبر التسجيل - كما اتضح ، يمكن أن يساهم مفتاح تسجيل معين في ظهور هذه المشكلة. للعناية به ، ستحتاج إلى تعطيل تصحيح البرامج النصية عبر مفاتيح التسجيل.
  • انتهاك الوصول في Msvcr92.dll - تجاوز المخزن المؤقت للمصدر أو البايت النهائي غير الصحيح من الأسباب المحتملة لهذه المشكلة. لمعالجتها ، ستحتاج إلى تثبيت كل تحديث Windows معلق.
  • حذف مفتاح تسجيل مشغل Ubisoft - إذا رأيت هذا الخطأ أثناء محاولة تشغيل Uplay.exe ، فذلك بسبب خطأ في Ubisoft Game Launcher. يمكن أيضًا حل هذه المشكلة عبر التسجيل عن طريق حذف القيمة التي تنتمي إلى هذا المشغل.
  • تلف ملف النظام - يمكن أن يؤدي عدم تناسق ملف النظام أيضًا إلى حدوث هذه المشكلة. يمكن حل الفساد الخفيف عن طريق عمليات مسح بسيطة لـ DISM و SFC. في الظروف الأكثر خطورة ، من المفترض أن يساعدك التثبيت النظيف أو التثبيت في حل المشكلة.

الحل 1: قم بتثبيت كل تحديث Windows معلق

أحد الأسباب الأكثر شيوعًا التي ستؤدي في النهاية إلى حدوث خطأ " حدث استثناء Win32 غير معالج " هو تطبيق تم إنشاؤه لمنصة x64 باستخدام MSVCR90.DLL الذي ينتهي باستدعاء وظيفة strncpy.

في هذه الحالة ، سيؤدي انتهاك وصول الذي تم تشغيله في ملف Msvcr92.DLL على الأرجح إلى توقف التطبيق عن الاستجابة في دالة strncpy. يعد تجاوز المخزن المؤقت للمصدر أو البايت النهائي غير الصحيح من أكثر الأسباب المحتملة لهذه المشكلة.

لحسن الحظ ، تدرك Microsoft بالفعل هذه المشكلة وقد أصدرت إصلاحًا عاجلاً لهذه المشكلة والذي سيعمل تلقائيًا على حلها. للاستفادة منه ، كل ما عليك فعله هو تحديث إصدار نظام التشغيل الخاص بك إلى أحدث إصدار متاح.

ملاحظة: تم دفع هذا الإصلاح العاجل ضمن مراجعة لبرنامج Visual Studio 2008 ، والذي يقوم Windows بتحديثه تلقائيًا ، لذا فإن الخطوات أدناه عامة ويجب أن تعمل بغض النظر عن إصدار نظام التشغيل الخاص بك.

فيما يلي دليل سريع حول تحديث إصدار Windows إلى أحدث إصدار لتثبيت الإصلاح العاجل لبرنامج Visual Studio 2008 وحل المشكلة:

  1. اضغط على مفتاح Windows + R لفتح مربع حوار Run . بعد ذلك ، اكتب "ms-settings: windowsupdate" واضغط على Enter لفتح علامة تبويب تحديث Windows في تطبيق الإعدادات .

    ملاحظة: في حالة مواجهة هذه المشكلة على Windows 7 أو Windows 8.1. استخدم الأمر "wuapp" بدلاً من ذلك.

  2. بعد أن تتمكن من الوصول إلى شاشة Windows Update ، ابدأ بالنقر فوق التحقق من وجود تحديثات . بعد ذلك ، ابدأ باتباع المطالبات التي تظهر على الشاشة لإكمال تثبيت كل تحديث Windows ينتظر حاليًا التثبيت.

    ملاحظة: ضع في اعتبارك أنه من المهم أن تقوم بتثبيت كل تحديث ، وليس فقط التحديثات الهامة. نظرًا لأنه تم تضمين الإصلاح العاجل في مراجعة Visual Studio ، فقد تجد التحديث المعني ضمن اختياري ، لذا تأكد من تثبيتها جميعًا.

  3. في حالة مطالبتك بإعادة التشغيل قبل أن تحصل على فرصة لتثبيت كل تحديث متاح ، قم بذلك. لكن تأكد من العودة إلى هذه الشاشة نفسها بعد اكتمال بدء التشغيل التالي لإكمال تثبيت باقي التحديثات.
  4. بمجرد تثبيت كل تحديث معلق ، أعد تشغيل الكمبيوتر مرة أخيرة ، ثم كرر الإجراء الذي تسبب سابقًا في ظهور رسالة الخطأ لمعرفة ما إذا تم إصلاح المشكلة.

إذا كنت لا تزال تواجه الخطأ " حدث استثناء Win32 غير معالج " ، فانتقل إلى الطريقة التالية أدناه.

الحل 2: استبدل برنامج مكافحة الفيروسات الخاص بك

يمكن أن تكون أدوات مكافحة الفيروسات المجانية مفيدة جدًا ويمكنها القيام بعملها في حماية جهاز الكمبيوتر الخاص بك ، ولكن في بعض الأحيان لا تتوافق بشكل جيد مع الأشياء الأخرى الموجودة على جهاز الكمبيوتر الخاص بك. ضع في اعتبارك استبدال برنامج مكافحة الفيروسات إذا تسبب في حدوث هذه المشكلة أثناء تشغيله!

  1. انقر فوق قائمة ابدأ وافتح لوحة التحكم بالبحث عنها. بدلاً من ذلك ، يمكنك النقر فوق رمز الترس لفتح الإعدادات إذا كنت تستخدم Windows 10.
  2. في لوحة التحكم ، حدد عرض كـ - فئة في الزاوية اليمنى العليا وانقر فوق " إلغاء تثبيت برنامج" ضمن قسم البرامج.
  1. إذا كنت تستخدم تطبيق الإعدادات ، فإن النقر فوق التطبيقات يجب أن يفتح على الفور قائمة بجميع البرامج المثبتة على جهاز الكمبيوتر الخاص بك.
  2. حدد موقع أداة مكافحة الفيروسات في لوحة التحكم أو الإعدادات وانقر على إلغاء التثبيت .
  3. يجب أن يفتح معالج إلغاء التثبيت الخاص به ، لذا اتبع التعليمات لإلغاء تثبيته.
  1. انقر فوق "إنهاء" عندما يكمل برنامج إلغاء التثبيت العملية وأعد تشغيل الكمبيوتر لمعرفة ما إذا كانت الأخطاء ستستمر في الظهور. تأكد من اختيار خيار أفضل لمكافحة الفيروسات .

الحل 3: حذف قيمة Launcher Registry (إن أمكن)

إذا كنت تواجه خطأ " حدث استثناء win32 غير معالج " عند محاولة تشغيل Uplay.exe أو تطبيق مختلف ينتمي إلى Ubisoft ، فمن المحتمل أن يكون ذلك بسبب خطأ في Ubisoft Game Launcher.

كما اتضح ، يبدو أن هذه مشكلة منتشرة على نظام التشغيل Windows 10 ، خاصة بين المستخدمين الذين تم تثبيت كل من Steam و Uplay في نفس الوقت.

تمكن العديد من المستخدمين المتأثرين الذين نكافح من أجل حل هذه المشكلة من إصلاحها باستخدام محرر التسجيل للعثور على قيمة سجل السلسلة التي تنتمي إلى المشغل وحذفها. من المفترض أن يؤدي هذا إلى إزالة التعارض ، مما يسمح لكلا التطبيقين بالعمل بشكل صحيح تحت نفس الجهاز.

فيما يلي دليل سريع حول حذف قيمة التسجيل المرتبطة بمشغل Uplay:

  1. اضغط على مفتاح Windows + R لفتح مربع حوار Run . داخل مربع النص ، اكتب "regedit" واضغط على Enter لفتح محرر التسجيل . عندما يطلب منك موجه UAC (التحكم في حساب المستخدم) ، اكتب نعم لمنح الامتيازات الإدارية.
  2. بمجرد دخولك إلى محرر التسجيل ، استخدم القسم الأيسر من النافذة للانتقال إلى الموقع التالي:
    الكمبيوتر \ HKEY_LOCAL_MACHINE \ SOFTWARE \ WOW6432Node \ Ubisoft

    ملاحظة: يمكنك إما التنقل هناك يدويًا أو يمكنك لصق الموقع مباشرة في شريط التنقل في الأعلى والضغط على Enter للوصول إلى هناك على الفور.

  3. بعد أن تتمكن من الهبوط في الموقع الصحيح ، انتقل لأسفل إلى القسم الأيمن من الشاشة ، وانقر بزر الماوس الأيمن على Launcher واختر " حذف" للتخلص منه.

    ملاحظة: في حالة حذف المفتاح ، فإليك كيفية الحصول على ملكية مفاتيح التسجيل.

    ملاحظة: بعد حذفه ، سيضطر المشغل إلى إنشاء قيمة سلسلة Launcher جديدة ببيانات جديدة ، والتي يجب أن تحل المشكلة.

  4. بمجرد حذف المفتاح ، أغلق محرر التسجيل وأعد تشغيل الكمبيوتر.
  5. عند بدء تشغيل الكمبيوتر التالي ، كرر الإجراء الذي كان يتسبب في السابق في ظهور الخطأ " حدث استثناء Win32 غير معالج " ومعرفة ما إذا كان قد تم حل المشكلة.

في حالة استمرار المشكلة نفسها ، انتقل إلى الإصلاح المحتمل التالي أدناه.

الحل 4: إعادة تعيين Internet Explorer (إن أمكن)

مثال آخر محتمل مع إمكانية إنشاء هذه المشكلة هو سلسلة من Internet Explorer (IE) التالف. إذا كنت تواجه "حدث استثناء Win32 غير معالج في iexplore.exe" ، فمن المحتمل أن يظهر بعد فشل البرنامج النصي.

لإصلاح هذه المشكلة ، يجب إعادة تعيين إعدادات Internet Explorer الخاصة بك عبر قائمة خيارات الإنترنت. تم تأكيد نجاح هذه العملية من قبل الكثير من المستخدمين الذين كانوا يتعاملون مع هذا الخطأ.

فيما يلي دليل سريع حول إعادة تعيين Internet Explorer لحل الخطأ " حدث استثناء غير معالج لـ win32 ":

  1. تأكد من إيقاف تشغيل Internet Explorer أو Edge أو أي مثيل آخر مرتبط وعدم تشغيل أي عملية في الخلفية.
  2. اضغط على مفتاح Windows + R لفتح مربع حوار Run . داخل مربع النص ، اكتب "inetcpl.cpl" واضغط على Enter لفتح قائمة خيارات الإنترنت .تشغيل مربع الحوار: inetcpl.cpl

    ملاحظة: إذا تمت مطالبتك من قبل UAC (التحكم في حساب المستخدم) ، فانقر فوق " نعم" لمنح امتيازات إدارية.

  3. بعد أن تتمكن من الدخول إلى شاشة خصائص الإنترنت ، حدد علامة التبويب خيارات متقدمة من القائمة الأفقية في الأعلى. بعد ذلك ، انتقل إلى إعادة تعيين إعدادات Internet Explorer وانقر على زر إعادة التعيين.
  4. بمجرد رؤية شاشة التأكيد ، تأكد من تحديد المربع المرتبط بحذف الإعدادات الشخصية ، ثم انقر فوق الزر إعادة تعيين .
  5. انتظر حتى تكتمل العملية ، ثم أعد تشغيل جهازك ومعرفة ما إذا كان قد تم حل المشكلة عند بدء تشغيل الكمبيوتر التالي.

In case the same “An unhandled win32 exception occurred in iexplore.exe’ error is still occurring, move down to the next method below.

Solution 5: Disable Script Debugging and associated Registry Keys (if applicable)

If you’re encountering the issue with Internet Explorer on a machine that has VS installed on it, the issue can also occur due when Script Debugging is enabled and the registry entries end up containing corrupted data.

Several affected users that encountered this issue have confirmed that the issue was resolved after they accessed the Internet Options menu to disable Script Debugging and then deleted the associated keys using Registry Editor.

Here’s a quick guide on doing this in order to fix the “An unhandled win32 exception occurred in iexplorer.exe’ error:

  1. Press Windows key + R to open up a Run dialog box. Next, inside the text box, type ‘inetcpl.cpl’ and press Enter to open up the Internet Options menu. If you are prompted by the User Account Control (UAC), click Yes to grant administrative privileges.
  2. Once you manage to find yourself inside the Internet Properties screen, use the menu at the top to select the Advanced tab.
  3. Inside the Internet Properties screen, scroll down through the Settings menu and check the box associated with Disable script debugging (Internet Explorer).
  4. Once the modification is enforced, hit Apply to save the changes, then close the Internet Properties window.
  5. Press Windows key + R once again to open up another dialog box. This time, type ‘regedit’ and press Enter to open up Registry Editor. You will need to grant admin access, so click Yes when prompted by the User Account Control window.
  6. Inside the Registry Editor, navigate to the following location using the left-hand menu:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug (32 - Bit Machine) HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\AeDebug (64 - Bit Machine)

    Note: The location of the file we need to delete is different depending on the Windows version that you’re using. If you have a 32 – bit Windows version use the first location, else, use the second.

  7. Once you arrive to the correct location, move down to the right-section, right-click on Debugger and choose Delete from the context menu.
  8. Once this key is deleted, navigate to this second location:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\ (32 - Bit Machine) HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework (64 - Bit Machine)

    Note: Access the registry key associated with your Windows bit version that you’re using.

  9. When you arrive at the correct location, move over to the right-hand section and delete the DbgManagedDebugger value by right-clicking on it and choosing Delete from the context menu.
  10. After you manage to delete the value, close the Registry Editor and restart your computer.
  11. Once the next startup is complete, see if the same issue is still occurring.

In case the “An unhandled win32 exception occurred’ error is still occurring, move down to the next method below.

Solution 6: Install the Latest Version of NET Framework and Repair it

Having NET Framework installed on your computer is vital and plenty of modern games and programs depend on you having it installed. Before repairing it, follow the steps below in order to install the latest version on your computer.

Navigate to this link and click the red download button in order to download the latest version of the Microsoft .NET Framework. After the download has finished, locate the file you downloaded and run it. Note that you will need to have constant access to the Internet. Follow the instructions on-screen to proceed with the installation.

  1. After installing the latest version, it’s time to check its integrity. On your keyboard, use the Windows Key + R key combination to open the Run dialog box.
  2. Type in control.exe and click OK in order to open it.
  1. Click the Uninstall a Program option and click Turn Windows features on or off. Make sure you locate the .NET Framework 4.x.x entry and make sure it’s enabled. ‘x.x’ marks the latest version available for your operating system.
  2. If the checkbox next to .NET Framework 4.x.x is not enabled, enable it by clicking the box. Click OK to close the Windows Feature window and reboot the computer.
  1. If .Net Framework 4.x.x is already enabled, you can repair .Net Framework by clearing the box and rebooting the computer. After the computer has restarted, re-enable .Net Framework and restart the computer again.

Solution 7: Perform a Clean Boot

There are various other programs and services which can affect the proper functionality of the Microsoft .NET Framework suite. In most cases, the cause is the antivirus you have installed and you can try disabling it to see if the error persists. However, to make sure nothing can interfere with the installation, we recommend you perform a clean boot which will disable all non-Microsoft programs and services from starting up. This way, you can easily deduct just which program causes this error to happen!

  1. Use the Windows + R key combination on your keyboard. In the Run dialog box type MSCONFIG and click OK.
  2. Click on the Boot tab and uncheck the Safe Boot option (if checked).
  1. Under the General tab in the same window, click to select the Selective startup option, and then click to clear the Load startup items check box to make sure it’s not checked.
  2. Under the Services tab, click to select the Hide all Microsoft services check box, and then click Disable all.
  1. On the Startup tab, click Open Task Manager. In the Task Manager window under the Startup tab, right click on each startup item which is enabled and select Disable.
  1. After this, you will need to perform some of the most boring processes and that is enabling the Startup items one by one and restarting your computer. After that, you need to check whether the problem appears again. You will need to repeat the same process even for the Services which you have disabled in Step 4.
  2. Once you locate the problematic startup item or service, you can undertake action in order to solve the problem. If it is a program, you can reinstall it or repair If it is a service, you can disable it, etc.

Solution 8: Use SFC to Scan for Memory Leaks

It has been reported that the Microsoft .NET Framework corruption is related to faulty system files. These problems are rooted deep inside the system files and the only way to try to resolve them is by running the System File Checker (SFC). It will scan your system files for errors and possible repair or replace them. Follow the steps below in order to do so!

  1. Search for “Command Prompt” by typing it either right in the Start menu or by pressing the search button right next to it. Right-click the first entry which will pop up as a search result and select the “Run as administrator” context menu entry.
  2. Additionally, you can also use the Windows Logo Key + R key combination in order to bring up the Run dialog box. Type in “cmd” in the dialog box which appears and use the Ctrl + Shift + Enter key combination for admin Command Prompt.
  1. Type in the following commands in the window and make sure you press Enter after typing each one. Wait for the “Operation completed successfully” message or something similar to know that the method worked.
sfc /scannow
  1. Try to restart your computer and check to see if the Unhandled Exception has Occurred in your Application error continues to appear on your computer.

Solution 9: Performing a Clean Install

If none of the methods presented below have managed to help you in resolving the issue, it’s very likely that you’re dealing with some kind of Windows inconsistency that cannot be resolved conventionally.

If this scenario is applicable, you should be able to fix the issue by resetting every component associated with your Windows installation. If you want to go this route, you have two ways forward. It all boils down to the procedure that you want to follow:

  • تثبيت الإصلاح (الإصلاح الموضعي) - هذا الإجراء هو أفضل نهج عندما تحتاج إلى تحديث كل مكون من مكونات نظام التشغيل ، ولكن قد ينتهي الأمر ببعض المستخدمين إلى اعتباره مملاً قليلاً لذوقهم. ضع في اعتبارك أنك ستحتاج إلى وسائط تثبيت متوافقة من أجل فرض هذا الإصلاح ، ولكن الميزة الرئيسية هي أنه سيتم الاحتفاظ بجميع بياناتك الشخصية (بما في ذلك الألعاب والتطبيقات والوسائط الشخصية) حتى إذا لم تقم بإجراء نسخ احتياطي لجهاز الكمبيوتر الخاص بك .
  • تثبيت نظيف - إذا كنت تبحث عن أبسط حل ، فهذه هي الطريقة المثلى. لن تحتاج إلى وسائط تثبيت لفرضها (كل ذلك يتم من خلال واجهة المستخدم الرسومية لـ Windows). ولكن ما لم تقم بعمل نسخة احتياطية من بياناتك مسبقًا ، فاستعد لفقدان البيانات بالكامل.