Microsoft Knowledge Base Email Alertz

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

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 910310 - Last Review: May 11, 2007 - Revision: 1.2

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

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:
http://msdn2.microsoft.com/en-us/library/s10awwz0(vs.71).aspx (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  (http://kbalertz.com/Feedback.aspx?kbNumber=815157/ ) How to disable debugging for ASP.NET applications

APPLIES TO
  • Microsoft Commerce Server 2002 Service Pack 1
Keywords: 
kbprogramming kbbug kbtshoot kbprb KB910310
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate