Click here to Skip to main content
15,904,155 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
my pages not apprer on browser and get throw error : Server Error in '/' Application. customError mode="off" in web.config
XML
<!-- Web.Config Configuration File -->
<configuration>
    <system.web>
        <customerrors mode="Off" />
    </system.web>
</configuration>



----------------but my current code is work on my localhost but not working only server
Posted
Updated 21-Mar-11 0:12am
v3
Comments
Eduard Keilholz 21-Mar-11 6:09am    
What is your question?

1 solution

There are some runtime error in your application. As the customerror mode is OFF, you cannot get the actual error(actual error will be display in yellow page). Try out below steps to get the actual error.

1. Open web.config file ( It will be at the root path of the application)
2. Search for customerrors tag
3. Make the mode = "On" from "Off"
4. Run the application and you will get a yellow page error.

So you can get the exact issue by this settings.
Hope it helps.
 
Share this answer
 

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