Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: Error message when you call the StaticCategory.Save method after you delete a product in Commerce Server 2007: "Deleted row information cannot be accessed through the row"


View products that this article applies to.

Symptoms

Consider the following scenario. In Microsoft Commerce Server 2007, you delete a product. Then, you call the StaticCategory.Save method. In this scenario, you receive the following error message:
System.Data.DeletedRowInaccessibleException was unhandled by user code
Message="Deleted row information cannot be accessed through the row."
Source="System.Data"
StackTrace:
at System.Data.DataRow.GetDefaultRecord()
at System.Data.DataRow.get_Item(String columnName)
at Microsoft.CommerceServer.Catalog.StaticCategory.ChildProducts_RowChanging(Object sender, DataRowChangeEventArgs e)
at Microsoft.CommerceServer.Catalog.CatalogItemsDataSet.CatalogItemsDataTable.OnRowChanging(DataRowChangeEventArgs e)
at System.Data.DataTable.OnRowChanging(DataRowChangeEventArgs args, DataRow eRow, DataRowAction eAction)
at System.Data.DataTable.CommitRow(DataRow row)
at System.Data.DataRow.AcceptChanges()
at System.Data.DataTable.AcceptChanges()
at System.Data.DataSet.AcceptChanges()
at Microsoft.CommerceServer.Catalog.Internal.StaticCategory.SaveChildProducts(StaticCategory updatedCategory)
at Microsoft.CommerceServer.Catalog.Internal.StaticCategory.Save(Boolean bypassConcurrencyCheck, StaticCategory updatedCategory)
at Microsoft.CommerceServer.Catalog.Internal.StaticCategory.Save(CatalogExecutionContext executionContext, StaticCategory updatedCategory, Boolean bypassConcurrencyCheck)
at Microsoft.CommerceServer.Catalog.Internal.CatalogServerContextBase.SaveCategory(Category updatedCategory, Boolean bypassConcurrencyCheck)
at Microsoft.CommerceServer.Catalog.StaticCategory.Save(Boolean bypassConcurrencyCheck)
at TestCatalogItem.Page_Load(Object sender, EventArgs e) in c:\Inetpub\wwwroot\StarterSiteSP1\TestCatalogItem.aspx.cs:line 45
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

↑ Back to the top


Resolution

Hotfix information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Commerce Server 2007 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site: Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

You must have Commerce Server 2007 Service Pack 1 installed to apply this hotfix.

Restart information

You do not have to restart the computer after you apply this hotfix. You must restart the Internet Information Services (IIS) service after you apply this hotfix.

Registry information

You do not have to change the registry.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The 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.
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Microsoft.commerceserver.catalog.dll6.0.4036.12963,63228-Apr-200811:22x86

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More information

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684� Description of the standard terminology that is used to describe Microsoft software updates

↑ Back to the top


Keywords: KB952150, kbqfe, kbfix, kbexpertiseinter

↑ Back to the top

Article Info
Article ID : 952150
Revision : 2
Created on : 10/8/2011
Published on : 10/8/2011
Exists online : False
Views : 338