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

What's a bubbled event?

3 Answers   Siebel,


When Garbage Collector runs in an Application? 1)Application is running form more than 30 min. 2)On every 1/4th milisecond 3) Randomly 4) Application is running on low of memory

2 Answers   PCS,


How we generate the BARCODE in ASP.Net using c# ! in library management systen for books .

2 Answers  


How do you do Client-side validation in .Net?

0 Answers  


How to authenticate users using web.config ?

1 Answers   Patni,


How to send data through querystring to another page but it should not be displayed in URL

2 Answers   EMR, Powersoft19,


What is the difference between ASP and ASP.NET?

4 Answers   Sans Pareil IT Services, TCS,


When web.config is called ?

4 Answers   Keane India Ltd,


how to convert varchar into datatype int............. in ASP

1 Answers  


What are user controls and custom controls ?

1 Answers  


What are the intrinsic objects present in ASP.NET

1 Answers   IBM,


Briefly describe different techniques for ASP.NET State Management?

6 Answers   Deloitte, Syntax Softtech,


Categories