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 of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

Hello Friends,

Its not actually an error. Its a message telling you that you cannot view the error.

You have to do the following to resolve this problem.

First setting in the web.config will display you the actual errror. Also check if you have the correct .NET version installed on the server and your \test folder is configured to the right .net version.

If still getting the same error the do the following:

In the IIS, right click on your website and in the properties dialog, click on the ASP.NET tab and set the correct version. For example see the following snap.

If you find this article resolved your problem, please add your comments. You can add your suggesions too.
Regards,
Vijay Modi

About Vijay Modi

Having 12+ years of experience in web application development. Expertise in various domains like E-Commerce, E-Learning, Insurance. I have expertise in web application development, window application development, Performance improvement, bug fixing etc. I have worked on various Microsoft technologies including ASP.Net, MVC, WebApi, WCF, Entity Framework, WPF, Window Application Development, AWS, Azure, AngularJS 2.0 / 1.5.2, .NetCore framework, jQuery. I am believing in quality work and achieving deadlines. Also like to work on new technologies and quick learner.
This entry was posted in Uncategorized and tagged . Bookmark the permalink.

20 Responses to 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 of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

  1. Mike says:

    i have been trying to set local intranet permissions all morning!!!! using caspol.exe. using the following parameters:

    caspol -machine -addgroup 1 -url file://OfficeServer/*
    FullTrust -name OfficeServer_Zone

    turns out i was doing it for the wrong asp.net version!!! i thought my parameters were wrong but it turns out i was just applying them to the wrong version. 😛 michael.rodda@carousellogisitics.co.uk

  2. RajeshSoni says:

    Thanks for this solution.

  3. finux says:

    Dear Mr.Vijay;

    i hope u can solve my problem. i have created a feedback form like urs here and it is running in the localhost but not in the server. the only error shows is the runtime error page. and i have already changed my asp.net version. i hope u can give me the solution by email to me back. thank you very much mr.vijay.

  4. Vijay Modi says:

    Hi finux,

    Can you please send me which “runtime error page” is comming there. If will you send me the description of error, it will more helpful for me to resolve your problem.

    Regards,
    Vijay

  5. Emma Yang says:

    Hey, Vijay
    I’ve recently run into the same problem. The customErrors mode is “RemoteOnly” and also we have set the right .NET version.

    Our settings:
    SharePoint 2007
    I created a virtual directory on sharepoint 2007 server, when right click the virtual directory, it’s been created an application with apploication name already, but no web.config file in that folder.

    Now when I browse it with servername/virtual directory name, it gives Run time error. I’ve done the changed to the customError to RemoteOnly, but I still don’t see any detailed error on the local server machine, neither does remote machine.

    Can you help me with it? Or can I check event log or something like that to find out the detailed error message??

    Thanks

  6. Ali Aburas says:

    Hi;
    I hope that you can solve my problem, which I have for alomst a month. and I’ve fed up with it.
    I have upgraded my server to .Net Frame Work 2.0 and all the application work fine except I have to run aspnet_regiis everyday other wise all the application will give an error NT AUOTHORITY\NETWORK SERVICE doesnt have permessions etc.
    I’ve tried all the things for giving permissions for web directory and other stuff. the things which I sould minition is I still use SQL SERVER 2000

  7. sanjheeviraaman says:

    hi,
    I hope you to sole my problem.runtimeerror on title.Application error occured on the server.
    This is the error tell only few min. i don knw y its come continously.if i change to rectify means what i do. but i used correct version in IIS. tell me the possible correct way to solve this.
    can u help me?
    thanks

  8. Shoma says:

    Make the customErrors mode=”off” to get the exact problem which caused this error as shown in the below code.

    <!—->

    The main cause for this error would be a wrong path in the url…
    Note that the path you enter is proper as it is case sensitive.

  9. Odwa says:

    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.

    Details: To enable the details of this specific error message to be viewable on the local server machine, please create a tag within a “web.config” configuration file located in the root directory of the current web application. This tag should then have its “mode” attribute set to “RemoteOnly”. To enable the details to be viewable on remote machines, please set “mode” to “Off”.

    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the “defaultRedirect” attribute of the application’s configuration tag to point to a custom error page URL.

  10. aLeXmC says:

    thanks a lot bro
    i search the solution, since the friday and today monday i saw this explication and, work for me, thanks a lot 🙂

  11. Ramu says:

    Hi , This sreeram
    i did one web application
    it’s working locallt fine
    but it’s showing error inservar

    this is run time error
    please help me..
    thanks..

    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the “defaultRedirect” attribute of the application’s configuration tag to point to a custom error page URL.

  12. shishir says:

    hello vijay
    i m accessing simple stored procedure through my .aspx page and getting

    “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 of this specific error message to be viewable on remote machines, please create a tag within a “web.config” configuration file located in the root directory of the current web application. This tag should then have its “mode” attribute set to “Off”. ”

    error can u tell me wht is the problem

  13. Gaurav Raj says:

    sir

    first my website suspenseful run on the server but when client change his password then given yell page
    and show

    error

    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.

    pls giv me suggestion for it i thank for this

  14. gurpreetkamboj says:

    Server Error in ‘/’ 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 of this specific error message to be viewable on remote machines, please create a tag within a “web.config” configuration file located in the root directory of the current web application. This tag should then have its “mode” attribute set to “Off”.

    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the “defaultRedirect” attribute of the application’s configuration tag to point to a custom error page URL.

  15. gurpreetkamboj says:

    Server Error in ‘/’ 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 of this specific error message to be viewable on remote machines, please create a tag within a “web.config” configuration file located in the root directory of the current web application. This tag should then have its “mode” attribute set to “Off”.

    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the “defaultRedirect” attribute of the application’s configuration tag to point to a custom error page URL.

    Localy site work properly, but this error is thoughn, when it is on web server.
    Plz help me.

  16. click on this link
    Plz tell me how can i solve to this problem.

  17. suchitra says:

    Hi,
    I have created a web set up and installed it.. When i try to browse the website by right clicking i get this error.. what should i do?

  18. Pingback: How To Fix Hotmail Server Server Error In / Application Runtime Error Errors - Windows Vista, Windows 7 & 8

Leave a reply to shishir Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.