To configure ASP.NET settings for a virtual directory within a website, perform the following steps:
1 - 1 - Logged in to Plesk, https://your domain name:8443.
2 - Go to Websites & Domains, and find the website's domain name.
3 - Click Virtual Directories.
4 - Browse to the required directory and click a link with its name.
5 - Click ASP.NET Settings.
6 - Set up the strings that determine database connection data for ASP.NET applications that use databases.
7 - Set up custom error messages.
8 - Configure compilation settings.
9 - Configure encoding settings.
10 - Set a code access security trust level.
11 - Set client session parameters.
12 - Click OK to apply all changes.