Solved

Custom Error Mode asp.net

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
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…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

911 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

16 Experts available now in Live!

Get 1:1 Help Now