Configuring ASP.NET (Windows Hosting)

ASP.NET is a flexible set of tools and web development technologies that allows you to employ a number of applications based on ASP.NET framework. Parallels Plesk Panel supports both 1.1.x and 2.0.x versions of the .NET framework and allows configuring most of its settings. Most ASP.NET configuration settings that commonly need to be customized in order for ASP.NET applications to function in a desirable way can be edited through Parallels Plesk Panel.

To configure the server-wide ASP.NET settings:

  1. Go to Home > ASP.NET Settings (in the Applications & Services group). The settings for ASP.NET 1.1.x and ASP.NET 2.0.x are located under the corresponding tabs.
  2. Set up the strings that determine database connection data for ASP.NET applications which use databases. This option is available only for ASP.NET 2.0.x.

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

  3. Set up custom error messages that will be returned by ASP.NET applications in the Custom Error Settings field:
  4. Configure compilation settings in the Compilation and Debugging field:
  5. Configure encoding settings for ASP.NET applications in the Globalization Settings section:
  6. 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/library/en-us/dnnetsec/html/THCMCh09.asp?frame=true#c09618429_010.

  7. Set client session parameters in the Session Settings field:
  8. Сlick OK to apply all changes.

Note: Parallels Plesk Panel supports separate configurations for different versions of the .NET framework (1.1.x and 2.0.x).