Solve Problems with Your DLL Files to Prevent Windows Crashes D 496/1 DLL Error Troubleshooting
Total Page:16
File Type:pdf, Size:1020Kb
D496.qxp_April 2018 28/02/2018 13:23 Page 15 DLL Error Troubleshooting D 496/1 Solve Problems with Your DLL Files to Prevent Windows Crashes Using the information given in this article you will be able to: Deal with the conflicts between DLLs that lead to errors, Fix DLL version incompatibilities that cause Windows crashes, Use free tools to detect faulty DLLs. DLLs lie at the heart of your Windows system, and are used by almost all of your applications. DLLs contain shared code which several applications can use at the same time but this means that if something goes wrong with a single DLL, it can cause several applications to fail, or even lead to Windows crashes. Conflicts between different versions of DLL files can also lead to problems in your applications and incorrectly registered DLL files can make Windows components such as Windows Update fail to work completely. When problems strike, you need to take control of the DLL situation on your PC. Using the 3-step plan outlined in this article, you can fix most DLL problems very quickly. When more serious problems strike, you need to replace conflicting DLL versions and clear out the unused DLLs on your system that will lead to further conflicts. • Fix Your DLL Problems in 3 Steps ................................... D 496/2 • Fix Conflicts Between DLL Versions Using Process Explorer ....................................................... .... D 496/5 • Remove Orphaned DLLs from Your System to Avoid Problems ... ...... ................................................... D 496/7 • Cure DLL Errors that Lead to Windows Update Failures ...................................... ............. .............. D 496/10 The Windows Advisor April 2018 15 D496.qxp_April 2018 28/02/2018 13:23 Page 16 D 496/2 DLL Error Troubleshooting Fix Your DLL Problems in 3 Steps Errors occur DLL problems usually crop up when you try to run a tool that when DLLs are depends on a missing or corrupt DLL. DLL files are used to missing or contain pieces of program code that can be shared by corrupt different applications, so if there is a problem with a DLL on your system, you may quickly find that several applications have stopped working. Error messages When you try to open a program that relies on a problem indicate when DLL, you will either see a message on screen telling you that DLLs are missing a DLL is missing, or the tool will not start at all. To quickly cure most DLL problems that might occur on your system, follow these 3 steps: Step 1: Cure Windows DLL problems with SFC If you are experiencing a DLL error when you try to open more than one application, then the problem is due to a shared DLL file that is part of Windows. Use the System If this is the case, you need to run the System File Checker File Checker (SFC) to check for and replace any missing system DLL files. To use the tool, follow these steps: 1. In Windows 10/8.1, press + X and click : Command Prompt (Admin) or Windows PowerShell (Admin). In Windows 7, click Start > All Programs > Accessories then right-click Command Prompt and choose Run as administrator . 2. If a User Account Control prompt is displayed, click Yes or OK . 3. At the command prompt, type SFC /SCANNOW and press E n t e r . 16 The Windows Advisor April 2018 D496.qxp_April 2018 28/02/2018 13:23 Page 17 DLL Error Troubleshooting D 496/3 4. The scan will take some time to complete, displaying Re-boot your its progress on screen. Once complete, re-boot your system system and any damaged or missing system files will have been replaced. SFC will report its progress and whether any files have been replaced Use SFC to cure DLL errors Tip: If your DLL problem is causing Windows itself to crash then this step will replace the problem system DLL and cure the problem. Step 2: Re-install faulty software If your DLL error only occurs when you use a single application, it means that the DLL at fault has probably been installed as part of that application and is not shared with other programs. If this is the case, the problem can usually be resolved by Re-install the uninstalling the program in question and then re-installing faulty it, which will have the effect of replacing the missing or application damaged files. To uninstall the program, follow these steps: 1. Press + X then type control and click OK to open the Control Panel . In the Control Panel , click on Programs and Features . : The Windows Advisor April 2018 17 D496.qxp_April 2018 28/02/2018 13:23 Page 18 D 496/4 DLL Error Troubleshooting 2. Select the program you are having problems with, then click Remove or Uninstall . 3. Once the uninstaller has finished, re-boot your PC. Install the Once the program has been removed, you can re-install it application from its original CD/DVD or SETUP.EXE file. Not only will again this replace any corrupt DLL files but it will also correct any corrupt registry entries. You should now find that the program works without problems. Step 3: Install a new copy of the DLL Download If you’ve tried the two steps above but had no success, you the DLL should try downloading a fresh copy of the DLL file that you are having problems with from the Internet and saving it to your PC in the correct location. All the information that you need, such as the DLL name and the location it should be saved to, should be displayed in the error message you receive when using the faulty program that depends on the DLL. Open your web browser and navigate to: www.dll-files.com/ . Search by name From here, you can search for and download hundreds of DLL files. Simply search for the one missing from your system and download a fresh copy. Click on Show description to see more details about the DLL and find instructions on how to install it. Download the file with this link Use the advice given Place the file into by the site to the correct find where directory for your you should system put the DLL 18 The Windows Advisor April 2018 D496.qxp_April 2018 28/02/2018 13:23 Page 19 DLL Error Troubleshooting D 496/5 Fix Conflicts Between DLL Versions Using Process Explorer Software developers release updated versions of their DLL DLL versions files, just as they do new applications. Because DLLs are can conflict shared between applications, this can cause problems, as an application on your system may only work with a certain version of a DLL file. If a different version of a DLL is installed on to your system, this can lead to DLL version conflicts, which result in some of your applications not working. Process Explorer is a tool from Microsoft that can help you Process resolve these problems by examining every aspect of a Explorer running program, including the DLLs it is using. Apart from running process names, extensive information is displayed such as the load on your CPU (processor load), a description of each running application and the name of the developer of each application. You can download Process Explorer from the Downloads area of the Windows Advisor website, www.windowsadvisor.co.uk . Selecting the name of a process and clicking View > Show Lower Pane will display all of the DLLs loaded by that process, which is essential information when you are trying to troubleshoot application DLL errors. When you choose to show the lower pane of the window, you can use the DLL button in the menu bar (shown as a yellow cog icon) to easily switch between DLL view and Handle view. DLL view is the most important, as it shows the open DLLs. The display of application dependencies and DLLs is particularly important for error analysis purposes. Here, Process Explorer helps in two ways: The Windows Advisor April 2018 19 D496.qxp_April 2018 28/02/2018 13:23 Page 20 D 496/6 DLL Error Troubleshooting Check which 1. You can find out which DLLs are being used by a DLLs an particular application. application is 2. You can view which sub-applications have been started using by the application. Click the cog icon to see the DLL view Select the application to check The DLLs in use are shown here Process Explorer lists extensive information concerning the programs running on your PC To discover DLL version conflicts, select the program you are having problems with in Process Explorer and open Lower Pane View to see the DLL details. Check the Look through the list of DLLs used by the program, and Path column check the Path column for any that are present in directories other than C:\Windows and its subdirectories. Or you can check the directory the program is loaded from, by double-clicking the program's name in Process Explorer. Tip: You can find a DLLs version number by double-clicking on it in the Lower Pane View. 20 The Windows Advisor April 2018 D496.qxp_April 2018 28/02/2018 13:23 Page 21 DLL Error Troubleshooting D 496/7 If you find any DLLs that are loaded from other locations, they could be causing conflicts. Try re-installing the program, or check with its developers as to which DLL versions it should be loading. Remove Orphaned DLLs from Your System to Avoid Problems When you uninstall software from your system, you’ve probably seen a message from the software installer telling you that a particular shared DLL file is not being used by any other programs and asking if you want to remove it.