Windows Error 0xC0000005 — Access Violation
About Windows Error 0xC0000005
Windows error 0xC0000005 (Access Violation) means an application tried to read or write memory that it does not have permission to access. This guide covers everything you need to know about this topic, including common causes, step-by-step solutions, and answers to frequently asked questions.
Here are the key things to understand: STATUS_ACCESS_VIOLATION — most common app crash error. Application tried to access protected memory. Can affect any Windows application or game. Often related to corrupted files or compatibility issues. Understanding these fundamentals will help you diagnose and resolve this issue more effectively.
The most common reasons this occurs include: Application bug causing invalid memory access. Corrupted application files or DLLs. Incompatible application with current Windows version. DEP (Data Execution Prevention) blocking legitimate code. Identifying the root cause is the first step toward finding the right solution.
To resolve this, follow these recommended steps: Reinstall the application completely. Run application in compatibility mode (right-click > Properties). Add DEP exception for the application if appropriate. Update Visual C++ Redistributables and .NET Framework. If these steps do not resolve the issue, consider consulting additional resources or a qualified professional.
This article is part of our Windows Error Codes collection on Error Codes Wiki. We provide comprehensive, up-to-date information to help you find solutions quickly.
Quick Answer
What is an access violation?
The program tried to read or write memory it is not allowed to use, causing Windows to terminate it.
Overview
Windows error 0xC0000005 (Access Violation) means an application tried to read or write memory that it does not have permission to access.
Key Details
- STATUS_ACCESS_VIOLATION — most common app crash error
- Application tried to access protected memory
- Can affect any Windows application or game
- Often related to corrupted files or compatibility issues
Common Causes
- Application bug causing invalid memory access
- Corrupted application files or DLLs
- Incompatible application with current Windows version
- DEP (Data Execution Prevention) blocking legitimate code
Steps
- 1Reinstall the application completely
- 2Run application in compatibility mode (right-click > Properties)
- 3Add DEP exception for the application if appropriate
- 4Update Visual C++ Redistributables and .NET Framework