Share via


Web.config File

The Web.config file is an XML file that describes and controls the configuration of the application. This file is automatically generated when the site is unpacked. You should use caution when making changes to this file. Some changes can cause certain site features to fail. See Configuration Services for general information about modifying this file.

The web.config file is divided into the following sections:

  • ConfigSections Configuration Section.****This section is used to connect the configuration handler code to the other sections of the file. It should not be modified unless you have added a new section and handler. See the ASP.NET documentation at https://go.microsoft.com/fwlink/?LinkId=6680 for information about configuring this section.
  • CommerceServer Configuration Section. This section is used to configure the Commerce Server .NET Application Framework.
  • CommerceServerSite Configuration Section.This section contains a variety of run time parameters that can be changed by developers and site administrators. You also use this section to add new run time properties to enhance the configurability of the site.
  • System.Web Configuration Section. This section configures authentication, file level authorization, error display, and is used to set the site to Debug mode.

Copyright © 2005 Microsoft Corporation.
All rights reserved.