How to Resolve Error Code 0xc0000005

The following error message may be displayed on your Windows XP computer:

"An application error has occurred and an application error log is being generated.

Exception: access violation (0xC0000005), Address:"

Cause of the Error

Many different factors can cause this error message on your computer. The most common causes are:

  • Faulty RAM
  • Damaged or faulty device driver.
  • Virus or spyware infections.
  • Incorrect scripting of HTML pages.
  • Incompatibility of hardware and software components with Data execution prevention (DEP) that is shipped with Windows XP SP2.

Resolution Method

You can resolve the error by using one of the methods listed below (whichever is appropriate)

Method 1: Check the RAM or system memory.

If you have multiple memory chips on the PC, you can take out all but one and then try to boot your PC. If an error is generated, then the installed chip is most probably faulty. Otherwise, repeat the process by adding one more RAM chip until you detect the faulty chip.

You may also use a reliable memory test tool to run diagnostics tests on the memory and detect any problems.

If you find a faulty memory chip, replace it to resolve the error.

Method 2: Fix the Faulty Driver

If the error follows a device driver installation or update, it is quite probable that this new driver or update is causing it.

In this case, to resolve the error message, you may use the Device Manager utility to uninstall or rollback your driver update and resolve the error.

Method 3: Perform Antivirus and Antispyware Scan

Many times, a sudden occurrence of error code 0xC0000005 may indicate virus or spyware infections. In this case, update your antivirus and antispyware tools, such as STOPzilla Antivirus and Spyware Cease, and then perform a thorough full system scan of your computer.

To ensure that the scan is more efficient, run the scan in Safe Mode because in this mode Windows loads with minimal number of services.

Method 4: Fix HTML Script Problem

Error code 0xC0000005 may be generated when you try to open a Web page or an HTML document that comprises SPAN tags. The error occurs if these tags are not closed correctly using </SPAN>.

To resolve this error, you may obtain a hotfix from Microsoft and install it on your system. Remember that the hotfix will be able to fix only the problem that is being discussed here. This is the reason why, it is recommended that if you are not severely affected by this error, you must wait for next Internet Explorer update or service pack.

Method 5: Ensure DEP Compatibility

Data execution prevention (DEP) is a set of hardware and software technologies that was introduced with Windows XP Service Pack 2. DEP runs a number of additional checks on the memory to protect it against malicious attacks.

You may encounter the STATUS_ACCESS_VIOLATION (0xC0000005) error message, if you have hardware or software that is incompatible with DEP installed on your PC.

If you are encountering this problem with one of the hardware or software installed on your PC, then the best way to resolve it is to contact the manufacturer of your product for possible solutions.

On Windows XP Service Pack 2 32-bit computer you may also turn of DEP by adding /NOEXECUTE=ALWAYSOFF command in the boot.ini file. However, you must use this method as a last resort.