ASP.NET Settings (Windows)

To configure ASP.NET Settings for a site:

  1. Go to Websites & Domains and locate your website's domain name.
  2. Click ASP.NET Settings. If the ASP.NET Settings button is missing, make sure that ASP.NET is switched on in Websites & Domains > Hosting Settings. If you are unable to switch on ASP.NET, contact your provider.


    ASP_Net

  3. Set up the strings that determine database connection data for ASP.NET applications that use databases. This option is available only for ASP.NET 2.0.x.

    When you open the ASP.NET configuration screen for the first time, sample connection parameters with common constructions are displayed. You can delete them and specify your own strings.

  4. Set up custom error messages that will be returned by ASP.NET applications in the Custom Error Settings field:
  5. Configure compilation settings in the Compilation and Debugging field:
  6. Configure encoding settings for ASP.NET applications in the Globalization Settings section:
  7. Set a code access security trust level for ASP.NET applications in the Code Access Security field.

    CAS trust level is a security zone to which applications execution is assigned, defining what server resources the applications will have access to.

    Important: 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/en-us/library/vstudio/tkscy493(v=vs.100).aspx.

  8. Enable the usage of the additional scripts in the Script Library Settings field. Specifying the script library settings is necessary if the validation web controls are used on your web site. This option is available only for ASP.NET 1.1.x.
  9. Set client session parameters in the Session Settings field:
  10. Click OK to apply all changes.