Loading...
「ツール」は右上に移動しました。
利用したサーバー: wtserver1
33いいね 5,785 views回再生

How to Configure Custom Error Pages in Asp.net ??

How to Configure Custom Error Pages in Asp.net ??

hi friends...

Today I am going to show you, how to configure Custom Error pages In Asp.net..

when I ran my website and tried to navigate to login page it shows

Server Error in 'DegitalAsset-published' Application.

The resource cannot be found.

but I don't want to display these error pages to my end users...

instead of showing these default error pages..I want to show my own customized error pages...

we can figure our customized error pages in asp.net .

asp.net provides three modes of customization of error pages..

1.On Mode :the mode shows our customized error pages to end users both local and remote users

we can see How to set On mode...


Note:here ErrorPage.html is our Created Custom Error page ,I am going to run please observe...

see guys instead of displaying default asp.net error page ,we have displayed our page...

2.Off Mode

--Off Mode means if we want to display asp.net default error page instead of custom error page we can
set this mode in error attribute


have seen guys ..it again displays default error page...

next

3.Remote Only

it displays custom error pages to remote users only not to local users...By giving this Mode to error attribute..

so it also displays default error page because already we discussed it displays custom error page only to remote users...

that s it...guys.

In next session..we can see how to create our Custom Error pages for different different default Error pages,,,

thank u....

Please watch share subscribe my channel

   / prasadamudalapalli  

コメント