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 the advantage of mvc over asp.net? : Asp.Net MVC
What is smpte vc-1?
how can u create the blog in asp.net with C#?what is the data type u will use to store in sql server?
Define Query Interface,Adref,Release?
Which is the parent class of the ASP.NET server control?
0 Answers Sans Pareil IT Services,
How can we do the client side validation and Server side validations? But i told that At client side by with the help of validations control or by javascript? But I dont know about the Server side controls Explain?
What?s the difference between Codebehind="MyCode.aspx.cs" and Src="MyCode.aspx.cs"?
1 Answers Getit, Siebel, Visual Soft,
What is server components?
Which protocol is used in a web api?
How many types of Cookies are available in ASP.NET?
How To Authenticate Your Web service??
How cross page posting is done in Asp.net 2.0?
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)