Click here to Skip to main content
15,923,852 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to use panels and text boxes Pin
Sylvester george21-Jun-07 20:31
Sylvester george21-Jun-07 20:31 
AnswerRe: How to use panels and text boxes Pin
Sandeep Akhare22-Jun-07 0:46
Sandeep Akhare22-Jun-07 0:46 
Questionpassword strength Pin
jai 12321-Jun-07 19:16
jai 12321-Jun-07 19:16 
AnswerRe: password strength Pin
Sathesh Sakthivel21-Jun-07 19:21
Sathesh Sakthivel21-Jun-07 19:21 
GeneralRe: password strength Pin
jai 12321-Jun-07 19:42
jai 12321-Jun-07 19:42 
GeneralRe: password strength Pin
Sathesh Sakthivel21-Jun-07 19:51
Sathesh Sakthivel21-Jun-07 19:51 
GeneralRe: password strength Pin
jai 12321-Jun-07 20:09
jai 12321-Jun-07 20:09 
QuestioncustomError in Web.Config file is not working Pin
Prakash.SE21-Jun-07 19:01
Prakash.SE21-Jun-07 19:01 
Hi All,
I am getting the following error whenever i try to throw an error in my web application. I have specified customErrors in web.config file like as follows:

<configuration>
    <system.web>
        <customErrors mode="On" defaultRedirect="CustomError.aspx"/>
        <error statusCode="404" redirect="CustomError.aspx"/>
    </system.web>
</configuration><pre><code>
Error:

<h2> Runtime Error </h2></span>
            <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

             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.
            <br>
            Details: To enable the details of this specific error message to be viewable on the local server machine, 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 "RemoteOnly". To enable the details to be viewable on remote machines, please set "mode" to "Off".<br><br>

 <pre>

<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly"/>
    </system.web>
</configuration>


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.



<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="On" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>


Please let me know the solution.

Prakash G, Software Engineer
Iridium Interactive Limited,
SriNagar Colony
Road #3 Banjara Hills
Hyderabad - 500035
mail me @ prakash.se@indiatimes.com
call me @ +91 9866833523

AnswerRe: customError in Web.Config file is not working Pin
RepliCrux21-Jun-07 19:14
RepliCrux21-Jun-07 19:14 
GeneralRe: customError in Web.Config file is not working Pin
Prakash.SE21-Jun-07 19:20
Prakash.SE21-Jun-07 19:20 
GeneralRe: customError in Web.Config file is not working Pin
RepliCrux21-Jun-07 19:31
RepliCrux21-Jun-07 19:31 
GeneralRe: customError in Web.Config file is not working Pin
Ulhas Morbale21-Jun-07 21:07
professionalUlhas Morbale21-Jun-07 21:07 
GeneralRe: customError in Web.Config file is not working Pin
sidbaruah25-Jun-07 1:47
sidbaruah25-Jun-07 1:47 
QuestionUse of server.htmlencode in class file Pin
Nagraj Naik21-Jun-07 18:58
Nagraj Naik21-Jun-07 18:58 
AnswerRe: Use of server.htmlencode in class file....I find out the solution. Pin
Nagraj Naik21-Jun-07 20:23
Nagraj Naik21-Jun-07 20:23 
Questionpage refreshment doubt Pin
saravanan0521-Jun-07 18:38
saravanan0521-Jun-07 18:38 
AnswerRe: page refreshment doubt Pin
sathesh pandian27-Jun-07 19:54
sathesh pandian27-Jun-07 19:54 
Questionwhen will session get start for HTML pages? Pin
PadmaPriya.S21-Jun-07 17:28
PadmaPriya.S21-Jun-07 17:28 
AnswerRe: when will session get start for HTML pages? Pin
Guffa21-Jun-07 17:57
Guffa21-Jun-07 17:57 
QuestionDisplay blob data [modified] Pin
ASPnoob21-Jun-07 16:38
ASPnoob21-Jun-07 16:38 
AnswerRe: Display blob data Pin
Guffa21-Jun-07 18:18
Guffa21-Jun-07 18:18 
AnswerRe: Display blob data Pin
ASPnoob21-Jun-07 19:02
ASPnoob21-Jun-07 19:02 
QuestiondropAssigned.SelectedValue. Pin
isaii21-Jun-07 16:34
isaii21-Jun-07 16:34 
AnswerRe: dropAssigned.SelectedValue. Pin
RepliCrux21-Jun-07 17:31
RepliCrux21-Jun-07 17:31 
QuestionActivex Object Pin
dhatchu21-Jun-07 16:25
dhatchu21-Jun-07 16:25 

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.