Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Custom Error Mode asp.net

Posted on 2008-10-04
1
Medium Priority
?
942 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
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…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

610 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