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
Printable View
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
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.
please see this link
http://www.vbforums.com/showthread.p...hreadid=198084
Thanks
<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.
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?