Can we mention error in web.config file?
Answers were Sorted based on User's Feedback
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 |
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 |
What is difference between Lambda Expression and LINQ in ASP.NET?
Is it possible to migrate visual interdev design-time controls to asp.net?
How ASP.NET page works?
How would you turn off cookies on one page of your website?
How to implement Authentication and Authorization?
What do you mean by query string?
What's a bubbled event?
Can we have multiple worker process in an ASP.NET application? If so then how it has been handled by application? And who handles it?
0 Answers InfoAxon Technologies,
Differentiate an ADO.NET Dataset and an ADO Recordset with its functionality?
How to count the number of objects present in a web page? How to count the number of radio buttons in a web page?
What are the different types of sessions in asp.net?
What is the file extension of web service?