Microsoft KB Archive/327715

= Pipeline logging not disabled in production environment =

Article ID: 327715

Article Last Modified on 9/14/2005

-

APPLIES TO


 * Microsoft Commerce Server 2000 Standard Edition

-



This article was previously published under Q327715



SYMPTOMS
Pipeline logging is not disabled although the Application object variable (MSCSEnv) is set to PRODUCTION in Global.asa.



CAUSE
The InitSitePipelines function in the Global_siteconf_lib.asp file contains a programming error. The InitSitePipelines function redimensions MSCSEnv locally, therefore overriding the application level variable, and the test for pipeline logging for development is unsuccessful if the application level variable is set to TRUE.



RESOLUTION
To resolve this problem, use one of the following methods:   In the InitSitePipelines function in Global_siteconf_lib.asp, comment out the following line: Dim MSCSEnv   In the InitSitePipelines function in Global_siteconf_lib.asp, remove the following line: Dim MSCSEnv   In the InitSitePipelines function in Global_siteconf_lib.asp, modify the MSCSEnv test to examine the application level variable (instead of the local level variable): If Application(&quot;MSCSEnv&quot;) = DEVELOPMENT Then dictPipeline.LoggingEnabled = True dictPipeline.LogsCycled = True ElseIf Application(&quot;MSCSEnv&quot;) = PRODUCTION Then dictPipeline.LoggingEnabled = False dictPipeline.LogsCycled = False End If                   



STATUS
Microsoft has confirmed that this is a problem in Commerce Server 2000.



MORE INFORMATION
To resolve this problem, you must modify any site that is based on the Commerce 2000 sample retail site.

Keywords: kbbug kbfix KB327715

-

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

© Microsoft Corporation. All rights reserved.