Wednesday, January 13, 2010

The resource cannot be found.

Today I spent almost 4 hours to figure out why when I change my master page on my sharepoint site, I will get this error:


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: /en/Pages/Home.aspx

Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082


At first I thought the web part or resource files for languages are not deployed., Try to remove them and still couldn't find any clue. As I mentioned in one of my blogs, I turned off the friendly error messages hoping I got more detail about error but all I got was the above error :(

Thanks to MARC CHARMOIS for his article which finally gave me clue how to find missing resource. All you need to do is to go to "view source" of the page and look for "FileNotFoundException" and you will see what is missing :)

you can see Marc's full article here "Resolve Error : The resource cannot be found"

Happy Coding :-)

No comments:

Post a Comment