Click to See Complete Forum and Search --> : Website Not working


xesojay
10-06-2007, 07:11 AM
Hi Guys,

Am new to ASP.NET and I have developed a simple website that is working fine on my local system but I have uploaded the site on the hosting but it is not working. Please help me, am new to .net . The error message I got hile trying to view is as follow:

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

=================================================

Fatal Error
10-07-2007, 07:34 PM
That error message is just a fancy way of saying that something went wrong. Rather than telling you what went wrong, it tells you to enable debugging, because the technical specs of the problem could be used by a hacker to hack your site.
In this case, though, I don't think that there is an error in your site, but that the problem has to do with the server. Usually if a web site works on a local machine, but not on the server, it is because the server is not configured properly. To figure out what is wrong, I would need to know where it is hosted, but you would probably get a better answer if you got support from the hosting company.