Click here to Skip to main content
15,895,256 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Operate a web page Pin
eyeseetee27-May-08 22:22
eyeseetee27-May-08 22:22 
GeneralRe: Operate a web page Pin
caradri27-May-08 22:33
caradri27-May-08 22:33 
GeneralRe: Operate a web page [modified] Pin
eyeseetee27-May-08 22:47
eyeseetee27-May-08 22:47 
GeneralRe: Operate a web page Pin
caradri27-May-08 22:54
caradri27-May-08 22:54 
GeneralRe: Operate a web page Pin
eyeseetee27-May-08 23:17
eyeseetee27-May-08 23:17 
GeneralRe: Operate a web page Pin
caradri27-May-08 23:25
caradri27-May-08 23:25 
GeneralRe: Operate a web page Pin
eyeseetee27-May-08 23:48
eyeseetee27-May-08 23:48 
Questionruntime error in application : web.config file Pin
rahul.net1127-May-08 20:14
rahul.net1127-May-08 20:14 
Hello all
I have developed a website and deployed it on client server. To catch i have ihave used try catch block.Whenever there is a error it shows me correct error message on my local machine. I have deployed application on client server and whenever there is any error in application instead of showing me the error it shows me web.config error which is as follow.
<br />
Server Error in '/' Application.<br />
Runtime Error<br />
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.<br />
<br />
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customerrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customerrors> tag should then have its "mode" attribute set to "Off".<br />
<br />
<!-- Web.Config Configuration File --><br />
<br />
<configuration><br />
    <system.web><br />
        <customerrors mode="Off" /><br />
    </system.web><br />
</configuration><br />
<br />
<br />
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customerrors> configuration tag to point to a custom error page URL.<br />
<br />
<!-- Web.Config Configuration File --><br />
<br />
<configuration><br />
    <system.web><br />
        <customerrors mode="RemoteOnly" defaultredirect="mycustompage.htm" /><br />
    </system.web><br />
</configuration><br />
<br />
</customerrors></customerrors></customerrors>




Can anybody tell me why the correct error message is not getting displayed on server.

Thanks
Rahul

People Laugh on me Because i am Different but i Laugh on them
Because they all are same.

AnswerRe: runtime error in application : web.config file Pin
Sandeep Akhare27-May-08 20:18
Sandeep Akhare27-May-08 20:18 
GeneralRe: runtime error in application : web.config file Pin
rahul.net1127-May-08 20:22
rahul.net1127-May-08 20:22 
GeneralRe: runtime error in application : web.config file Pin
Sandeep Akhare27-May-08 20:29
Sandeep Akhare27-May-08 20:29 
QuestionRe: runtime error in application : web.config file Pin
rahul.net1127-May-08 20:39
rahul.net1127-May-08 20:39 
AnswerRe: runtime error in application : web.config file Pin
Sandeep Akhare27-May-08 21:02
Sandeep Akhare27-May-08 21:02 
GeneralRe: runtime error in application : web.config file Pin
rahul.net1127-May-08 21:15
rahul.net1127-May-08 21:15 
QuestionConversion from ActionScript3 to SilverLight Pin
am 200927-May-08 19:16
am 200927-May-08 19:16 
AnswerRe: Conversion from ActionScript3 to SilverLight Pin
Vasudevan Deepak Kumar27-May-08 19:23
Vasudevan Deepak Kumar27-May-08 19:23 
Questiongridview checkbox Pin
Pankaj Garg27-May-08 18:57
Pankaj Garg27-May-08 18:57 
AnswerRe: gridview checkbox Pin
eyeseetee27-May-08 21:40
eyeseetee27-May-08 21:40 
QuestionRe: gridview checkbox Pin
Pankaj Garg27-May-08 21:52
Pankaj Garg27-May-08 21:52 
AnswerRe: gridview checkbox Pin
eyeseetee27-May-08 22:23
eyeseetee27-May-08 22:23 
Questionworking with Unit Testing in VS2008 Pin
chaitu.chinna27-May-08 18:52
chaitu.chinna27-May-08 18:52 
QuestionFile Access Problem Pin
VivekNema27-May-08 18:16
VivekNema27-May-08 18:16 
AnswerRe: File Access Problem Pin
Vasudevan Deepak Kumar27-May-08 19:03
Vasudevan Deepak Kumar27-May-08 19:03 
AnswerRe: File Access Problem Pin
eyeseetee27-May-08 21:40
eyeseetee27-May-08 21:40 
QuestionUpdatePanel Issue Pin
DotNetXenon27-May-08 16:27
DotNetXenon27-May-08 16:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.