Cum se remediază excepția necorespunzătoare care a avut loc în aplicația dvs. & rsquo; Eroare pe Windows?

A apărut o excepție win32 nesoluționată în eroarea * nume_aplicare * ” apare de obicei atunci când utilizatorul încearcă să lanseze o aplicație care a fost construită în Visual Studio. Cele mai multe cazuri raportate ale acestei erori sunt asociate cu Uplay, Internet Explorer și mai multe jocuri Legacy construite inițial pentru versiuni mai vechi de Windows.

Notă : Iată cum să remediați o bibliotecă Runtime legată de Visual C ++.

Ce cauzează eroarea „Excepție nesoluționată în aplicația dvs.” pe Windows?

Există mai multe cauze simple ale acestei probleme și problema poate fi abordată eficient dacă sunteți capabil să vă recunoașteți scenariul pur și simplu pe baza identificării cauzei corecte. Consultați lista de mai jos:

  • Antivirusul dvs. poate fi vinovatul - Se știe că unele instrumente antivirus, cum ar fi Panda Antivirus, au cauzat această problemă, deci asigurați-vă că le înlocuiți.
  • Este posibil să ruleze anumite programe sau programe malware - Dacă pe computerul dvs. rulează un program instalat sau programe malware, este posibil să doriți să scăpați de acesta. Asigurați-vă că porniți un boot curat pentru a vedea dacă aceasta este cauza corectă.
  • Instalarea Microsoft .NET Framework este coruptă - Dacă fișierele sale de bază sunt corupte, puteți încerca fie să reparați instalarea, să instalați o versiune mai nouă, fie să efectuați o scanare SFC.
  • Depanarea scriptului este activată prin Registry - După cum se dovedește, o anumită cheie de registry poate contribui la apariția acestei probleme. Pentru a avea grijă de el, va trebui să dezactivați Depanarea Scripturilor prin Chei de Registru.
  • Încălcarea accesului în Msvcr92.dll - Un buffer sursă excesiv sau un octet final necorespunzător sunt, de asemenea, cauze potențiale ale acestei probleme. Pentru a le aborda, va trebui să instalați fiecare actualizare Windows în așteptare.
  • Ștergerea cheii de registry a lansatorului Ubisoft - Dacă vedeți această eroare în timp ce încercați să lansați Uplay.exe, aceasta se datorează unei erori cu Ubisoft Game Launcher. Această problemă poate fi rezolvată și prin registru prin ștergerea valorii aparținând acestui lansator.
  • Corupția fișierului de sistem - O neconcordanță a fișierului de sistem poate crea, de asemenea, această problemă. Corupția ușoară poate fi rezolvată prin scanări simple DISM și SFC. În circumstanțe mai severe, o instalare curată sau o reparație ar trebui să vă ajute să rezolvați problema.

Soluția 1: Instalați fiecare actualizare Windows în așteptare

Una dintre cele mai frecvente cauze care va duce la eroarea „S-a produs o excepție win32 nesoluționată ” este o aplicație care a fost construită pentru platforma x64 folosind MSVCR90.DLL care ajunge să apeleze funcția strncpy.

În acest caz, o încălcare a accesului declanșată în fișierul Msvcr92.DLL va determina cel mai probabil ca aplicația să nu mai răspundă în funcția strncpy. Un buffer sursă excesiv sau un octet final necorespunzător sunt cele mai probabile cauze ale acestei probleme.

Din fericire, Microsoft este deja conștient de această problemă și a lansat o remediere rapidă pentru această problemă care o va rezolva automat. Pentru a profita de el, tot ce trebuie să faceți este să vă actualizați versiunea sistemului de operare la cea mai recentă versiune disponibilă.

Notă: Această remediere rapidă a fost introdusă în cadrul unei revizuiri a Visual Studio 2008, pe care Windows o actualizează automat, astfel încât pașii de mai jos sunt universali și ar trebui să funcționeze indiferent de versiunea sistemului de operare.

Iată un ghid rapid despre actualizarea versiunii dvs. Windows la cea mai recentă versiune pentru a instala remedierea rapidă pentru Visual Studio 2008 și a rezolva problema:

  1. Apăsați tasta Windows + R pentru a deschide o casetă de dialog Executare . Apoi, tastați „ms-settings: windowsupdate” și apăsați Enter pentru a deschide fila de actualizare Windows a aplicației Setări .

    Notă: În cazul în care întâmpinați această problemă pe Windows 7 sau Windows 8.1. utilizați în schimb comanda „wuapp” .

  2. După ce reușiți să ajungeți în ecranul Windows Update, începeți făcând clic pe Verificare actualizări . Apoi, începeți să urmați instrucțiunile de pe ecran pentru a finaliza instalarea fiecărei actualizări Windows care așteaptă în prezent să fie instalată.

    Notă: rețineți că este crucial să instalați fiecare actualizare, nu doar cele critice. Deoarece remedierea rapidă este inclusă într-o revizuire a Visual Studio, este posibil să găsiți actualizarea în cauză în Opțional, deci asigurați-vă că le instalați pe toate.

  3. În cazul în care vi se solicită să reporniți înainte de a avea șansa de a instala fiecare actualizare disponibilă, faceți acest lucru. Dar asigurați-vă că reveniți la același ecran după ce următoarea pornire este finalizată pentru a finaliza instalarea celorlalte actualizări.
  4. După instalarea fiecărei actualizări în așteptare, reporniți computerul ultima dată și apoi repetați acțiunea care anterior a provocat mesajul de eroare pentru a vedea dacă problema este rezolvată.

