{"id":4856,"date":"2026-11-22T17:01:14","date_gmt":"2026-11-22T13:31:14","guid":{"rendered":"https:\/\/www.irwebhost.com\/blog\/?p=4856"},"modified":"2026-11-22T17:01:15","modified_gmt":"2026-11-22T13:31:15","slug":"%d8%ae%d8%b7%d8%a7%db%8c-%d8%b3%d8%b1%d9%88%d8%b1-%d8%a7%d9%be%d9%84%db%8c%da%a9%db%8c%d8%b4%d9%86-%d8%af%d8%b1-asp-net","status":"publish","type":"post","link":"https:\/\/www.irwebhost.com\/blog\/%d8%ae%d8%b7%d8%a7%db%8c-%d8%b3%d8%b1%d9%88%d8%b1-%d8%a7%d9%be%d9%84%db%8c%da%a9%db%8c%d8%b4%d9%86-%d8%af%d8%b1-asp-net\/","title":{"rendered":"\u062e\u0637\u0627\u06cc \u0633\u0631\u0648\u0631 \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u062f\u0631 asp.net"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\n<h1 class=\"wp-block-heading\">Server Error in &#8216;\/&#8217; Application.<\/h1>\n\n\n\n<h2 class=\"wp-block-heading\"><em>Runtime Error<\/em><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Description:<\/strong> An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Details:<\/strong> To enable the details of this specific error message to be viewable on remote machines, please create a &lt;customErrors&gt; tag within a &#8220;web.config&#8221; configuration file located in the root directory of the current web application. This &lt;customErrors&gt; tag should then have its &#8220;mode&#8221; attribute set to &#8220;Off&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><code>&lt;!-- Web.Config Configuration File --&gt; &lt;configuration&gt; &lt;system.web&gt; &lt;customErrors mode=\"Off\"\/&gt; &lt;\/system.web&gt; &lt;\/configuration&gt;<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Notes:<\/strong> The current error page you are seeing can be replaced by a custom error page by modifying the &#8220;defaultRedirect&#8221; attribute of the application&#8217;s &lt;customErrors&gt; configuration tag to point to a custom error page URL.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><code>&lt;!-- Web.Config Configuration File --&gt; &lt;configuration&gt; &lt;system.web&gt; &lt;customErrors mode=\"RemoteOnly\" defaultRedirect=\"mycustompage.htm\"\/&gt; &lt;\/system.web&gt; &lt;\/configuration&gt;<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><br><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"781\" height=\"604\" src=\"https:\/\/www.irwebhost.com\/blog\/wp-content\/uploads\/2026\/11\/image.png\" alt=\"\" class=\"wp-image-4857\" srcset=\"https:\/\/www.irwebhost.com\/blog\/wp-content\/uploads\/2026\/11\/image.png 781w, https:\/\/www.irwebhost.com\/blog\/wp-content\/uploads\/2026\/11\/image-767x593.png 767w, https:\/\/www.irwebhost.com\/blog\/wp-content\/uploads\/2026\/11\/image-300x232.png 300w\" sizes=\"(max-width: 781px) 100vw, 781px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u0628\u0631\u0627\u06cc \u0645\u0634\u0627\u0647\u062f\u0647 \u062c\u0632\u0626\u06cc\u0627\u062a \u0627\u06cc\u0646 \u062e\u0637\u0627 \u062f\u0631 Plesk\u060c \u0628\u0627\u06cc\u062f \u062d\u0627\u0644\u062a \u0646\u0645\u0627\u06cc\u0634 \u062e\u0637\u0627\u06cc \u0633\u0641\u0627\u0631\u0634\u06cc <a href=\"https:\/\/asp.net\/\" target=\"_blank\" rel=\"noopener\">ASP.NET<\/a> \u0631\u0627 \u0628\u0647 &#8220;\u062e\u0627\u0645\u0648\u0634&#8221; \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f \u062a\u0627 \u067e\u06cc\u0627\u0645 \u062e\u0637\u0627\u06cc \u062f\u0642\u06cc\u0642 \u0628\u0647 \u0645\u0631\u0648\u0631\u06af\u0631 \u0634\u0645\u0627 \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0634\u0648\u062f.<br><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd27 \u0631\u0648\u0634 \u062a\u0646\u0638\u06cc\u0645<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u062f\u0648 \u0631\u0648\u0634 \u0627\u0635\u0644\u06cc \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u06a9\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0631 \u0627\u0633\u0627\u0633 \u062f\u0633\u062a\u0631\u0633\u06cc \u062e\u0648\u062f \u06cc\u06a9\u06cc \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u0631\u0648\u0634 \u0627\u0648\u0644: \u062a\u0646\u0638\u06cc\u0645 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u067e\u0646\u0644 Plesk (\u062a\u0648\u0635\u06cc\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f)<\/h3>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>\u0648\u0627\u0631\u062f \u067e\u0646\u0644 Plesk \u0634\u0648\u06cc\u062f.<\/li>\n\n\n\n<li>\u0628\u0647 \u0645\u0633\u06cc\u0631 <strong>Tools &amp; Settings<\/strong> > <strong><a href=\"https:\/\/asp.net\/\" target=\"_blank\" rel=\"noopener\">ASP.NET<\/a> Settings<\/strong> \u0628\u0631\u0648\u06cc\u062f .<a href=\"https:\/\/ch.origin.docs.plesk.com\/en-US\/obsidian\/administrator-guide\/web-hosting\/plesk-for-windows-configuring-aspnet.60322\/\" target=\"_blank\" rel=\"noopener\"><\/a><a href=\"https:\/\/docs.plesk.com\/es-ES\/obsidian\/administrator-guide\/hosting-web\/configuraci%C3%B3n-de-aspnet-windows.60322\/#overview#1\" target=\"_blank\" rel=\"noopener\"><\/a><\/li>\n\n\n\n<li>\u062f\u0631 \u0628\u062e\u0634 <strong>Custom error mode<\/strong>\u060c \u06af\u0632\u06cc\u0646\u0647 <strong>Off<\/strong> \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f . \u0627\u06cc\u0646 \u0639\u0645\u0644 \u0628\u0627\u0639\u062b \u0645\u06cc\u200c\u0634\u0648\u062f \u062a\u0627 \u067e\u06cc\u0627\u0645 \u062e\u0637\u0627\u06cc \u062f\u0642\u06cc\u0642 \u0628\u0647 \u0635\u0648\u0631\u062a \u0645\u0633\u062a\u0642\u06cc\u0645 \u0628\u0647 \u0645\u0631\u0648\u0631\u06af\u0631 \u0627\u0631\u0633\u0627\u0644 \u0634\u0648\u062f.<a href=\"https:\/\/ch.origin.docs.plesk.com\/en-US\/obsidian\/administrator-guide\/web-hosting\/plesk-for-windows-configuring-aspnet.60322\/\" target=\"_blank\" rel=\"noopener\"><\/a><a href=\"https:\/\/panel.pouyasazan.org\/knowledgebase\/114\/%d8%aa%d9%86%d8%b8%db%8c%d9%85%d8%a7%d8%aa-ASP.NET-setting--%d8%af%d8%b1-%da%a9%d9%86%d8%aa%d8%b1%d9%84--%d9%be%d9%86%d9%84--%d9%be%d9%84%d8%b3%da%a9-.html\" target=\"_blank\" rel=\"noopener\"><\/a><\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u0631\u0648\u0634 \u062f\u0648\u0645: \u0648\u06cc\u0631\u0627\u06cc\u0634 \u0645\u0633\u062a\u0642\u06cc\u0645 \u0641\u0627\u06cc\u0644 <code>web.config<\/code><\/h3>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>\u0627\u0632 \u0637\u0631\u06cc\u0642 <strong>File Manager<\/strong> \u062f\u0631 Plesk\u060c \u0641\u0627\u06cc\u0644 <code>web.config<\/code> \u0631\u0627 \u062f\u0631 \u067e\u0648\u0634\u0647 \u0631\u06cc\u0634\u0647 \u0648\u0628\u200c\u0633\u0627\u06cc\u062a \u062e\u0648\u062f \u067e\u06cc\u062f\u0627 \u06a9\u0646\u06cc\u062f.<\/li>\n\n\n\n<li>\u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u067e\u06cc\u062f\u0627 \u06a9\u0631\u062f\u0647 \u06cc\u0627 \u0628\u0647 \u0622\u0646 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f (\u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f \u06a9\u0647 \u062f\u0627\u062e\u0644 \u062a\u06af <code>&lt;system.web><\/code> \u0642\u0631\u0627\u0631 \u062f\u0627\u0631\u062f):xml&lt;configuration> &lt;system.web> &lt;customErrors mode=&#8221;Off&#8221; \/> &lt;\/system.web> &lt;\/configuration><a href=\"https:\/\/learn.microsoft.com\/en-us\/answers\/questions\/5778697\/an-application-error-occurred-on-the-server#1\" target=\"_blank\" rel=\"noopener\"><\/a><\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udca1 \u0646\u06a9\u062a\u0647 \u0645\u0647\u0645<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u067e\u0633 \u0627\u0632 \u0631\u0641\u0639 \u0645\u0634\u06a9\u0644 \u0648 \u0645\u0634\u0627\u0647\u062f\u0647 \u062e\u0637\u0627\u06cc \u062f\u0642\u06cc\u0642\u060c \u062d\u062a\u0645\u0627\u064b \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0631\u0627 \u0628\u0647 \u062d\u0627\u0644\u062a \u0642\u0628\u0644\u06cc (\u0645\u0639\u0645\u0648\u0644\u0627\u064b <code>RemoteOnly<\/code> \u06cc\u0627 <code>On<\/code>) \u0628\u0627\u0632\u06af\u0631\u062f\u0627\u0646\u06cc\u062f. \u0646\u0645\u0627\u06cc\u0634 \u062c\u0632\u0626\u06cc\u0627\u062a \u062e\u0637\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a \u0639\u0645\u0648\u0645\u06cc \u062f\u0631 \u0645\u062d\u06cc\u0637 \u062a\u0648\u0644\u06cc\u062f\u060c \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u062d\u0633\u0627\u0633 \u0633\u06cc\u0633\u062a\u0645 \u0631\u0627 \u0627\u0641\u0634\u0627 \u0645\u06cc\u200c\u06a9\u0646\u062f \u0648 \u062e\u0637\u0631\u0627\u062a \u0627\u0645\u0646\u06cc\u062a\u06cc \u062f\u0627\u0631\u062f .<a href=\"https:\/\/learn.microsoft.com\/en-us\/answers\/questions\/5778697\/an-application-error-occurred-on-the-server#1\" target=\"_blank\" rel=\"noopener\"><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Server Error in &#8216;\/&#8217; Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4534,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[151],"tags":[673,674],"class_list":["post-4856","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-151","tag-asp-net","tag-674"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":7}},"_links":{"self":[{"href":"https:\/\/www.irwebhost.com\/blog\/wp-json\/wp\/v2\/posts\/4856","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.irwebhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.irwebhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.irwebhost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.irwebhost.com\/blog\/wp-json\/wp\/v2\/comments?post=4856"}],"version-history":[{"count":1,"href":"https:\/\/www.irwebhost.com\/blog\/wp-json\/wp\/v2\/posts\/4856\/revisions"}],"predecessor-version":[{"id":4858,"href":"https:\/\/www.irwebhost.com\/blog\/wp-json\/wp\/v2\/posts\/4856\/revisions\/4858"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.irwebhost.com\/blog\/wp-json\/wp\/v2\/media\/4534"}],"wp:attachment":[{"href":"https:\/\/www.irwebhost.com\/blog\/wp-json\/wp\/v2\/media?parent=4856"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.irwebhost.com\/blog\/wp-json\/wp\/v2\/categories?post=4856"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.irwebhost.com\/blog\/wp-json\/wp\/v2\/tags?post=4856"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}