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: 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


View products that this article applies to.

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.

↑ Back to the top


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.

↑ Back to the top


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: 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

↑ 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

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: For additional information, 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: KB888097, kbfix, kbbug, kbcommserv2002presp4fix, kbqfe, kbhotfixserver, kbautohotfix

↑ Back to the top

Article Info
Article ID : 888097
Revision : 6
Created on : 11/15/2007
Published on : 11/15/2007
Exists online : False
Views : 307