În cazul în care întâmpinați în continuare eroarea „A apărut o excepție win32 nesoluționată ”, treceți la următoarea metodă de mai jos.

Soluția 2: Înlocuiți-vă antivirusul

Instrumentele antivirus gratuite pot fi destul de utile și își pot face treaba protejând computerul, dar uneori pur și simplu nu se înțeleg bine cu alte lucruri de pe computer. Luați în considerare înlocuirea antivirusului dvs. dacă provoacă această problemă în timp ce este pornit!

  1. Faceți clic pe meniul Start și deschideți Panoul de control căutându-l. Alternativ, puteți face clic pe pictograma roată pentru a deschide setările dacă utilizați Windows 10.
  2. În Panoul de control, selectați Vizualizare ca - Categorie din colțul din dreapta sus și faceți clic pe Dezinstalare program sub secțiunea Programe.
  1. Dacă utilizați aplicația Setări, faceți clic pe Aplicații ar trebui să deschidă imediat o listă cu toate programele instalate pe computer.
  2. Găsiți instrumentul dvs. antivirus în Panoul de control sau în Setări și faceți clic pe Dezinstalare .
  3. Expertul său de dezinstalare ar trebui să se deschidă, deci urmați instrucțiunile pentru a-l dezinstala.
  1. Faceți clic pe Finalizare când programul de dezinstalare finalizează procesul și reporniți computerul pentru a vedea dacă vor apărea în continuare erori. Asigurați-vă că alegeți o opțiune antivirus mai bună .

Soluția 3: Ștergerea valorii Registrului lansatorului (dacă este cazul)

Dacă întâmpinați eroarea „A apărut o excepție win32 nesoluționată” atunci când încercați să lansați Uplay.exe sau o altă aplicație aparținând Ubisoft, cel mai probabil se datorează unei erori cu lansatorul de jocuri Ubisoft.

După cum se dovedește, aceasta pare a fi o problemă larg răspândită pe Windows 10, în special în rândul utilizatorilor care au instalat atât Steam, cât și Uplay în același timp.

Mai mulți utilizatori afectați care ne străduiesc să rezolvăm această problemă au reușit să o rezolve folosind Editorul de registry pentru a găsi valoarea de registry șir aparținând lansatorului și ștergând-o. Acest lucru elimină presupusul conflict, permițând ambelor aplicații să funcționeze corect sub aceeași mașină.

Iată un ghid rapid despre ștergerea valorii de registru asociate cu lansatorul Uplay:

  1. Apăsați tasta Windows + R pentru a deschide o casetă de dialog Executare . În caseta de text, tastați „regedit” și apăsați Enter pentru a deschide Editorul de registry . Când vi se solicită promptul UAC (Control cont utilizator) , tastați Da pentru a acorda privilegii administrative.
  2. Once you’re inside the Registry Editor, use the left-hand side section of the window to navigate to the following location:
    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Ubisoft

    Note: You can either navigate there manually or you can paste the location directly into the navigation bar at the top and press Enter to get there instantly.

  3. After you manage to land in the correct location, move down to the right-hand section of the screen, right-click on Launcher and choose to Delete to get rid of it.

    Note: In case you can delete the key, here’s how to take ownership of registry keys.

    Note: After you delete it, the launcher will be forced to create a new Launcher string value with fresh data, which should resolve the issue.

  4. Once the key has been deleted, close Registry Editor and restart your computer.
  5. At the next computer startup, repeat the action that was previously causing the “An unhandled win32 exception occurred‘ error and see if the problem is resolved.

In case the same issue is persisting, move down to the next potential fix below.

Solution 4: Reset Internet Explorer (if applicable)

Another potential instance with the potential of creating this issue is a series of corrupted Internet Explorer (IE). If you’re encountering the “An unhandled win32 exception occurred in iexplore.exe’ error chances are it appears after a failing script.

To fix this issue, you should reset your Internet Explorer settings via the Internet Options menu. This operation was confirmed to be successful by a lot of users that were dealing with this error.

Here’s a quick guide on resetting Internet Explorer in order to resolve the “An unhandled win32 exception occurred‘ error:

  1. Ensure that Internet Explorer, Edge or any other associated instance is turned off and no background process is running.
  2. Press Windows key + R to open up a Run dialog box. Inside the text box, type ‘inetcpl.cpl’ and press Enter to open up the Internet Options menu.Run dialog: inetcpl.cpl

    Note: If you are prompted by the UAC (User Account Control), click Yes to grant administrative privileges.

  3. After you manage to get inside the Internet Properties screen, select the Advanced tab from the horizontal menu at the top. Next, go to the Reset Internet Explorersettings and click on the Reset button.
  4. Once you see the confirmation screen, ensure that the box associated with Delete personal settings is checked, then click on the Reset button.
  5. Wait until the operation is complete, then restart your machine and see if the issue is resolved at the next computer startup.

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:

  • Repair install (in-place repair) – This procedure is the best approach when you need to refresh every OS component, but some users might end up considering it a little too tedious for their taste. Keep in mind that you will need a compatible installation media in order to enforce this fix, but the major advantage is that all your personal data (including games, applications and personal media) will be preserved even if you don’t back up your computer.
  • Clean install – If you’re looking for the simplest solution, this is the way to go. You will not need an installation media to enforce it (it’s all done through the Windows GUI). But unless you back up your data in advance, be prepared for total data loss.