|
 |
aspx_beginners thread: How to display the error message
Message #1 by "Coco Lua Suat Choo" <CocoL@a...> on Wed, 30 Jan 2002 10:49:39 +0800
|
|
How do i change the confuguration file show that it will display the
aspx error on a remote computer, i tried to change the machine.config by
changing <customErrors mode=3D"Off"/> which is at my server main root
but
it didn't take effect, why? It cause me to run to my server to view the
error message to debug my program, i just want to view the error message
from my remote PC
Thanks!
Message #2 by "Alvin Ling" <alvin.ling@i...> on Tue, 29 Jan 2002 22:13:57 -0500
|
|
customErrors Attributes:
mode="[On|Off|RemoteOnly]"
On: Always display custom errors
Off: Always display ASP.NET error pages
RemoteOnly: Display custom errors to remote clients and ASP.NET
errors to localhost
defaultRedirect="url" - Url to redirect client to when an error
occurs
<customErrors mode="Off" />
Check for a conflicting setting in a web.config file at the root of your
application.
Alvin
> -----Original Message-----
> From: Coco Lua Suat Choo [mailto:CocoL@a...]
> Sent: Tuesday, January 29, 2002 9:50 PM
> To: aspx_beginners
> Subject: [aspx_beginners] How to display the error message
>
>
> How do i change the confuguration file show that it will
> display the aspx error on a remote computer, i tried to
> change the machine.config by changing <customErrors
> mode="Off"/> which is at my server main root but it didn't
> take effect, why? It cause me to run to my server to view the
> error message to debug my program, i just want to view the
> error message from my remote PC
>
> Thanks!
>
>
> $subst('Email.Unsub').
>
>
|
|
 |