Article relates to
RadControls Q1 2006
May 16, 2008
Last modified by
ERROR MESSAGE Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
This error is not directly related to Telerik controls but occurs when trying to drop a Telerik control from the VS toolbox onto the designer workspace and then the file is checked out using SourceGear or SourceSafe.
Telerik was first contacted with this problem during VS2005's beta stage but the exception is related to machines with any VS2005 installation which works in conjunction with either SourceSafe or SourceGear Vault. Our research shows that it is caused by an AccessViolationException thrown by VS.NET. Such exceptions occur when a .NET program uses P/Invoke to call native methods (COM objects or DLL-exported methods). No Telerik control does that.
So far we have found the following reasons for the exception:
This error message is still being investigated and other solutions may exist. In case you are able to fix the problem in some other way than the described below, please let us know, so that we can update the article.
This problem cannot be observed with RadControls for ASP.NET AJAX