Skip to main content

Posts

Showing posts from May, 2009

Custom Master Page (File Not Found Error) - MOSS 2007

Create a custom Master page and Page Layouts and install it as a Sharepoint feature in the site collection. The steps for creating a feature (MOSS) is mentioned by Heater Solomon http://www.heathersolomon.com/blog/articles/servermstpageforsitecollect_feature.aspx Problem Investigation: Upon applying my custom master page I got an unusal error File Not Found. I spent few hours identifying the problem and then realised that SPD (Sharepoint designer) changed the path inside the code Example Orginal Code Changed By SPD Lesson(s) Learnt: Do not open any files (Stored in file system) using Sharepoint Designer If the file is already stored in content database, then use Sharepoint designer to modify the code

How to rename the web site?

>>I have a new installation of Sharepoint. Before we start using it, I would like the site to be more meaningful than http://server08/site.>>I would like to change the name so that is is something like http://mysite/site . Answer: There are several ways of how to rename Web Site. You can use stsadm -o renameweb command. More details are in MSDN article . But this command does't help you if you want to rename the site with the port. For example if you have http://server08:88/site and want to rename it to new name with the default port then the best way is to create the new site, and then use stsadm -o export/import to move the content between sites. Example The following example uses the following site: http://server_name/sites/site_name/subsite_name. To rename a URL using the newname parameter, use the following syntax: stsadm -o renameweb -url http://server_name/sites/site_name/subsite_name -newname NewWeb The URL of the subsite would become http://server_name/sites/