C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » ASP.NET »

Slove this Error


Posted Date: 03 Jan 2009      Posted By: jaynesh      Member Level: Bronze     Points: 1   Responses: 3



Server Error in '/' Application.
Runtime Error
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.

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".

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

<configuration>
<system.web>
<customErrors mode="Off"/>
</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="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>

When i OPen my page i saw this error in browser how can i solve it?





Responses

Author: Danasegarane.A    03 Jan 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

You are not allowing the error message to be printed on the client

Change this settings and run the application

<customErrors mode="Off" defaultRedirect="mycustompage.htm"/>[\code]

Thanks and Regards,
Danasegarane Arunachalam



Author: pinumalla prashant    03 Jan 2009Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

make custom errors mode off .
here your application is throwing exception in the code , debug the
application and check it.

Best of Luck....
Regards,
prashant,
CENTRE FOR GOOD GOVERNANCE,
HYDERABAD.

Best of Luck
Regards,
Pinumalla Prashant,
System Designer,
Centre for Good Governance,
Jubilee hills.
Centre for good governance



Author: ShashiKant Gupta    07 Jan 2009Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

This is not showing the actual exception, either change custom error mode to "Off" instead of "RemoteOnly" or try to run the application from the hosting machine itself, it will show the actual error.


Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : Please Explain about Content Management
Previous : asp.net
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use