Solved

Custom Error Mode asp.net

Posted on 2008-10-04
1
914 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
.NET Error 7 42
grab and show facebook pages event calendars 6 46
Problem to go to Web page 2 52
Adjust the position 3 13
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now