Microsoft KB Archive/910310

= The CatalogWebService Web service and the MarketingWebService Web service run in debug mode in Commerce Server 2002 FP1 =

Article ID: 910310

Article Last Modified on 5/11/2007

-

APPLIES TO


 * Microsoft Commerce Server 2002 Service 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. 



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
For more information about the compilation tag, visit the following Microsoft Developer Network (MSDN) Web site:

http://msdn2.microsoft.com/en-us/library/s10awwz0(vs.71).aspx

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

Keywords: kbprogramming kbbug kbtshoot kbprb KB910310

-

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

© Microsoft Corporation. All rights reserved.