Click here to Skip to main content
15,896,207 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
Server Error in '/' 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: /CompanyAddress.aspx


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34009 

m getting this error while accessing deployed IIS application,The Home page got a fine access the error arises when I tried to access another pages
please help
Thanks in advance
Posted

'HTTP 404' error occurred when the requested page is not found by IIS, when you get this error, check for the address bar and see what location and page it is requested and see if it has exist on your server
 
Share this answer
 
'HTTP 404' means the requested resource could not be found but may be available again in the future.

Please find below checklists to resolve the problem:

1. Check file name is correct
2. Check correct directory name(/temp/page1.aspx)
3. Make sure your website is properly configured correct directory
4. Make sure that directory has proper access to browse the file through IIS
5. If you are using SSL certificate and not properly configured then it shows the error. If you are using SSL the you need to use https instead of http.
6. If you have implemented custom URL rewrite concept and browsing wrong URL then it shows the same error. For instance, in ASP.NET MVC, routing concept is there if you try to browse the URL other than the rules set it shows same error.
 
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