|
-
Sep 11th, 2002, 06:46 AM
#1
Thread Starter
Hyperactive Member
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
-
Sep 12th, 2002, 08:03 PM
#2
Hyperactive Member
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 ***
-
Sep 13th, 2002, 12:48 AM
#3
Thread Starter
Hyperactive Member
-
Sep 13th, 2002, 01:13 AM
#4
Hyperactive Member
<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 ***
-
May 17th, 2003, 05:36 PM
#5
Junior Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|