Getting Runtime Error on hosted site?
-
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 tag within a "web.config"
configuration file located in the root directory of the current web application.
This tag should then have its "mode" attribute set to "Off".<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
configuration tag to point to a custom error page URL.<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>I am getting this Error ever after I set in my web.config file. I am not using an sessions or database connection or login page etc.It's just a simple site. I want to know the best setting of web.config file for hosting
I have not failed. I've just found 10,000 ways that won't work. -Thomas A. Edison Thank u Chandu
-
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 tag within a "web.config"
configuration file located in the root directory of the current web application.
This tag should then have its "mode" attribute set to "Off".<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
configuration tag to point to a custom error page URL.<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>I am getting this Error ever after I set in my web.config file. I am not using an sessions or database connection or login page etc.It's just a simple site. I want to know the best setting of web.config file for hosting
I have not failed. I've just found 10,000 ways that won't work. -Thomas A. Edison Thank u Chandu
Set CustomErrors mode="Off" in ur webconfig file Best Regard Pathan
---------------------------------------------------
-
Set CustomErrors mode="Off" in ur webconfig file Best Regard Pathan
---------------------------------------------------
-
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 tag within a "web.config"
configuration file located in the root directory of the current web application.
This tag should then have its "mode" attribute set to "Off".<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
configuration tag to point to a custom error page URL.<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>I am getting this Error ever after I set in my web.config file. I am not using an sessions or database connection or login page etc.It's just a simple site. I want to know the best setting of web.config file for hosting
I have not failed. I've just found 10,000 ways that won't work. -Thomas A. Edison Thank u Chandu
Ensure that you have loaded the web.config file in your root directory Jith