Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 05-06-2009
Member
 
Join Date: May 2009
Posts: 24
Attempted to read or write protected memory error

Hi,
I am running a asp site on a server. Recently was trying to migrate a web application. It was the image gallery of the site. At the time of moving it stopped and gave error - Attempted to read or write protected memory. I then tried back after some time but the same error is poping up. The second problem I got is that I receive the same error when I was converting a xml document via xsl. Attempted to read or write protected memory. This is often an indication that other memory has been corrupted. I worry what can be the cause of this. Please help.
Reply With Quote
  #2  
Old 05-06-2009
Member
 
Join Date: May 2008
Posts: 2,293
Re: Attempted to read or write protected memory error

I am quiet familiar with the issue. I think you are using custom controls. This is also a sign of a AV in unmanaged code. The main cause of this problem is the security features. These security features imposed many restrictions, policies and permission set to access the data from a web. It also possible that the data which you are trying to access is not available in that location.
Reply With Quote
  #3  
Old 05-06-2009
Member
 
Join Date: Oct 2005
Posts: 2,389
Re: Attempted to read or write protected memory error

Please refer to the stack race. The same problem occurred to me while a gif image in the website was not displayed and I tried to correct it. There can be multiple reason for this error. The first on can be the configuration error of framework. It can also cause due to bad installation. Running a 32 bit version code which tries to call 64 bit. The simple solution for this is to updated your asp version. Due to multiple worker processes the webserver becomes inconsistent. Simply copy an paste the controls dl's and xml files in the bin directory. If nothing works then I will recommend you to reinstall.
Reply With Quote
  #4  
Old 05-06-2009
Member
 
Join Date: May 2008
Posts: 2,383
Re: Attempted to read or write protected memory error

Follow the below simple steps. I am not sure about the confirm solution but this worked for me when I had the same problem while working on a xsl transfrom. The below instruction will help to an extent.
  1. Right click on my computer on your desktop.
  2. Click on properties and go to advance tab.
  3. Go to performance tab and select settings.
  4. Got to Data Execution prevention tab and tick on the second option of -
  5. 4. Make sure the radio button labeled ?Turn on DEP for all processes and services except the ones I select.
  6. In the below box click on add and browse to the executable files. Select them.
  7. Click OK and restart your system.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Attempted to read or write protected memory error"
Thread Thread Starter Forum Replies Last Post
Media is write protected error cannot write to disk Bracken Operating Systems 14 22-08-2011 08:58 AM
My canon XS digital camera shows memory write protected and the card is locked Pandeyji Portable Devices 3 09-04-2011 07:15 PM
Only part of a Read or Write Process Memory request was completed error occur while installing new software Antton Operating Systems 4 01-04-2011 10:37 PM
Transcend Memory card error - showing write protected Balamohan Hardware Peripherals 5 29-12-2009 12:55 PM
Memory write read failure / Decreasing available memory koen* Hardware Peripherals 3 18-08-2009 06:55 PM


All times are GMT +5.5. The time now is 06:34 PM.