Results 1 to 5 of 5

Thread: asp error

  1. #1

    Thread Starter
    Hyperactive Member buddu's Avatar
    Join Date
    Jul 2001
    Location
    India
    Posts
    446

    Lightbulb asp error

    hi
    I am very new in asp.net . I have small doubt when ever i got some error in my .net page the default error page is displaying..
    it is not showing exact line number..?
    How would u do this..?

    thanks
    prasad

  2. #2
    Hyperactive Member SoftwareMaker's Avatar
    Join Date
    Mar 2001
    Location
    Elbonia with Dilbert and Wally
    Posts
    322
    HUH ?

    PLease be more specific in your posts and requests.

    Sometimes, when you have views but no replies...it may NOT be because ppl cant solve your problems BUT they cant understand your question.

    Please be more specific on what you want so that ppl here may be able to help you.
    William T
    Software Architect / Chief Software Developer
    Softwaremaker.Net Pte Ltd
    http://www.Softwaremaker.net

    *** Things are always the darkest before they go pitch black ***

  3. #3

    Thread Starter
    Hyperactive Member buddu's Avatar
    Join Date
    Jul 2001
    Location
    India
    Posts
    446
    prasad

  4. #4
    Hyperactive Member SoftwareMaker's Avatar
    Join Date
    Mar 2001
    Location
    Elbonia with Dilbert and Wally
    Posts
    322
    <Quote>
    Your problem is related to the settings you have in web.config for custom errors - custom errors are used to replace the standard error message with a custom page or with nothing you must have custom errors on or you might be on a remote machine with custom errors on remote only

    you have three choices:

    customerrors=on
    cusotmerrors=off
    cusotmerrors=remote only

    set custom errors to off to see all errors everywhere:

    <configuration>
    <system.web>
    <customErrors mode="Off"/>
    </system.web>
    </configuration>

    Dave
    </Quote>

    I think Dave has been very precise in answering your Q, look for the web.config file. If not, create on on your own. Its basically an XML File which contains all the configuration that the app needs and reads b4 starting up.

    Add the following to the web.config file
    <configuration>
    <system.web>
    <customErrors mode="Off"/>
    </system.web>
    </configuration>

    and you will be able to see the errors your app has generated.
    William T
    Software Architect / Chief Software Developer
    Softwaremaker.Net Pte Ltd
    http://www.Softwaremaker.net

    *** Things are always the darkest before they go pitch black ***

  5. #5
    Junior Member
    Join Date
    May 2003
    Posts
    30

    Bringing this thread back from the dead...

    I'm experiencing the same problem as this guy.

    I changed my web.config file to customerrors mode = "Off", though, and I still get the custom errors, just like if it wasn't there.

    What am I doing wrong?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width