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

What does asp in asp.net stand for?

978


Define session in asp.net.

985


Which methods validate all the controls on a page?

978


What is data reader in asp.net?

1159


What is a viewstate?

989


Which validator control you use if you need to make sure the values in two different controls matched?

1075


Define a static class?

988


Which browsers support the xmlhttprequest object?

1029


Explain significance of routing? : asp.net mvc

1141


What is the asp.net control toolkit?

1074


Explain what is clr?

1037


What are the components of ado.net?

960


What is difference between URL and URI?

1140


What is the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc

1024


How can you handle exceptions in asp.net?

1050