server error in '/' application
whenever i am trying to access my sharepoint site i am having this please help me resolve this issue.
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: /sites/dashboard/default.aspx
March 11th, 2007 9:42am
Hi,
several days ago,I encountered the same problem with my SP2007 portal.
this error first appeared while i was editing one of thepage layouts. if this the case with you, I thinkI can help you solve your problem :)
WhenI attacked my problemI discovered that the Sharepoint designer automaticly converts the url path that start with: "~/site/page/file.aspx" to "site/page/file.aspx"
and whenthe designer saves it, the url becomes invalid for sp2007 interpretation. because of thenature ofthat specificerror I decided that it must be it,
so I started to look at the pages, that I recently changed, references forurl that might be started with: ~/.
for my suprise I found it in the default.master page which is the most significant page(all the pages by default are using it).
this file can be found at Local_Drive:\\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\CONTROLTEMPLATE.
at the bgining of the page there are the follwing lines (opened usingnotepad):
<%@ Register TagPrefix="wssuc" TagName="Welcome" src="~/_controltemplates/Welcome.ascx" %><%@ Register TagPrefix="wssuc" TagName="DesignModeConsole" src="~/_controltemplates/DesignModeConsole.ascx" %>
while opening the same file with Sharepoint designer I received:
<%@ Register TagPrefix="wssuc" TagName="Welcome" src="_controltemplates/Welcome.ascx" %><%@ Register TagPrefix="wssuc" TagName="DesignModeConsole" src="_controltemplates/DesignModeConsole.ascx" %>
its appears that when the SP2007 trying to resolve the master page, it can't find the controls whith mantioned src url, so it crashes.
because the actual editing of the master page i doneby the Sharepoint designer, the ghosted master page was actualy at the site path: /_catalogs/masterpage/default.master so I reghosted it to the actual default.master page. and it WORKED :)
you canreghost this file using the "http://<site name>/_layouts/settings.aspx" page which is not using default.master of sp2007, so it worked fine
I hope this informationwould be helpfull for you
Regards,
Daniel
Remark:Microsoft does not recomendes to makeactual changing tothe default.master filer so be carefull, because each change will reflect on all sites that are using this template which is by default all sites and all pages at that site
Free Windows Admin Tool Kit Click here and download it now
March 19th, 2007 3:53pm
danrub , you saved my day!
Thanks a lot.
April 6th, 2010 10:58am
Thank you very much!!!
Excelent!Carlos Carvalho Citrangulo Junior MCP - MCDST - MCTS Microsoft Windows Vista Configuration - MCITP Enterprise Support Technician
Free Windows Admin Tool Kit Click here and download it now
May 6th, 2010 7:49pm
This works a treat! Thanks!
One more small problem. I am still getting the same error messages when trying to access the "My Site" part of sharepoint. But i cannot find the aspx file that i need to alter the correct this.
Any ideas?
May 10th, 2010 5:18pm