Click here to Skip to main content
15,913,027 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Helo...


I am developing an web application E Library.but when i am hosting it on the server than it will give an error that is "custom error page off set or on"

In your web config file .and i have three web config file in the Web Application i made changes in the root directory web config file .but the error is not resolving .What I do Now
Posted
Updated 20-Nov-13 17:42pm
v2
Comments
Madhu Nair 20-Nov-13 23:45pm    
can you post the screen shot of the error you are getting?
Swinky_Talwar 21-Nov-13 0:41am    
Server Error in '/Ippta' 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">



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

Swinky_Talwar 21-Nov-13 0:39am    
how can i post screen shot here
Swinky_Talwar 21-Nov-13 0:40am    
Server Error in '/Ippta' 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">



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


please add custom error mode off in all web.con fig files and then try to execute.
 
Share this answer
 
Comments
Swinky_Talwar 21-Nov-13 2:20am    
i have alredy added in all web config files but it gives same error
If you have remote access to the webserver, then try running the application from the remote server where you will be able to see the actual error on your site
 
Share this answer
 
Comments
Swinky_Talwar 22-Nov-13 2:11am    
the appliaction is running well in local server ..but the problem occured when i am uploading it on web server
Madhu Nair 22-Nov-13 3:18am    
Actually I asked you to test on the webserver. But only think is that instead of accessing the Website from your local system, try to access it directly on the browser of the webserver if you have remote access to the webserver

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