Article ID: 888097 - Last Review: November 15, 2007 - Revision: 2.4

FIX: Changes are not saved and you receive an error message when you try to save changes in the Discount Bulk Prioritization dialog box in Commerce Server 2002 FP1 Discount Manager

Hotfix download is availableHotfix Download Available
View and request hotfix downloads
Expand all | Collapse all

SYMPTOMS

In Microsoft Commerce Server 2002 Feature Pack 1 (FP1), when you click Save in the Discount Bulk Prioritization dialog box in Discount Manager, the changes that you made are not saved and you receive the following error message:
An error occurred while connecting to the server. If the problem persists, contact your administrator. Error details: The operation has timed-out.
Additionally, an event message that is similar to the following is logged in the event log:

Event Type: Error
Event Source: CS Biz UI
Event Category: None
Event ID: 101
Description:
Microsoft.CommerceServer.UI.ServiceConnectionException: The Marketing Web Service "http://localhost/MarketingWebService/MarketingWebService.asmx" is currently unavailable. The Web Service might be experiencing technical difficulties, or you may need to adjust your connection settings. ---> System.Net.WebException: The underlying connection was closed: The request was canceled. at System.Net.HttpWebRequest.CheckFinalStatus() at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult) at System.Net.HttpWebRequest.GetRequestStream() at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Microsoft.CommerceServer.Internal.Marketing.MarketingServiceProxy.AuthorizedInvoke(String methodName, Object[] parameters) at Microsoft.CommerceServer.Internal.Marketing.MarketingServiceProxy.GetServiceVersion() at Microsoft.CommerceServer.Internal.Marketing.AgentMarketingSystemImpl.GetServiceVersion() at Microsoft.CommerceServer.Marketing.MarketingServices.DoGetServiceVersion() at Microsoft.CommerceServer.Marketing.MarketingSystem.GetServiceVersion() at Microsoft.CommerceServer.Marketing.MarketingSystem..ctor(MarketingServiceAgent agent) at Microsoft.CommerceServer.UI.ConnectionCheck.ConnectToMarketingService(String marketingServiceUrl, String[] authMethods, IPromptForCredentials credentialPrompter, IWebProxy proxy) --- End of inner exception stack trace --- at Microsoft.CommerceServer.UI.ConnectionCheck.ConnectToMarketingService(String marketingServiceUrl, String[] authMethods, IPromptForCredentials credentialPrompter, IWebProxy proxy) at Microsoft.CommerceServer.UI.MarketingManager.LaunchPad.ReadDefaultUrlsFromPrefFile() at Microsoft.CommerceServer.UI.MarketingManager.LaunchPad.CheckForConnectionUrl()

For more information, see Help and Support Center at http://support.microsoft.com.

CAUSE

This problem occurs because there are a high volume of discounts and a time out occurs when the discounts are saved to the database.

RESOLUTION

A 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. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

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, contact 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:
http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

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 tool in Control Panel.
   Date         Time   Version     Size       File name
   --------------------------------------------------------------------
   22-Oct-2004  18:30  4.6.5230.0  4,321,280  Discountmanager.exe  
   21-Oct-2004  23:19                 24,283  Discountmanagerconfig.xml

STATUS

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

MORE INFORMATION

This hotfix introduces a new WebServiceTimeoutSeconds element in the DiscountManagerConfig.xml configuration file. After you apply the hotfix, you can add this element to the DiscountManagerConfig.xml file and then set the timeout value in seconds. When you set the WebServiceTimeoutSeconds element value, this sets the value of the CatalogContext.ServiceAgent.SoapProxy.Timeout property.

For example, the following code sets the WebServiceTimeoutSeconds element value to 2 minutes or 120 seconds:
<WebServiceTimeoutSeconds>120</WebServiceTimeoutSeconds>
Note Typically, the DiscountManagerConfig.xml file is located in the following folder:
Drive:\Program Files\Microsoft Commerce Server 2002\Discount Manager
For more information about Commerce Server 2000 FP1, visit the following Microsoft Web site:
http://technet.microsoft.com/en-us/commerceserver/bb643849.aspx (http://technet.microsoft.com/en-us/commerceserver/bb643849.aspx)
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
824684  (http://support.microsoft.com/kb/824684/ ) Description of the standard terminology that is used to describe Microsoft software updates

APPLIES TO
  • Microsoft Commerce Server 2002 Service Pack 1
Keywords: 
kbautohotfix kbhotfixserver kbqfe kbcommserv2002presp4fix kbbug kbfix KB888097
 

Article Translations

 

Related Support Centers