ERROR: Attempted to Read or Write Protected Memory When Visiting Your DNN Website

AppZone > Apps > DotNetNuke > Troubleshooting
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.
  1. Use Remote Desktop to log into the server.
  2. Go to Start > Control Panel > Add or Remove Programs.
  3. Click on the Remove for the Microsoft .net framework 3.5 SP1.  Wait till completion.
  4. Click on the Remove for the Microsoft .net framework 3.0 SP2.  Wait till completion.
  5. Click on the Remove for the Microsoft .net framework 3.5 SP1.  Wait till completion.
  6. Download the ASP.NET 3.5 from Microsoft and install it.
  7. After the installation completes go into IIS, by going to Start > Administrative Tools > Internet Information Services (IIS) Manager.
  8. 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.
  9. Confirm everything is functioning.
After uninstalling the Services Packs, you will need to ensure that Windows Updates does not download these Service Packs again.
  1. Click on Start > All Programs > Windows Update.
  2. Click on Check for Updates.
  3. Select Custom software update.
  4. For each Microsoft .NET Framework Update, expand it, uncheck it, and then select Do Not Show Me This Update Again.

Add Feedback