About Me

Hi I am Saritha working as Sharepoint Consultant

Wednesday, April 13, 2011

WSS 3.0 - Move a subsite with subsites

I'm working in a test WSS 3.0 environment and I would like to be able to move a subsite with subsites to another environment.  There are several ways to move a WSS 3.0 site.  The first one I tried almost worked.  I will document my attempts (and reason each attempt was or was not successful here. 
SharePoint Designer
The technique:
  • Create a placeholder for the new location of the site
    • Use WSS 3.0 browser
      • Create a site using the Blank Site template.
  • Create a backup of the site to be moved
    • Use SharePoint Designer
      • Open the site to be moved
      • On the Site Menu - point to Administration - Backup Web Site - Check Include Subsites
      • Creates a .cmp file
  • Restore the backup to the new location
    • Use SharePoint Designer
      • Open the site (new location)
      • On the Site Menu - point to Administration - Restore Web Site
      • Use the .cmp file 
Limitations:
  • The site hiearachy for the new location must be the same as the original location. 
    • For example: If you have
      • Portal Site - Projects Site - IT Projects Site - Project A Site - Project A Documentation Site - Project A Final Dcoumentation Site
      •  you cannot move it  to  move it to
      • Portal Site - Project A Documentation
  • There is a size limitation of 25MB

SharePoint Site Template
The Technique:
  • Create a Site Template
    • Using WSS 3.0 Browser:
      • Save the site you want to move as a template – include content
      • If moving to a different site collection:
        • Go to Site Gallery (at top level)
        • Save the template to a good place in the file system (like your desktop)
        • Go to the root site of the Site Collection of the new location
        • Go to the Site Gallery
        • Upload the saved site template (.stp file)
      • Browse to the parent site of the new location
      • Create a new site with the template you just uploaded (Select a template – Custom tab)
Limitations:
  • Subsites are not included
STSADM Export / Import
The Techique
  • Use STSADM command line tool
  • Export the subsite to a .bat file
  • Import the .bat file to the new site location
  • Must have the following permissions:
  • login account for SQL server for SharePoint databases
  • Site Collection Administrator for new location (?and maybe original location)
Results
  • Subsite and subsites were restored
  • Used -includeusersecurity parameter and SharePoint groups and users in these groups were moved
Limitations
  • STSADM is not user friendly with error messages.  Check the Application Event Log.  The message received in the command window may not be indicative of the true problem.

Friday, April 8, 2011

How to configure PDF iFilter for SharePoint Server 2010 or Search Server 2010

Introduction

I recently installed and configured Search Server 2010 Express on my VMware machine for evaluation purposes. Once I configured basic steps to configure Search Centre site and necessary settings, I decided to install PDF iFilter (x64). Last year, I posted a similar article on how to install and configure PDF iFilter for SharePoint 2007 (64bit), which can be found at http://www.mossgurus.com/adnan/Lists/Posts/Post.aspx?ID=9. I didn't find a single decent article on Google, which clearly explain the process of installing and configuring PDF iFilter for SharePoint Server 2010 or Search Server 2010 Express edition. So I decided to follow my own article and I was hoping that it should be straight forward to install and configure PDF iFilter for SharePoint 2010. Apart from updating the registry settings required to update GUID for .pdf, remaining steps are similar.
Follow the steps below to install and configure PDF iFilter on SharePoint Server 2010 or Search Server Express 2010.
  1. Install PDF iFilter 9.0 (64 bit) from here.
  2. Download PDF icon file from pdf16.gif and copy at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\IMAGES\.
  3. Add the following entry in docIcon.xml file, which can be found at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML.
    <Mapping Key="pdf" Value="pdf16.gif" /> 
  4. Add PDF file type on the Manage File Type page under Search Service Application.
  5. Open registry by executing regedit on the Start --> Run.
  6. Navigate to the following location:
    \\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\
    14.0\Search\Setup\ContentIndexCommon\Filters\Extension 
  7. Right-click Extension, a menu will appear.
  8. Click New--> Key to create a new key for .pdf. See screen shot below:
  9. Enter .pdf and save key.
  10. Now add the following GUID in the default value as shown in the figure below.
    {E8978DA6-047F-4E3D-9C78-CDBE46041603} 
  11. If you are configuring SharePoint Server 2010, then restart Search service by executing the following command on the command line:
    net stop osearch 
    net start osearch 
  12. If you are configuring PDF iFilter on Search Server 2010, then restart the SharePoint Server Search 14 service as shown in the figure below:
  13. Perform incremental to include PDF files.
  14. PDF iFilter is successfully configured. Now you can search for the content of PDF file. See screen shot below:
Note: SharePoint Server 2010 or Search Server 2010 Express provides out of the box search support for .ZIP files, so you download and have to install Microsoft Filter pack as you used to do with MOSS 2007.
I do hope that you will find this article useful. Please leave your comments.