Click here to Skip to main content
15,897,704 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Actually I hosted the website,
Its working offline properly but after hosting in all Pages of registration in which we include data to database is not working, but data is fetched from the database.
On registration page On clicking submit button my error is:

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

XML
<configuration>
    <system.web>
        <customerrors mode="RemoteOnly" defaultredirect="mycustompage.htm" />
    </system.web>
</configuration></customerrors></customerrors></customerrors>


My website is jobsharvest.com
Please help me out solve this problem.
Posted
Updated 10-May-12 19:07pm
v2
Comments
Sandeep Mewara 11-May-12 1:28am    
Set your customerrors in web.config file OFF and then share the actual error that you are getting.

Based on information shared right now, we cannot comment on any reason.

in web.config file, paste below code after




XML
<system.web>
        <customerrors mode="off" />
    </system.web>



make it answer and rate, if you got your answer..


Thanks
Ashish
 
Share this answer
 
I think there is some issue with your database connectivity...
Please use exception handling in your onclick and print that exception to a label.
Then you will be able to solve this issue, else post your exact error message here...


Regards
Sebastian
 
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