Few
Days before, in our project, we faced one issue while browsing the site. Don’t
know, what gone wrong but got error message as mentioned below:-
Server Error in '/' Application.
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
The resource cannot be found.
The resource cannot be found.
Even
if you have activated the possibility to see errors and trace in SharePoint
(Web application web.config --> callstack="true",
customerror="off", debug="true") you won't have a precise
indication of what ressource is missing.
How
to troubleshoot this error message? Here is the answer...
There are two ways by which you can resolve this error message:-
Method:
1
Just
right click your page and choose "view source"
Method:
2
Under the root path in IIS configuration, under "Home
Directory"under the field "local path".
"c:\inetpub\mywebsite\" is not the same as "c:\inetpub\mywebsite"
apparently now.
My site came back alive as soon as I removed the trailing
backslash so that the path now says "c:\inetpub\mywebsite"
If
you have any queries/questions regarding the above mentioned information then
please let me know. I would be more than happy to help you as well as resolves
your issues, Thank you.