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

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

1089


What are the namespaces used in asp.net mvc? : asp.net mvc

1000


What is data caching?

921


Explain the difference between response.redirect vs server.transfer

1090


Define machine.config in .net?

936


Can asp.net work on an nt server?

984


Explain about secure socket layer?

888


How does exception management works in ASP.NET?

1093


What is application variable in asp.net?

873


How many types of server controls do we have?Also explain differance between them taking an example of ASP.NET?

2867


Define a web service in .net?

1015


Is asp.net web forms dead?

1030


Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)

1975


What is the advantage of mvc over asp.net? : Asp.Net MVC

935


Explain the disadvantages of viewstate?

1018