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. Plesk supports both 1.1.x and 2.0.x versions of the .NET framework.
To change the version of .NET framework:
Alternatively, on your home page you can click the domain name you need, then click
Setup and select the .NET framework version in the Microsoft ASP.NET support drop-down menu.
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 Plesk.
To configure ASP.NET on your domain:
Note. 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.
On - custom error messages are enabled.
Off - custom error messages are disabled and detailed errors are to be shown.
RemoteOnly - custom error messages are displayed only to remote clients, and ASP.NET errors are shown to the local host.
Status Code defines the HTTP status code resulting in redirection to the error page.
Redirect URL defines the web address of the error page presenting information about the error to the client.
Note. When running applications in debug mode, a memory and/or performance overhead occurs. It is recommended to use debugging when testing an application and to disable it before deploying the application into production scenario.
.aspx, .asmx, and .asax files, enter an encoding value into the File encoding field (default is Windows-1252).CAS trust level is a security zone to which applications execution is assigned, defining what server resources the applications will have access to.
Note. 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.
Enter the path beginning with the domain root directory preceded by the forward slash into the Path to Microsoft script library field,
or
Click the folder icon next to the Path to Microsoft script library field and browse for the required location.
Note. Specifying the script library settings is necessary if the validation web controls are used on your web site.
Note. Windows authentication mode should be selected if any form of IIS authentication is used.
Note: Plesk supports separate configurations for different versions of the .NET framework (1.1.x and 2.0.x).
To restore the default ASP.NET configuration:
In order to provide running ASP.NET applications which use different .NET framework version within one domain, Plesk allows setting up the framework version per web directory where the applications are deployed.
To choose the version of .NET framework for a web directory: