Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

Why is validation always done on the server? When does that occur?

2 Answers  


what is clr .

1 Answers   Patni,


Which property on a Combo Box do you set with a column name, prior to setting the DataSource, to display data in the combo box?

2 Answers   Siebel Systems,


How long the items in ViewState exists?

0 Answers   SwanSoft Technologies,


State management in asp.net ?

8 Answers   Accenture,






What do you mean by authorization?

0 Answers  


About CLS and CTS ?

3 Answers   Microsoft,


Explain what benefit does your code receive if you decorate it with attributes demanding specific security permissions?

0 Answers  


What is cross page posting? How is it done?

0 Answers  


Difference between ASP Session and ASP.NET Session?

2 Answers  


What is ashx file in asp.net?

0 Answers  


what is the auto option in XML ?

1 Answers  






Categories