Thursday, 22 May 2008

File Not Found Error

I have once again encountered the dreaded File Not Found error. The annoying thing about SharePoint is you don't get a clue where the problem is coming from.

The error was thrown just after we had performed a restore, so my guess was that something had not been restored. Turns out that in the Master Page settings there was a reference to CSS file which was in a different Site Collection which hadn't been migrated, and this was causing the error. Luckily, even though you might think that you're screwed once you get the File Not Found error, you can still access the settings. Just paste _layouts/settings.aspx to the end of the Site Collection URL and you can play around in the settings to find what might be wrong.