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 (888097)



The information in this article applies to:

  • Microsoft Commerce Server 2002 Feature Pack 1

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 now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it 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 2002 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product 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.

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


Modification Type:MajorLast Reviewed:9/20/2006
Keywords:kbHotfixServer kbQFE kbCommServ2002preSP4fix kbBug kbfix KB888097 kbAudDeveloper kbAudITPRO