Who is online? 90 guests and 0 members
Member login | Become a member
home » blogs » vivek_iit » The resource cannot be found. ASP.NET error
posted 12/1/2008 by vivek_iit
Suddenly for no apparent reason, one of our applications (after publishing) started giving this 404 error message: Server Error in ‘/xxx’ Application. —————————————————- The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Requested Url: /xx/xx.aspx This error was coming on all pages in the application, I checked and re-checked ASP.NET version in IIS, read-write permissions on the published folder, application pool setting, trailing slash problem (http://support.microsoft.com/kb/894670/en) and every other thing, but none helped! I did some googling but came up with same results, these are the links I checked: http://cephas.net/blog/2005/07/14/aspnet-the-resource-cannot-be-found/ http://forums.asp.net/t/1186539.aspx By chance I noticed this link: http://dotnet.org.za/armand/archive/2005/07/03/38757.aspx about removing app_oflline.htm file from the root directory. And I realized that we too have the app_offline.htm file and the moment we removed it, the application worked like a charm! Hope this helps others!
vivek_iit (Member since: 11/27/2008) I am one of the administrators at CodeAsp.Net and I love programming, architecting solutions, code reviews, teaching and writing about ASP.NET.
View vivek_iit 's profile
Comment (No HTML)
It's fast, easy and free! Submit articles, get your own blog, ask questions & give answers in the forums, and become a better developer, faster.
enter your email address: