?
Solved

Custom Error Mode asp.net

Posted on 2008-10-04
1
Medium Priority
?
948 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 800 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…
Suggested Courses
Course of the Month9 days, 18 hours left to enroll

569 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