Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can we mention error in web.config file?

Answer Posted / minhajul islam

Yes, We can
using this tag in web.config

<customErrors mode="On"
defaultRedirect="~/errors/GeneralError.aspx">
<error statusCode="404"
redirect="~/errors/PageNotFound.aspx" />
</customErrors>

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which object encapsulates state or data of a user?

1054


What is difference between mvc and asp.net? : Asp.Net MVC

1175


What events will occur when a page is loaded?

1023


What is the difference between typeof() vs gettype()?

1089


How can you enable impersonation in the web.config file?

1134


Explain security types in asp.net?

1089


What is the purpose of asp.net?

977


What is asp.net localization?

965


Why do we need Sessions?

1026


What is viewstate in asp net with example?

975


What is master page in dtp?

972


Write the different features of a Thread and a Process?

1126


Explain the difference between server.transfer and response.redirect? Why would I choose one over the other?

1000


What is content place holder?

950


What’s the use of “GLOBAL.ASAX” file?

1072