I am facing a strange problem. I have developed a webapplication on VS2015. It is working fine on my local machine. I uploaded same application on my remote web server. This application runs perfectly, but on next day it gets stop working. Shows error that
THE RESOURCE CAN NOT FOUND. Requested URL : /default.aspx
But when I connect my web server then I found that default.aspx page is there as it is.
Then I published my application again and uploaded on web server again, It works fine for entire day, after on next day it gets stop and displays same error. but my default page is available on the web server. Please help me out.
None
0 Points
2 Posts
Asp.Net Web application stops working after one day of uploading
Feb 13, 2017 06:01 AM|krishi.scholar|LINK
Hi all.
I am facing a strange problem. I have developed a webapplication on VS2015. It is working fine on my local machine. I uploaded same application on my remote web server. This application runs perfectly, but on next day it gets stop working. Shows error that THE RESOURCE CAN NOT FOUND. Requested URL : /default.aspx
But when I connect my web server then I found that default.aspx page is there as it is.
Then I published my application again and uploaded on web server again, It works fine for entire day, after on next day it gets stop and displays same error. but my default page is available on the web server. Please help me out.
Thanks
Star
11650 Points
3462 Posts
Re: Asp.Net Web application stops working after one day of uploading
Feb 13, 2017 06:20 AM|HostingASPNet|LINK
Hello,
What shows the IIS error log?
Regards
HowtoASP.NET - Free ASP.NET tutorials with examples and source code.
None
0 Points
2 Posts
Re: Asp.Net Web application stops working after one day of uploading
Feb 13, 2017 07:51 AM|krishi.scholar|LINK
This webapplication is uploaded on shared server, i dont have access of IIS. I can only see 404 error page.
All-Star
17652 Points
3510 Posts
Re: Asp.Net Web application stops working after one day of uploading
Feb 14, 2017 05:35 AM|Chris Zhao|LINK
Hi Krishi,
Ensure that:
The file name extension you are requesting is not being blocked by IIS.
The directories along the path you are requesting are not being blocked by IIS.
You have two options here:
1. Make the request locally from the server machine.
2. Enable detailed errors for remote clients.
reference:
http://mvolo.com/troubleshoot-iis7-errors-like-a-pro/
https://www.iis.net/learn/troubleshoot/diagnosing-http-errors/how-to-use-http-detailed-errors-in-iis
Best Regards,
Chris