When You Visit Your Website, You Receive the Error: Attempted to Read or Write Protected Memory
Issue
When you go to your website, you receive the error:
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Possible Causes
This is caused by running legacy software (usually ASP.NET Storefront) that is not compatible with the latest .NET Service Packs from Microsoft.
Resolutions
Upgrade your Legacy Application
You will need to upgrade your legacy application so that is compatible with the current .NET Framework. You will need to contact the developer of the application or hire a developer for assist in upgrading the application.
Uninstall the Microsoft .NET Service Packs and Re-install ASP.NET 3.5
These steps can only be performed by a dedicated server customer or a member of our support staff.
- Use Remote Desktop to log into the server.
- Go to Start > Control Panel > Add or Remove Programs.
- Click on the Remove for the Microsoft .net framework 3.5 SP1. Wait till completion.
- Click on the Remove for the Microsoft .net framework 3.0 SP2. Wait till completion.
- Click on the Remove for the Microsoft .net framework 3.5 SP1. Wait till completion.
- Download the ASP.NET 3.5 from Microsoft and install it.
- After the installation completes go into IIS, by going to Start > Administrative Tools > Internet Information Services (IIS) Manager.
- Expand Web Sites and right click on each site and go to the ASP.NET tab and change it from 1.1.xxxxx to 2.0.xxxxx.
- Confirm everything is functioning.
After uninstalling the Services Packs, you will need to ensure that Windows Updates does not download these Service Packs again.
- Click on Start > All Programs > Windows Update.
- Click on Check for Updates.
- Select Custom software update.
- For each Microsoft .NET Framework Update, expand it, uncheck it, and then select Do Not Show Me This Update Again.
Article ID: 522, Created: April 10, 2012 at 7:56 AM, Modified: August 25, 2014 at 2:39 PM