ASP.NET - Runtime error in asp.net - Asked By Chinnarasu .M on 15-Jun-13 06:57 AM

hi, i have one runtime error , am  hosting my application in godaddy server  why i am not understand how to solver that problem , i  have attached error in below anybody help ple....

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>
Robbe Morris replied to Chinnarasu .M on 15-Jun-13 02:14 PM
You have an untrapped error in your page.  Change your web.config as it suggests and browse to your page again.  The real error will be shown.  After you fix the problem, change your web.config back again.
Danasegarane Arunachalam replied to Chinnarasu .M on 16-Jun-13 05:13 AM
You need to disable the Show Friendly HTTP Error Messages" Feature on the Server Side. Then can able to see the exact error message.

  1. In Internet Explorer on the Tools menu, click Internet Options.
  2. On the Advanced tab, under the Browsing section, click to clear the Show friendly HTTP error messages check box, and then click OK.
  3. Close the browser.
Danasegarane Arunachalam replied to Chinnarasu .M on 16-Jun-13 05:13 AM
And for more details refer : MSDN

http://support.microsoft.com/kb/294807