08 April, 2009

Server Error in '/' Application. The resource cannot be found.

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.

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.

15 comments:

  1. Getting the above error all of a sudden after having some DNS issues which I don't see how could relate to this. We also did a side by side of WSS 3 and SBS's companyweb so the WSS3 is working fine but the companyweb gives the above error. Any ideas?

    ReplyDelete
  2. What excately you found when u follow the first step? i.e. view source, did u find anything that points out to some error. also, are u able to go to _layouts/settings.aspx or _layouts/viewlsts.aspx? Please send me that page when u right click on that error message and view source... my mail id:- amghuge@gmail.com

    ReplyDelete
  3. I am having the same error at the bottom of the page whiling trying to start Search Services. Any Ideas?

    Thanks

    ReplyDelete
  4. Please use valid account to start the search service also type the account in specified format i.e. Domain_name\accont_name. also, please check in the services console that the administraton service is running or not? also, when you are getting this error message then what is the event id in the event logs? have u tried to look into sharepoint logs?

    ReplyDelete
  5. Hi amol,

    Sameer here,after long time
    Its good blog. I have tried all the methods you mentioned in it but it dint work for me . In my case the pages were not there in the default path. As i have noticed the default page was opening as the same as the default web site not as the company web, so i found out the companyweb home page from the C:\Inetpub\wwwroot
    and had to copy paste to the default location - IISRESET and it worked. I was not able to change the default location of the pages cause all pages were not at the same location. But yes finally it worked.
    If you have any other interesting issue let me know would like to discuss here.

    ReplyDelete
  6. Thanks Sameer!! It's really good that you like my blog.. I will definately let you know if anything to discuss... Thanks again!!

    ReplyDelete
  7. Hi Amol. How are you? Nice that you have very usefull info on your blog.

    I have one issue with the list in MOSS 2007

    We have list . We have to avoid the Items duplicating in a UI level. How can we do this.
    Can you Please help me out. Thanks

    ReplyDelete
  8. Hello Yogesh,

    I am doing good and yourself ?

    Every List consist of Item ID column which can be enabled by means view settings.This ID column makes the entries of unique values. make this column as mandatory so that every item can be identified by unique values.

    Apart from this-Please refer the below mentioned link: http://features.codeplex.com/

    Under the most popular feature->Please refer the 'Unique Column Policy' which works perfectly in this scenario if you have do customizations..

    Please test this before implementing directly in production so that everything will be clear.

    Thanks a lot once again for appreciating my Blog...

    Please let me know in case of any queries/questions....Thanks..

    ReplyDelete
  9. Hi!

    The same error is appearing everytime I try to set the in-coming email settings on Discussion Board/Document library. I was able to configure and receive the mails from all the users without any issues but not anymore. Please let me know if you have any solution for this.

    ReplyDelete
    Replies
    1. Is this happening only on specific site collection? or all site collections?

      Is this happening only for those specific libraries / custom lists?

      Can you please check the sp logs and paste here so that we can troubleshoot further? Thanks for your patience..

      Delete
  10. It works for me, Thank you Amol!

    ReplyDelete
  11. Thanks for pointing out, it figured out error through step 1. Missing usercontrol was causing this error.

    ReplyDelete
  12. Hi Amol, I've sent you an email. Pls kindly take a look...thanks..pls email me back at izwan_sahari@agilent.com or/and izwan.sahari@gmail.com

    ReplyDelete

Your feedback is always appreciated. I will try to reply to your queries as soon as possible- Amol Ghuge

Note: Only a member of this blog may post a comment.