Solved

Custom Error Mode asp.net

Posted on 2008-10-04
1
921 Views
Last Modified: 2013-11-07
Hello:

My application runs great on my laptop but when moving to the development server; I get the following message:

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".

I've found other posts on EE related to this but nothing that would help me specifically.
Here is a snapshot from my web config file where I've attempted to turn off custom errors.
At this point; I just need to see the error so I figure out what to do next.   I did change my sql server db connections so they don't use windows authentication thinking that might be the issue.

Other developers use this server so I would be surprised if it was set this way at the server level.

Thanks for any help


            <authentication mode="Windows"/>
    <customErrors mode="Off" >
   
            </customErrors>
          </system.web>
</configuration>
0
Comment
Question by:sny23vpb
1 Comment
 
LVL 19

Accepted Solution

by:
elimesika earned 200 total points
ID: 22642191
HI

You config file setting is right, the only reason that I can guess why it is not working is that you have a config file with the old settings. to check that see the content of the config file on your web project bin/debug after compilation and compare it with the one you have changed. If it is not identical, remove the web.config in bin/debug and recompile.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
https://github.com/willowsystems/jSignature 11 52
mail.To.Add 5 26
asp enable view state 1 24
RLDC Reporting in Visual studio 11 16
Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question