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 |
Define repository pattern in asp.net mvc? : asp.net mvc
what is wwf in asp.net?
Define managed code and managed data in .net?
What does passport and windows authentication mean in ASP.NET?
How is a session stored and maintained in asp.net?
In your web.config file which attribute of <Globalization> element identifies the default culture that will be used for web request?
what is the advantage of data reader?
Can a master page inherit another master page?
13 Answers Emphasis, IBM, NIIT, Sebiz Square,
How do you implement sql caching in asp.net?
What is the main use of Response.Output.Write()?
What are the new login controls in asp.net 2.0?
How To Call Outside Javascript File? Example : Our Project File Folder Name "Sample" Another Folder Name "Check".Check Folder Is Out Side Of Our Project ?Check Folder Have Verify.Js File. My Question Is How To Call Verify.Js File.
3 Answers Consagous, Phoenix Technologies,
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)