The CatalogWebService Web service and the MarketingWebService Web service run in debug mode in Commerce Server 2002 FP1 (910310)



The information in this article applies to:

  • Microsoft Commerce Server 2002 Feature Pack 1

SYMPTOMS

In Microsoft Commerce Server 2002 Feature Pack 1 (FP1), the two new Web services that were added to manage the Catalog component and the Marketing component run in debug mode. The two Web services are not referenced directly but are used by the new client applications in Commerce Server 2002 FP1.

Note By default, the two Web services run in debug mode. Debug mode is not ideal for production environments. Before you move a retail Web site to a production environment, modify the Web.config file to update the debug compilation mode. If you run the site in debug mode, performance may be decreased.

CAUSE

This problem occurs because Commerce Server 2002 FP1 and Commerce Server 2002 Starter Site FP1 pub files contain resources for the CatalogWebService Web service and the MarketingWebService Web service. The Web.config file for these resources contains a compilation tag that sets the Debug property to true.

RESOLUTION

To resolve this problem, set the Debug property in the Web.config file for the CatalogWebService Web service and for the MarketingWebService Web service to false. To do this, use the following code.
<compilation defaultLanguage="C#" debug="false">

STATUS

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

MORE INFORMATION

For more information about the compilation tag, visit the following Microsoft Developer Network (MSDN) Web site: For more information about how to disable debugging for ASP.NET Web applications, click the following article number to view the article in the Microsoft Knowledge Base:

815157 How to disable debugging for ASP.NET applications


Modification Type:MajorLast Reviewed:3/3/2006
Keywords:kbProgramming kbBug kbtshoot kbprb KB910310 kbAudDeveloper kbAudITPRO