Article ID: 977980 - View products that this article applies to.
When you access a Microsoft Commerce Server 2007 SP2 or Commerce Server 2009 Web site, you receive the following error message:
Note For more information about the stack trace, refer to the "More Information" section.
Server Error in '/' Application.
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.
Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace: …
When this problem occurs, you must restart the application pool in Internet Information Services (IIS) Manager to make the Commerce Server site function correctly.
This problem occurs because of an error in the Commerce Server Profile Service.
Hotfix informationA supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.
If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.
Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: -
PrerequisitesYou must have Commerce Server 2007 SP2 or Commerce Server 2009 installed to apply this hotfix.
Restart requirementYou do not have to restart the computer after you apply this hotfix.
Hotfix replacement informationThis hotfix does not replace any other hotfixes.
File informationThe English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Commerce Server 2007 SP2
Collapse this tableExpand this table
Commerce Server 2009
Collapse this tableExpand this table
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about the CommerceProfileModule class, visit the following Microsoft Developer Network (MSDN) Web site:
Stack trace information
[AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.] Microsoft.CommerceServer.Interop.Profiles.ProfileServiceClass.Initialize(String sConfigStore, String sCatalog) +0 Microsoft.CommerceServer.Runtime.Profiles.ProfileContext..ctor(String profileServiceConnectionString, String providerConnectionString, String bdaoConnectionString, DebugContext debugContext) +806 Microsoft.CommerceServer.Runtime.Profiles.CommerceProfileModule.CreateProfileContext() +812 Microsoft.CommerceServer.Runtime.Profiles.CommerceProfileModule.get_ProfileContext() +127 Microsoft.CommerceServer.Runtime.Profiles.CommerceProfileModule.OnBeginRequest(Object sender, EventArgs e) +24 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +176 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +177
Article ID: 977980 - Last Review: October 7, 2011 - Revision: 3.0
Contact us for more help