How to fix access violation problem?
Posted by admin on 21 Jul 2008 at 09:23 am | Tagged as: Access Violation, Error, Operating System
Access Violation problems are generally a result of improper memory usage by the computer through different computer applications. This can actually be compared to the locking of a gate. Files become inaccessible and can not be opened without the fixing up of the access violation error. Access Violation is essentially very common with software malfunction which again usually happens due to poorly written software. Not only with Windows but also with UNIX and other operating systems that one may face the problem of access violation, although it must be said, Windows is a prime offender!
Any attempt to access the source files is nullified by the security layer that is created with the overburdening of the memory module.
Many a times the permission error i.e. access violation error can be resolved by entering a command prompt to change the file attributes. For e.g. a file can be made readable or writable without opening the file but only by the use of a command. A read-only file can not be written upon directly prompting an access violation and therefore the attributes need to be changed. The DOS command prompt is usually quite simple : ATTRIB [+R | -R] [+A|-A] [+H | -H] [[drive:][path]file] [/S] where R means Read-Only; A means Archive attribute; S is System File and H is Hidden File attribute.
In addition to these solutions other kind of access violations need to be dealt with in a different way. If the access violation is caused due to a C++ 2005 application; it may be due to an invalid code generated by the C++ compiler. A corrupted v-table is contained by the application due to the error resulting in an access violation. This can be resolved by a Hotfix available through Microsoft.
A Data Execution Prevention [DEP] was introduced in Windows XP service pack 2. It performs additional checks on memory and thus helps protect the computer against adwares/malwares and the malicious codes generated through them. Applications that violate DEP get the message for access violation. It is always possible to turn off the DEP but this would have to be the last step.
For games and other windows associated applications the access violation is generally resolved by increasing the memory module. Other Windows related access violations can be dealt with by optimization of the computer performance through readily available softwares. The softwares are able to restore processes that were causing problems with the RAM. Also, junk file cleanups and ending unused processes can avoid receiving an access violation.
Windows XP should be equipped to have at least Service Pack 2. It has a number of hotfixes that help in the debugging of related softwares and to avoid access violations. Access violation problems are not incurable. Mostly all kinds of access violations, trough device drivers, RAM, poor written softwares etc can be resolved if proper measures are taken. As a precaution, one can increase the RAM in a computer which performs tedious tasks. The last resort to solve the access violation problems is to call the computer service person or the vendor.

Click Here