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?

Answers were Sorted based on User's Feedback



Can we mention error in web.config file?..

Answer / 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

Can we mention error in web.config file?..

Answer / pooja soni

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="Connstring" value="Data
Source=.\SQLEXPRESS;Initial Catalog=POS;Integrated
Security=True" />
</appSettings>
</configuration>

Is This Answer Correct ?    4 Yes 24 No

Post New Answer

More ASP.NET Interview Questions

How many web.config a application can have ?

6 Answers   Keane India Ltd, Manhattan, Vertex,


When web.config is called ?

4 Answers   Keane India Ltd,


What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?

0 Answers  


Tell About Web.config ?

2 Answers   Keane India Ltd,


What can you do with asp.net?

0 Answers  


Difference between Response.Expires and Expires.Absolute ?

1 Answers   Accenture, BirlaSoft,


Is it possible to apply themes to an asp.net application? If yes, then how?

0 Answers  


Explain the namespace classes used in asp.net mvc? : asp.net mvc

0 Answers  


I have created a configuration setting in my web.config and have kept it at the root level. How do I prevent it from being overridden by another web.config that appears lower in the hierarchy?

0 Answers  


Caching techniques in .NET ?

1 Answers   Microsoft,


Explain About duration in caching technique

0 Answers   BirlaSoft,


What is difference between web api and web services?

0 Answers  


Categories