Advertisement

05.12.2008 at 05:56AM PDT, ID: 23394329
[x]
Attachment Details

<customErrors mode="Off"/> not working

Asked by Prysson in C# Programming Language, .NET, Programming for ASP.NET

Tags: c#

I have an application that for some reason after session timeout is giving me a runtime erro. I am trying to detemrine specifically where the error is and so I set the web.config to <customErrors mode="Off"/>

however for some reason I am still not able to get the error to display remotely.

I dont get the error in my dev environement only when I push it to the server. Trying to duplicate the error on the server does not result in an error...instead the web browser locks up.

Looking for some help getting the <customErrors mode="Off"/> to work so I can fiund out what the dang error is.


<?xml version="1.0"?><configuration>
  <configProtectedData>
    <providers>
      <add name="myProtectedConfigProvider" type="System.Configuration.RsaProtectedConfigurationProvider, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" useMachineContainer="true" keyContainerName="myEncryptionKeys"/>
    </providers>
  </configProtectedData>


  <appSettings/>

  <connectionStrings configSource="connection.config"/>

  <system.web>
    <!--
            Set compilation debug="true" to insert debugging
            symbols into the compiled page. Because this
            affects performance, set this value to true only
            during development.
        -->
    <compilation debug="true">
                  <assemblies>
                        <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
                        <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/></assemblies></compilation>
    <!--
            The <authentication> section enables configuration
            of the security authentication mode used by
            ASP.NET to identify an incoming user.
        -->
    <authentication mode="Windows"/>
    <!--
            The <customErrors> section enables configuration
            of what to do if/when an unhandled error occurs
            during the execution of a request. Specifically,
            it enables developers to configure html error pages
            to be displayed in place of a error stack trace.

    <customErrors mode="Off"/>

        -->
  </system.web>
</configuration>Start Free Trial
[+][-]05.12.2008 at 06:07AM PDT, ID: 21546573

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.12.2008 at 06:56AM PDT, ID: 21546994

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.12.2008 at 07:05AM PDT, ID: 21547057

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.12.2008 at 08:31AM PDT, ID: 21547855

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.13.2008 at 12:38PM PDT, ID: 21558562

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: C# Programming Language, .NET, Programming for ASP.NET
Tags: c#
Sign Up Now!
Solution Provided By: Prysson
Participating Experts: 3
Solution Grade: B
 
 
[+][-]05.13.2008 at 12:49PM PDT, ID: 21558646

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.14.2008 at 05:13AM PDT, ID: 21563214

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.17.2008 at 07:49AM PDT, ID: 21589538

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]05.22.2008 at 09:11AM PDT, ID: 21625134

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628