{"id":24359,"date":"2022-02-02T14:32:26","date_gmt":"2022-02-02T14:32:26","guid":{"rendered":"https:\/\/1-grid.com\/knowledge\/configuring-asp-net-for-virtual-directories-in-windows-plesk\/"},"modified":"2023-11-06T20:19:07","modified_gmt":"2023-11-06T20:19:07","slug":"configuring-asp-net-for-virtual-directories-in-windows-plesk","status":"publish","type":"ht_kb","link":"https:\/\/1grid.co.za\/knowledge\/configuring-aspnet-for-virtual-directories-in-windows-plesk\/","title":{"rendered":"Configuring ASP.NET for Virtual Directories in Windows Plesk"},"content":{"rendered":"<div class=\"WordSection1\">\n<p class=\"procedureheading\"><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\"><img loading=\"lazy\" decoding=\"async\" id=\"Picture_x0020_4\" class=\"fr-fic fr-dii aligncenter\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33032205513\/original\/nNIa1Z1_lJC-9NGD0mlbQ94-yK5MmI2vlQ.png?1571749302\" width=\"811\" height=\"274\" \/><\/span><\/p>\n<p class=\"first\" style=\"margin-left: .5in; text-indent: -.25in; mso-list: l0 level1 lfo1;\"><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\"><span style=\"mso-list: Ignore;\">1.<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0\u00a0\u00a0<\/span><\/span><\/span><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">Go to <strong><span style=\"font-family: 'Tahoma',sans-serif;\">Websites &amp; Domains<\/span><\/strong> and find the website\u2019s domain name.<\/span><\/p>\n<p class=\"first\" style=\"margin-left: .5in; text-indent: -.25in; mso-list: l0 level1 lfo1;\"><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\"><span style=\"mso-list: Ignore;\">2.<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0\u00a0\u00a0<\/span><\/span><\/span><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">Click <strong><span style=\"font-family: 'Tahoma',sans-serif;\">Virtual Directories<\/span><\/strong>.<\/span><\/p>\n<p class=\"first\" style=\"margin-left: .5in; text-indent: -.25in; mso-list: l0 level1 lfo1;\"><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\"><span style=\"mso-list: Ignore;\">3.<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0\u00a0\u00a0<\/span><\/span><\/span><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">Browse to the required directory and click a link with its name.<\/span><\/p>\n<p class=\"first\" style=\"margin-left: .5in; text-indent: -.25in; mso-list: l0 level1 lfo1;\"><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\"><span style=\"mso-list: Ignore;\">4.<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0 \u00a0<\/span><\/span><\/span><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">Click <strong><span style=\"font-family: 'Tahoma',sans-serif;\">ASP.NET Settings<\/span><\/strong>.<\/span><\/p>\n<p class=\"first\"><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\"><img loading=\"lazy\" decoding=\"async\" id=\"Picture_x0020_5\" class=\"fr-fic fr-dii aligncenter\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33032205514\/original\/dXxGovKdTM2uXKOldabcylsMaNqt9ILg4A.png?1571749302\" width=\"731\" height=\"219\" \/><\/span><\/p>\n<p class=\"first\" style=\"margin-left: .5in; text-indent: -.25in; mso-list: l0 level1 lfo1;\"><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\"><span style=\"mso-list: Ignore;\">5.<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0\u00a0\u00a0<\/span><\/span><\/span><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">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.<\/span><\/p>\n<p style=\"margin-left: .5in;\"><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">When you open the ASP.NET configuration page for the first time, sample connection parameters with common constructions are displayed. You can delete them and specify your own strings.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; margin-left: 1.0in; text-indent: -.25in; mso-list: l0 level2 lfo1;\"><span style=\"font-size: 10.0pt; font-family: 'Courier New';\"><span style=\"mso-list: Ignore;\">o<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0\u00a0\u00a0\u00a0<\/span><\/span><\/span><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">To add a string, enter the required data into the <strong><span style=\"font-family: 'Tahoma',sans-serif;\">Name<\/span><\/strong> and <strong>\u00a0<span style=\"font-family: 'Tahoma',sans-serif;\">Connection Parameters<\/span><\/strong> input fields and click\u00a0<\/span><a href=\"https:\/\/docs.plesk.com\/en-US\/obsidian\/customer-guide\/websites-and-domains\/extended-website-management\/using-virtual-directories-windows\/configuring-aspnet-for-virtual-directories.65219\/_images\/75074.png\" rel=\"noreferrer\"><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif; color: blue; text-decoration: none;\"><img loading=\"lazy\" decoding=\"async\" id=\"Picture_x0020_3\" class=\"fr-fic fr-dii\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33032205510\/original\/gPWcxuRIumfiwuoxPEZK64K1tsZEhFY7ng.png?1571749301\" alt=\"image-75074.png\" width=\"20\" height=\"22\" \/><\/span><\/a><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">next to them.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; margin-left: 1.0in; text-indent: -.25in; mso-list: l0 level2 lfo1;\"><span style=\"font-size: 10.0pt; font-family: 'Courier New';\"><span style=\"mso-list: Ignore;\">o<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0 \u00a0\u00a0<\/span><\/span><\/span><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">To remove a string, click\u00a0<\/span><a href=\"https:\/\/docs.plesk.com\/en-US\/obsidian\/customer-guide\/websites-and-domains\/extended-website-management\/using-virtual-directories-windows\/configuring-aspnet-for-virtual-directories.65219\/_images\/75076.png\" rel=\"noreferrer\"><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif; color: blue; text-decoration: none;\"><img loading=\"lazy\" decoding=\"async\" id=\"Picture_x0020_2\" class=\"fr-fic fr-dii\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33032205511\/original\/XWuUb0CkJV4TH4NcoM4DsY0UuYTujIbUaA.png?1571749302\" alt=\"image-75076.png\" width=\"25\" height=\"27\" \/><\/span><\/a><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">next to it.<\/span><\/p>\n<p class=\"first\" style=\"margin-left: .5in; text-indent: -.25in; mso-list: l0 level1 lfo1;\"><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\"><span style=\"mso-list: Ignore;\">6.<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0\u00a0\u00a0<\/span><\/span><\/span><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">Set up custom error messages that will be returned by ASP.NET applications:<\/span><\/p>\n<p class=\"first\" style=\"margin-left: 1.0in; text-indent: -.25in; mso-list: l0 level2 lfo1;\"><span style=\"font-size: 10.0pt; font-family: 'Courier New';\"><span style=\"mso-list: Ignore;\">o<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0 \u00a0\u00a0<\/span><\/span><\/span><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">To set the custom error messages mode, select an appropriate option from the <strong><span style=\"font-family: 'Tahoma',sans-serif;\">Custom error mode<\/span><\/strong> menu:<\/span><\/p>\n<p class=\"MsoNormal\" style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; margin-left: 1.5in; text-indent: -.25in; mso-list: l0 level3 lfo1;\"><span style=\"font-size: 10.0pt; font-family: Wingdings;\"><span style=\"mso-list: Ignore;\">\u00a7<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0\u00a0<\/span><\/span><\/span><strong><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">On<\/span><\/strong><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">\u00a0&#8211; custom error messages are enabled.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; margin-left: 1.5in; text-indent: -.25in; mso-list: l0 level3 lfo1;\"><span style=\"font-size: 10.0pt; font-family: Wingdings;\"><span style=\"mso-list: Ignore;\">\u00a7<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0\u00a0<\/span><\/span><\/span><strong><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">Off<\/span><\/strong><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">\u00a0&#8211; custom error messages are disabled and detailed errors are to be shown.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; margin-left: 1.5in; text-indent: -.25in; mso-list: l0 level3 lfo1;\"><span style=\"font-size: 10.0pt; font-family: Wingdings;\"><span style=\"mso-list: Ignore;\">\u00a7<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0\u00a0<\/span><\/span><\/span><strong><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">RemoteOnly<\/span><\/strong><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">\u00a0&#8211; custom error messages are displayed only to remote clients, and ASP.NET errors are shown to the local host.<\/span><\/p>\n<p class=\"first\" style=\"margin-left: 1.0in; text-indent: -.25in; mso-list: l0 level2 lfo1;\"><span style=\"font-size: 10.0pt; font-family: 'Courier New';\"><span style=\"mso-list: Ignore;\">o<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0 \u00a0\u00a0<\/span><\/span><\/span><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">To add a custom error message (which will be applied unless the <strong><span style=\"font-family: 'Tahoma',sans-serif;\">Off<\/span><\/strong> mode was selected), enter the values in the <strong><span style=\"font-family: 'Tahoma',sans-serif;\">Status Code<\/span><\/strong> and <strong><span style=\"font-family: 'Tahoma',sans-serif;\">Redirect URL<\/span><\/strong> fields.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; margin-left: 1.5in; text-indent: -.25in; mso-list: l0 level3 lfo1;\"><span style=\"font-size: 10.0pt; font-family: Wingdings;\"><span style=\"mso-list: Ignore;\">\u00a7<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0\u00a0<\/span><\/span><\/span><strong><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">Status Code<\/span><\/strong><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">\u00a0defines the HTTP status code resulting in redirection to the error page.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; margin-left: 1.5in; text-indent: -.25in; mso-list: l0 level3 lfo1;\"><span style=\"font-size: 10.0pt; font-family: Wingdings;\"><span style=\"mso-list: Ignore;\">\u00a7<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0\u00a0<\/span><\/span><\/span><strong><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">Redirect URL<\/span><\/strong><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">\u00a0defines the web address of the error page presenting information about the error to the client.<\/span><\/p>\n<p style=\"margin-left: 1.0in;\"><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">Due to possible conflicts, you cannot add a custom error message with an error code that already exists, but you can redefine the URL for the existing code.<\/span><\/p>\n<p class=\"first\" style=\"margin-left: 1.0in; text-indent: -.25in; mso-list: l0 level2 lfo1;\"><span style=\"font-size: 10.0pt; font-family: 'Courier New';\"><span style=\"mso-list: Ignore;\">o<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0 \u00a0\u00a0<\/span><\/span><\/span><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">To remove a custom error message from the list, click next to it.<\/span><\/p>\n<p class=\"first\" style=\"margin-left: .5in; text-indent: -.25in; mso-list: l0 level1 lfo1;\"><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\"><span style=\"mso-list: Ignore;\">7.<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0 \u00a0<\/span><\/span><\/span><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">Configure compilation settings in the <strong><span style=\"font-family: 'Tahoma',sans-serif;\">Compilation and Debugging<\/span><\/strong> field:<\/span><\/p>\n<p class=\"first\" style=\"margin-left: 1.0in; text-indent: -.25in; mso-list: l0 level2 lfo1;\"><span style=\"font-size: 10.0pt; font-family: 'Courier New';\"><span style=\"mso-list: Ignore;\">o<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0\u00a0\u00a0\u00a0<\/span><\/span><\/span><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">To determine the programming language to be used as default in dynamic compilation files, choose an entry from the <strong><span style=\"font-family: 'Tahoma',sans-serif;\">Default web page language<\/span><\/strong> menu.<\/span><\/p>\n<p class=\"first\" style=\"margin-left: 1.0in; text-indent: -.25in; mso-list: l0 level2 lfo1;\"><span style=\"font-size: 10.0pt; font-family: 'Courier New';\"><span style=\"mso-list: Ignore;\">o<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0\u00a0\u00a0\u00a0<\/span><\/span><\/span><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">To enable compiling of retail binaries, leave the <strong><span style=\"font-family: 'Tahoma',sans-serif;\">Switch on debugging<\/span><\/strong> checkbox empty.<\/span><\/p>\n<p class=\"first\" style=\"margin-left: 1.0in; text-indent: -.25in; mso-list: l0 level2 lfo1;\"><span style=\"font-size: 10.0pt; font-family: 'Courier New';\"><span style=\"mso-list: Ignore;\">o<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0\u00a0\u00a0\u00a0<\/span><\/span><\/span><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">To enable compiling of debug binaries, select the <strong><span style=\"font-family: 'Tahoma',sans-serif;\">Switch on<\/span><\/strong> <strong>\u00a0<span style=\"font-family: 'Tahoma',sans-serif;\">debugging<\/span><\/strong> checkbox. In this case, the source code fragments containing error will be shown in a diagnostic message.<\/span><\/p>\n<p class=\"last\" style=\"margin-left: 1.0in;\"><strong><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">Note:<\/span><\/strong><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">\u00a0When running applications in debug mode, a memory and performance overhead occurs. We recommended that you use debugging when testing an application, and disable it before deploying the application into production scenario.<\/span><\/p>\n<p class=\"first\" style=\"margin-left: .5in; text-indent: -.25in; mso-list: l0 level1 lfo1;\"><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\"><span style=\"mso-list: Ignore;\">8.<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0 \u00a0<\/span><\/span><\/span><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">Configure encoding settings for ASP.NET applications in the <strong><span style=\"font-family: 'Tahoma',sans-serif;\">Globalization Settings<\/span><\/strong> section:<\/span><\/p>\n<p class=\"MsoNormal\" style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; margin-left: 1.0in; text-indent: -.25in; mso-list: l0 level2 lfo1;\"><span style=\"font-size: 10.0pt; font-family: 'Courier New';\"><span style=\"mso-list: Ignore;\">o<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0\u00a0\u00a0\u00a0<\/span><\/span><\/span><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">To set an adopted encoding of all incoming requests, enter an encoding value into the <strong><span style=\"font-family: 'Tahoma',sans-serif;\">Request encoding<\/span><\/strong> field (default is utf-8).<\/span><\/p>\n<p class=\"MsoNormal\" style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; margin-left: 1.0in; text-indent: -.25in; mso-list: l0 level2 lfo1;\"><span style=\"font-size: 10.0pt; font-family: 'Courier New';\"><span style=\"mso-list: Ignore;\">o<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0\u00a0\u00a0\u00a0<\/span><\/span><\/span><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">To set an adopted encoding of all responses, enter an encoding value into the <strong><span style=\"font-family: 'Tahoma',sans-serif;\">Response encoding<\/span><\/strong> field (default is utf-8).<\/span><\/p>\n<p class=\"MsoNormal\" style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; margin-left: 1.0in; text-indent: -.25in; mso-list: l0 level2 lfo1;\"><span style=\"font-size: 10.0pt; font-family: 'Courier New';\"><span style=\"mso-list: Ignore;\">o<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0\u00a0\u00a0\u00a0<\/span><\/span><\/span><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">To set an encoding which must be used by default for parsing of <span class=\"pre\">.aspx<\/span>, <span class=\"pre\">.asmx<\/span>, and <span class=\"pre\">\u00a0.asax<\/span> files, enter an encoding value into the <strong><span style=\"font-family: 'Tahoma',sans-serif;\">File encoding<\/span><\/strong> field (default is Windows-1252).<\/span><\/p>\n<p class=\"MsoNormal\" style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; margin-left: 1.0in; text-indent: -.25in; mso-list: l0 level2 lfo1;\"><span style=\"font-size: 10.0pt; font-family: 'Courier New';\"><span style=\"mso-list: Ignore;\">o<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0\u00a0\u00a0\u00a0<\/span><\/span><\/span><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">To set a culture which must be used by default for processing incoming web requests, select an appropriate item from the <strong><span style=\"font-family: 'Tahoma',sans-serif;\">Culture<\/span><\/strong> list.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; margin-left: 1.0in; text-indent: -.25in; mso-list: l0 level2 lfo1;\"><span style=\"font-size: 10.0pt; font-family: 'Courier New';\"><span style=\"mso-list: Ignore;\">o<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0 \u00a0\u00a0<\/span><\/span><\/span><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">To set a culture which must be used by default when processing searches for a locale-dependent resource, select an appropriate item from the <strong><span style=\"font-family: 'Tahoma',sans-serif;\">UI Culture<\/span><\/strong> list.<\/span><\/p>\n<p class=\"first\" style=\"margin-left: .5in; text-indent: -.25in; mso-list: l0 level1 lfo1;\"><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\"><span style=\"mso-list: Ignore;\">9.<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0 \u00a0<\/span><\/span><\/span><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">Set a code access security trust level for ASP.NET applications in the <strong><span style=\"font-family: 'Tahoma',sans-serif;\">Code Access Security<\/span><\/strong> field.<\/span><\/p>\n<p style=\"margin-left: .5in;\"><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">CAS trust level is a security zone to which applications execution is assigned, defining what server resources the applications will have access to.<\/span><\/p>\n<p class=\"first\" style=\"margin-left: 68px; text-indent: -0.25in;\"><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\"><span style=\"mso-list: Ignore;\">10.<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0<\/span><\/span><\/span><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">If you are using ASP.NET 1.1.x, then you can enable the usage of the additional scripts in the <strong><span style=\"font-family: 'Tahoma',sans-serif;\">Script Library Settings<\/span><\/strong> field. Specifying the script library settings is necessary if the validation web controls are used on your web site.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; margin-left: 1.0in; text-indent: -.25in; mso-list: l0 level2 lfo1;\"><span style=\"font-size: 10.0pt; font-family: 'Courier New';\"><span style=\"mso-list: Ignore;\">o<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0\u00a0\u00a0\u00a0<\/span><\/span><\/span><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">If you need to use additional scripts (specifically, scripts implementing objects for validating input data), provide the settings for .NET framework script library. To do so, enter the path beginning with the domain root directory preceded by the forward slash into the <strong><span style=\"font-family: 'Tahoma',sans-serif;\">Path to Microsoft script library<\/span><\/strong> field, or click the folder icon next to the <strong><span style=\"font-family: 'Tahoma',sans-serif;\">Path to Microsoft script library<\/span><\/strong> field and browse for the required location.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; margin-left: 1.0in; text-indent: -.25in; mso-list: l0 level2 lfo1;\"><span style=\"font-size: 10.0pt; font-family: 'Courier New';\"><span style=\"mso-list: Ignore;\">o<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0\u00a0\u00a0\u00a0<\/span><\/span><\/span><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">To initiate installation of files containing the scripts to the specified location, select the <strong><span style=\"font-family: 'Tahoma',sans-serif;\">Install<\/span><\/strong> checkbox. If the files already exist there, they will be rewritten.<\/span><\/p>\n<p class=\"first\" style=\"margin-left: .5in; text-indent: -.25in; mso-list: l0 level1 lfo1;\"><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\"><span style=\"mso-list: Ignore;\">11.<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0<\/span><\/span><\/span><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">Set client session parameters in the <strong><span style=\"font-family: 'Tahoma',sans-serif;\">Session Settings<\/span><\/strong> field:<\/span><\/p>\n<p class=\"MsoNormal\" style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; margin-left: 1.0in; text-indent: -.25in; mso-list: l0 level2 lfo1;\"><span style=\"font-size: 10.0pt; font-family: 'Courier New';\"><span style=\"mso-list: Ignore;\">o<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0\u00a0\u00a0\u00a0<\/span><\/span><\/span><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">To set up the default authentication mode for applications, select an appropriate item from the <strong><span style=\"font-family: 'Tahoma',sans-serif;\">Authentication mode<\/span><\/strong> list. <strong><span style=\"font-family: 'Tahoma',sans-serif;\">Windows<\/span><\/strong> authentication mode should be selected if any form of IIS authentication is used.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; margin-left: 1.0in; text-indent: -.25in; mso-list: l0 level2 lfo1;\"><span style=\"font-size: 10.0pt; font-family: 'Courier New';\"><span style=\"mso-list: Ignore;\">o<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0 \u00a0\u00a0<\/span><\/span><\/span><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">To set up the allowed session idle time, enter appropriate number minutes into the <strong><span style=\"font-family: 'Tahoma',sans-serif;\">Session timeout<\/span><\/strong> field.<\/span><\/p>\n<p class=\"first\" style=\"margin-left: .5in; text-indent: -.25in; mso-list: l0 level1 lfo1;\"><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\"><span style=\"mso-list: Ignore;\">12.<span style=\"font: 7.0pt 'Times New Roman';\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span><\/span><\/span><span style=\"font-size: 14.0pt; font-family: 'Tahoma',sans-serif;\">Click <strong><span style=\"font-family: 'Tahoma',sans-serif;\">OK<\/span><\/strong> to apply all changes.<\/span><\/p>\n<p class=\"MsoNormal\">\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>1.\u00a0\u00a0\u00a0Go to Websites &amp; Domains and find the website\u2019s domain name. 2.\u00a0\u00a0\u00a0Click Virtual Directories. 3.\u00a0\u00a0\u00a0Browse to the required directory and click a link with its name. 4.\u00a0 \u00a0Click ASP.NET Settings. 5.\u00a0\u00a0\u00a0Set up the strings that determine database connection data for ASP.NET applications that use databases. This option is available only&#8230;<\/p>\n","protected":false},"author":21,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"ht-kb-category":[1174],"ht-kb-tag":[107,219,220,294,480,747,1097,1098,1106],"class_list":["post-24359","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-hosting","ht_kb_tag-asp-net","ht_kb_tag-configure","ht_kb_tag-configuring","ht_kb_tag-directories","ht_kb_tag-how-to","ht_kb_tag-plesk","ht_kb_tag-virtual","ht_kb_tag-virtual-directories","ht_kb_tag-web-hosting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Configuring Asp.Net For Virtual Directories In Windows Plesk<\/title>\n<meta name=\"description\" content=\"Learn how to configure ASP.NET for Virtual Directories in Windows Plesk with our guide, available in the 1-grid Knowledge Base\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/1grid.co.za\/knowledge\/configuring-aspnet-for-virtual-directories-in-windows-plesk\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Configuring Asp.Net For Virtual Directories In Windows Plesk\" \/>\n<meta property=\"og:description\" content=\"Learn how to configure ASP.NET for Virtual Directories in Windows Plesk with our guide, available in the 1-grid Knowledge Base\" \/>\n<meta property=\"og:url\" content=\"https:\/\/1grid.co.za\/knowledge\/configuring-aspnet-for-virtual-directories-in-windows-plesk\/\" \/>\n<meta property=\"og:site_name\" content=\"1-grid Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/1grid.co.za\/\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-06T20:19:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33032205513\/original\/nNIa1Z1_lJC-9NGD0mlbQ94-yK5MmI2vlQ.png?1571749302\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@1grid_hosting\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/configuring-aspnet-for-virtual-directories-in-windows-plesk\/\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/configuring-aspnet-for-virtual-directories-in-windows-plesk\/\",\"name\":\"Configuring Asp.Net For Virtual Directories In Windows Plesk\",\"isPartOf\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#website\"},\"datePublished\":\"2022-02-02T14:32:26+00:00\",\"dateModified\":\"2023-11-06T20:19:07+00:00\",\"description\":\"Learn how to configure ASP.NET for Virtual Directories in Windows Plesk with our guide, available in the 1-grid Knowledge Base\",\"breadcrumb\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/configuring-aspnet-for-virtual-directories-in-windows-plesk\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/1grid.co.za\/knowledge\/configuring-aspnet-for-virtual-directories-in-windows-plesk\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/configuring-aspnet-for-virtual-directories-in-windows-plesk\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/1grid.co.za\/knowledge\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Configuring ASP.NET for Virtual Directories in Windows Plesk\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#website\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/\",\"name\":\"1-Grid Domain Hosting Knowledge Base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/1grid.co.za\/knowledge\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#organization\",\"name\":\"1-Grid Domain Hosting Knowledge Base\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg\",\"contentUrl\":\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg\",\"width\":100,\"height\":100,\"caption\":\"1-Grid Domain Hosting Knowledge Base\"},\"image\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/1grid.co.za\/\",\"https:\/\/twitter.com\/1grid_hosting\",\"https:\/\/www.instagram.com\/1grid_hosting\/\",\"https:\/\/za.linkedin.com\/company\/1-grid\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Configuring Asp.Net For Virtual Directories In Windows Plesk","description":"Learn how to configure ASP.NET for Virtual Directories in Windows Plesk with our guide, available in the 1-grid Knowledge Base","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/1grid.co.za\/knowledge\/configuring-aspnet-for-virtual-directories-in-windows-plesk\/","og_locale":"en_US","og_type":"article","og_title":"Configuring Asp.Net For Virtual Directories In Windows Plesk","og_description":"Learn how to configure ASP.NET for Virtual Directories in Windows Plesk with our guide, available in the 1-grid Knowledge Base","og_url":"https:\/\/1grid.co.za\/knowledge\/configuring-aspnet-for-virtual-directories-in-windows-plesk\/","og_site_name":"1-grid Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/1grid.co.za\/","article_modified_time":"2023-11-06T20:19:07+00:00","og_image":[{"url":"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33032205513\/original\/nNIa1Z1_lJC-9NGD0mlbQ94-yK5MmI2vlQ.png?1571749302"}],"twitter_card":"summary_large_image","twitter_site":"@1grid_hosting","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/1grid.co.za\/knowledge\/configuring-aspnet-for-virtual-directories-in-windows-plesk\/","url":"https:\/\/1grid.co.za\/knowledge\/configuring-aspnet-for-virtual-directories-in-windows-plesk\/","name":"Configuring Asp.Net For Virtual Directories In Windows Plesk","isPartOf":{"@id":"https:\/\/1grid.co.za\/knowledge\/#website"},"datePublished":"2022-02-02T14:32:26+00:00","dateModified":"2023-11-06T20:19:07+00:00","description":"Learn how to configure ASP.NET for Virtual Directories in Windows Plesk with our guide, available in the 1-grid Knowledge Base","breadcrumb":{"@id":"https:\/\/1grid.co.za\/knowledge\/configuring-aspnet-for-virtual-directories-in-windows-plesk\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/1grid.co.za\/knowledge\/configuring-aspnet-for-virtual-directories-in-windows-plesk\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/1grid.co.za\/knowledge\/configuring-aspnet-for-virtual-directories-in-windows-plesk\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/1grid.co.za\/knowledge\/"},{"@type":"ListItem","position":2,"name":"Configuring ASP.NET for Virtual Directories in Windows Plesk"}]},{"@type":"WebSite","@id":"https:\/\/1grid.co.za\/knowledge\/#website","url":"https:\/\/1grid.co.za\/knowledge\/","name":"1-Grid Domain Hosting Knowledge Base","description":"","publisher":{"@id":"https:\/\/1grid.co.za\/knowledge\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/1grid.co.za\/knowledge\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/1grid.co.za\/knowledge\/#organization","name":"1-Grid Domain Hosting Knowledge Base","url":"https:\/\/1grid.co.za\/knowledge\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/","url":"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg","contentUrl":"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg","width":100,"height":100,"caption":"1-Grid Domain Hosting Knowledge Base"},"image":{"@id":"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/1grid.co.za\/","https:\/\/twitter.com\/1grid_hosting","https:\/\/www.instagram.com\/1grid_hosting\/","https:\/\/za.linkedin.com\/company\/1-grid"]}]}},"_links":{"self":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/24359","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/comments?post=24359"}],"version-history":[{"count":4,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/24359\/revisions"}],"predecessor-version":[{"id":33029,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/24359\/revisions\/33029"}],"wp:attachment":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/media?parent=24359"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb-category?post=24359"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb-tag?post=24359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}