Click here to Skip to main content
15,897,226 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
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>


this my error how to resolve this
Posted
Comments
E.F. Nijboer 6-Apr-12 5:22am    
Have you read the text? It already gives you info on the steps you need to take. This way you get a more detailed error of the actual problem. This is just a general error page that tells you errors don't show for security reasons.
saravananraju 6-Apr-12 5:58am    
i get this error while running the server at first time and at next time it works fine
NuttingCDEF 6-Apr-12 6:40am    
Either go to your web server, log on and open a web browser on it so that you see the full error message there (i.e. web client and web server running on the same machine).

Or change your web.config to turn custom errors OFF.

You'll then get a different error message which actually tells you what the problem is.

The message you are seeing is just saying "There's a problem"; it gives NO details of what the real problem / cause is; it's just telling you you need to make some basic changes in order to get a helpful error message.

By default ASP.NET never displays helpful errors as that would be a very bad idea on a production web server as it would give potential hackers far too much information that they might be able to exploit.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900