To customize the .NET framework configuration for your domain, access the ASP.NET configuration page by clicking the ASP.NET icon located in the Hosting field set on the domain administration page.
On this page you can specify the following parameters:
-
Connection String manager - meant for determining string variables that contain database connection information. If there are any ASP.NET applications supposed on the domain that intend to use databases, the connection strings should be specified. Note that editing this settings is available only for 2.0 framework version and above. When you open the ASP.NET configuration page for the first time, you see the server default connection string or, in cases when connection strings were not defined on the server administration level, sample connection parameters showing common constructions. You can then delete them and specify your own.
-
Custom Error Settings - designed for defining the information about custom error messages for an ASP.NET application:
To set the custom error messages mode, select one from the corresponding drop-down list:
Unless the custom error messages are fully disabled (the Off mode chosen), the following parameters for custom error documents can be specified:
To add an entry to the custom errors list, enter the necessary data to the text input fields corresponding to the Status Code and the Redirect URL columns and click the icon to the rigt of the fields. If the parameters for an error are not specified, users see a generic error.
To remove an entry from the custom errors list, click the icon to the right of the entry you wish to remove.
-
Compilation and Debugging - intended for configuring most common compilation settings:
-
Page default language - determines the programming language to be used as default in dynamic compilation files.
-
Enable debugging - defines whether to compile retail binaries (deselected checkbox) or debug binaries (selected). Set this checkbox selected if you wish the source code fragment containing an error to be shown in a diagnostic page message. Please note that when running applications in debug mode, a memory and/or performance overhead occurs. It is recommended to use debugging only during an application testing, and to disable it before deploying the application into production scenario.
-
-
Globalization Settings - meant for configuring encoding settings for an ASP.NET application:
-
Request encoding defines the adopted encoding of all incoming requests.
-
Response encoding defines the adopted encoding of all responses.
-
File encoding defines the encoding to be used by default for parsing of .aspx, . asmx, and .asax files.
-
Culture defines the culture to be used by default for processing incoming Web requests.
-
UI Culture defines the culture to be used by default when processing searches for a locale-dependent resource.
-
-
Code Access Security - intended for setting a security zone that ASP.NET applications execution is assigned to, defining what server resources the applications will have access to. To assign a trust level to the applications, choose the appropriate one from the corresponding combo box.
Note that when an assembly is assigned a trust level that is too low, it does not function correctly. For more information on the permissions levels see http://msdn.microsoft.com/library/en-us/dnnetsec/html/THCMCh09.asp?frame=true#c09618429_010
-
Script Library Settings - allows defining the path to files containing auxiliary scripts, specifically scripts implementing objects for validating input data. If the validation Web controls are used on your Web site, you should specify the path to a script library so that a web server could find them. To do this, type the path beginning with the domain root directory preceded by the forward slash in the Path to MS script library input field. Leave the Install checkbox selected if you want the files to be automatically installed in the specified location. If the files already exist there, they will be rewritten.
-
Session Settings - meant for specifying the following clients sessions parameters:
After you are finished with setting the .NET framework configuration, click OK to submit the data you defined.
Changes you make on the domain's ASP.NET configuration page override the server's default. In cases you decide to retrieve the default settings, click the Reset button located at the bottom of the page.