Microsoft KB Archive/888097

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

Article ID: 888097

Article Last Modified on 11/15/2007

-

APPLIES TO


 * Microsoft Commerce Server 2002 Service 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 &quot;http://localhost/MarketingWebService/MarketingWebService.asmx&quot; 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. 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 service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or 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. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

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 &quot;Applies to&quot; 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: 120 Note Typically, the DiscountManagerConfig.xml file is located in the following folder:



For more information about Commerce Server 2000 FP1, visit the following Microsoft Web site:

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 Description of the standard terminology that is used to describe Microsoft software updates

Additional query words: CS2002

Keywords: kbhotfixserver kbqfe kbcommserv2002presp4fix kbbug kbfix KB888097

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.