Click here to Skip to main content
15,068,678 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have upload my project in server via FTP,my project is running in server,but after 20min it says 500 internal server error,so what can I do,i dont understand,I have read all articles in web,all are implemented.but that cant work


Please help me,any one
Posted
Comments
Denis Shemenko 2-Jul-13 3:52am
   
Hello!
20 minutes after what?
- Every time when you restart hosting Web server you've got 500 error after 20 min?
- Or it appears only once?
- Are you doing something on web-site, or it just staying online with no actions and crashes after 20 min?
- Are you tried launch web-site on local machine?

500 Internal Server Error just means an issue with the page or site's programming, nothing you have anything to do with.

And if you use IIS server look here: http://support.microsoft.com/kb/943891/en-us
bhabatosh ojha 2-Jul-13 4:34am
   
I have open a page like defalut.aspx,then After it i cant open another page,still this page is open,now after 20min,when I click any of the link in that page,then it says 500 internal server error,When I refresh that page then it ll run perfectly,

Your understanding is good..
I am just staying online with no actions and crashes after 20 min.

So where is the error on page,or session or another security error,

I have give the server address
http://development.permitsunlimitedeast.com/

You can open it and stay online ,after it give the error.

Thanks ,Please help me
bhabatosh ojha 2-Jul-13 5:38am
   
So how can I solve,i have implemented something in web .config file.
Below the codes.So how to implement??Any idea,please
-------------------
<system.web>
<customerrors mode="On">
<!-- ASPX pages -->
<error statuscode="404" redirect="~/errors/404.aspx">



<system.webserver>
<httperrors errormode="Custom">
<!-- Non-ASPX pages -->
<remove statuscode="404" substatuscode="-1">
<error statuscode="404" prefixlanguagefilepath="" path="~/errors/404.aspx" responsemode="ExecuteURL">

bhabatosh ojha 2-Jul-13 6:43am
   
So how can I solve,i have implemented something in web .config file.
Below the codes.So how to implement??Any idea,please
-------------------
<system.web>
<customerrors mode="On">
<!-- ASPX pages -->
<error statuscode="404" redirect="~/errors/404.aspx">



<system.webserver>
<httperrors errormode="Custom">
<!-- Non-ASPX pages -->
<remove statuscode="404" substatuscode="-1">
<error statuscode="404" prefixlanguagefilepath="" path="~/errors/404.aspx" responsemode="ExecuteURL">


1 solution

I've opened your site with developer tools console. And in first appearance it says 500 Internal Server Error when trying to GET this request:
http://development.permitsunlimitedeast.com/errors/404.aspx?aspxerrorpath=/errors/404.aspx

So there no need to wait for 20 minutes, there are some error triggered in first load.
And browser get command to redirect on site Default Error page, that we can find in ~/errors/404.aspx

So make sure that This page is exist in your site. (On server of course).

Hope this will help :)
   
Comments
bhabatosh ojha 2-Jul-13 5:37am
   
So how can I solve,i have implemented something in web .config file.
Below the codes.So how to implement??Any idea,please
-------------------
<system.web>
<customerrors mode="On">
<!-- ASPX pages -->
<error statuscode="404" redirect="~/errors/404.aspx">



<system.webserver>
<httperrors errormode="Custom">
<!-- Non-ASPX pages -->
<remove statuscode="404" substatuscode="-1">
<error statuscode="404" prefixlanguagefilepath=""
="" path="~/errors/404.aspx" responsemode="ExecuteURL">

Denis Shemenko 2-Jul-13 5:45am
   
You can add this section to the web.config

<customerrors mode="On">
<error statuscode="404" redirect="~/error404.aspx">
</customerrors>

And take a look here: http://geekswithblogs.net/shahed/archive/2007/10/23/116278.aspx

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