Skip to main content

Adnan Ahmed (SharePoint Architect)

Go Search
Home
Adnan Ahmed
Project Server Gurus
KANAV
Need a blog here!
  

Microsoft Office SharePoint Server 2007 Gurus > Adnan Ahmed (SharePoint Architect)
Adnan Ahmed is a Senior MS Solutions Consultant in PM Centrix (http://www.pmcentrix.com), the IT Consulting Company in Ireland and has involved with many large enterprises to help them realise real benefits of MOSS 2007. Microsoft Certified Technology Specialist (MCTS) for SharePoint 2007 & 2003, Project Server 2007, MCSD.NET
Comprehensive list of development tools for SharePoint Server 2007
I have tried to summarise the list of development tools that you require on your day to day development. Please post your comment, if I miss anything here.
  1. App Pool Manager (http://www.harbar.net/apm/apm2.zip)
  2. U2U CAML Query Builder (http://www.u2u.info/SharePoint/U2U%20Community%20Tools/U2U%20Caml%20Query%20Builder%202007%20v3.1.0.0%20(windows%20version).zip)
  3. .NET Reflector (http://reflector.red-gate.com/download.aspx)
  4. SharePoint Explorer for WSS 3.0 ( )
  5. SharePoint Log Reader (http://www.blogaboutsharepoint.com/wp-content/plugins/download-monitor/download.php?id=1)
  6. BDC Meta Man Tool (http://www.lightningtools.com/pages/service/customerdownloads.aspx)
  7. SharePoint Inspector 1.0.0.0 (http://spi.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=1652#DownloadId=5854)
  8. SharePoint Explorer for WSS 3.0 (http://download.mondosoft.com/Ontolica/SharePointExplorer_V1_5_1_For_WSS3.zip)
  9. SharePoint Dispose Checker Tool (http://download.microsoft.com/download/B/4/D/B4D279A0-E159-40BF-A5E8-F49ABDBE95C7/SPDisposeCheck.msi)
  10. Windows SharePoint Services 3.0 SDK (http://www.microsoft.com/downloads/details.aspx?familyid=05E0DD12-8394-402B-8936-A07FE8AFAFFD&displaylang=en)
  11. Microsoft Office SharePoint Server 2007 SDK (http://www.microsoft.com/downloads/details.aspx?familyid=6D94E307-67D9-41AC-B2D6-0074D6286FA9&displaylang=en)
  12. Microsoft InfoPath 2007
  13. Microsoft SharePoint Designer 2007
  14. Microsoft Office 2007
  15. WSP Builder for SharePoint (http://www.codeplex.com/wspbuilder)
  16. Windows SharePoint Services 3.0 Tools: Visual Studio 2005 Extensions (http://www.microsoft.com/downloads/details.aspx?FamilyID=3e1dcccd-1cca-433a-bb4d-97b96bf7ab63&DisplayLang=en)
  17. Windows SharePoint Services 3.0 Tools: Visual Studio 2008 Extensions (http://www.microsoft.com/downloads/details.aspx?familyid=7BF65B28-06E2-4E87-9BAD-086E32185E68&displaylang=en)
  18. SharePoint Administration Toolkit v2.0
    x64: http://www.microsoft.com/downloads/details.aspx?FamilyId=F8EEA8F0-FA30-4C10-ABC9-217EEACEC9CE&displaylang=en
    x86: http://www.microsoft.com/downloads/details.aspx?FamilyId=263CD480-F6EB-4FA3-9F2E-2D47618505F2&displaylang=en
  19. SmartPart (http://www.codeplex.com/smartpart)
  20. SharePoint Installer (http://www.codeplex.com/sharepointinstaller)
  21. SOAP calls to the SharePoint web services (http://www.soapui.org/)
  22. Microsoft Network Monitor 3.2 (http://www.microsoft.com/downloads/details.aspx?FamilyID=f4db40af-1e08-4a21-a26b-ec2f4dc4190d&DisplayLang=en#filelist ) Thanks to Patel for providing me this link.
  23. SharePoint Work Acceleration Toolkit 2007 aka (SWAT) (http://www.idevfactory.com/products/swat/)
  24. MetaVis Architect for SharePoint (www.metavistech.com/architect)
  25. SharePoint 2007 Test Data Population Tool (http://www.codeplex.com/sptdatapop) Capacity planning and performance testing tool that populates data for testing SharePoint deployments
  26. Imtech Test Content Generator v1.3.0.0
    (http://blog.mastykarz.nl/imtech-test-content-generator-v1300-free-sharepoint-2007-tool/)
    Creating a given number of publishing pages with the desired page layout and content
  27. SharePoint Tips Utility Pack
    (http://www.codeplex.com/spstipsUtilityPack)
    Collection of tools including recursively delete sites, create and modify lists in multiple sites at once, and push a web part to multiple sites at once.
  28. SharePoint Cross-site Configurator
    (http://www.codeplex.com/SPConfigurator)
    Automates the process of deploying MOSS site settings in all or selected sites in a server farm. Includes applying master pages, web titles, audit controls and expiration policies.
  29. SharePoint Content Deployment Wizard
    (http://www.codeplex.com/SPDeploymentWizard)
    Allows a granular selection of content to be exported from site collections, webs, lists, folders, and list items to a .cmp file (Content Migration Package) which can be copied to other servers for import.
  30. Sushi Tool for SharePoint
    (http://www.codeplex.com/sushi)
    Performs common administrative tasks. Can backup sites, copy views between sites, bulk create sites, apply themes just to name a few functions
  31. SharePoint Developer Bookmarklets
    (http://blog.mastykarz.nl/go/bookmarklets)
    Great set of bookmarks to make navigating a SharePoint Web Site easier.
  32. LINQ to SharePoint
    (http://www.codeplex.com/LINQtoSharePoint)
    Provides a custom query provider for LINQ that allows the querying of SharePoint lists using LINQ syntax
  33. SharePoint config store
    (http://www.codeplex.com/SPConfigStore)
    Provides the framework for using a SharePoint list for application configuration values
  34. SharePoint Dispose Checker Tool
    (http://code.msdn.microsoft.com/SPDisposeCheck)
    Helps to check that unmanaged SharePoint objects are correctly disposed of in code
  35. PowerShell Extensions for SharePoint
    (http://www.codeplex.com/SPPSExtensions)
    Provides functionality for working with the SPWeb object.
  36. SharePoint Automation
    (http://stsadm.blogspot.com)
    Extensions that assist in the use of working with the SharePoint object model from Powershell.
  37. The SharePoint PowerShell Module (SPoshMod)
    (http://www.codeplex.com/SPoshMod)
    Framework for SharePoint PowerShell scripts.
  38. AC's WCM Custom Commands for STSADM.EXE
    (http://www.andrewconnell.com/blog/articles/MossStsadmWcmCommands.aspx)
    STSADM extensions for publishing sites and generating content type and column features.
  39. Imtech OCD Export
    (http://blog.mastykarz.nl/export-publishing-pages-features-imtech-ocd-export-page/)
    Simplifies the process of provisioning Publishing Pages by extracting existing pages to XML. The files generated allow you to wrap your Publishing Pages in a Feature.
  40. SharePoint Automation
    (http://stsadm.blogspot.com)
    List of almost 100 STSADM extensions that cover a variety of development and administrative tasks.
  41. stsadmWin 2007
    (http://blogs.msdn.com/ronalus/archive/2007/01/04/stsadmwin-has-an-2007-version.aspx)
    Provides a Windows UI version of the STSADM tool
  42. SharePoint 2007 Features
    (http://www.codeplex.com/features)
    Large collection of SharePoint features designed for developers and administrators. Provides assistance for debugging, logs, field and content type development, publishing sites, event receivers, and many more.
  43. SmartTools for SharePoint
    (http://www.codeplex.com/smarttools)
    Collection of SharePoint features such as What's New, Autocomplete Text Field, Enhanced Site Actions, and more
  44. Yet Another CAML Query Tool
    (http://www.ideseg.com/SharePointYetAnotherCAMLQueryTool2.aspx)
    Converts SQL-like queries into CAML.
  45. Imtech ListInstance Generator
    (http://blog.mastykarz.nl/generating-list-instances-xml-imtech-listinstance-generator/)
    Generates the ListInstance based on the List Template from a particular Feature
  46. CAML.NET
    (http://www.codeplex.com/camldotnet)
    Set of .NET language-based tools for creating dynamic, reusable CAML query components. Build CAML queries dynamically in code while preserving the syntactic structure of the native CAML language.
  47. SharePoint Manager
    (http://www.codeplex.com/spm)
    SharePoint object model explorer for inspecting your SharePoint environment. Can browse every site on the local farm and view every web, list, event receiver, etc... Enables the changing of properties
  48. RedGate Reflector
    (http://www.red-gate.com/products/reflector/)
    Allows exploration of any .NET assembly, including those provided by SharePoint. Shows where and how methods and objects are used. Find feature for fields, properties, and methods.
  49. Search Commmunity Toolkit
    (http://www.codeplex.com/sct)
    A number of tools and code samples that have been contributed to enhance the Microsoft search experience (Microsoft Office SharePoint Server 2007 (MOSS) Search, Search Server 2008 and Search Server 2008 Express).
  50. SharePoint Search Service Tool
    (http://www.codeplex.com/SharePointSearchServ)
    Web service client that can explore the scopes and managed properties of a given SharePoint Search SSP, build queries in either Keyword or SQL Syntax, submit queries, and examine the raw web service results.
  51. zevenseas SharePoint SearchCoder
    (http://www.codeplex.com/MOSSSearchCoder)
    Allows graphical building of queries and examination and testing of the SQL generated by the object model.
  52. SharePoint Query Web Service Test Tool
    (http://www.wsssearch.com/querywebservice.html)
    Test tool for WSS V3's Query web service. Allows you to generate the request XML and send it to the web service.
  53. STORM
    (http://storm.codeplex.com/)
    Tests any web service (including SharePoint)
  54. Fiddler
    (http://www.fiddlertool.com/fiddler/)
    Examines the network traffic of pages as they load. Check the size of pages. Recommended for deploying public facing websites.
  55. Firebug for Firefox
    (http://getfirebug.com/)
    Net console provides network statistics.
  56. YSlow for Firebug for Firefox
    (http://developer.yahoo.com/yslow/)
    Analyses page performance and provides network statistics
  57. SharePoint Development Environment Modifications (SPDevMod)
    (http://www.codeplex.com/SPDevMod)
    Collection of STSADM extensions and plugins for Visual Studio
  58. CodeRush/Refactor Tools for SharePoint Developers
    (http://andrewconnell.com/blog/articles/ProductivityToolsForSharePointDevelopers.aspx)
    Extensions to CodeRush/Refactor to assist SharePoint development.
  59. Imtech Fields Explorer Visual Studio 2008 plugin
    (http://blog.mastykarz.nl/imtech-fields-explorer-visual-studio-2008-plugin/)
    Quickly find the field names needed for CAML queries and controls
  60. Microsoft - BDC Definition Editor
    (http://blogs.msdn.com/sharepoint/archive/2007/08/22/announcing-the-microsoft-business-data-catalog-definition-editor-for-microsoft-office-sharepoint-server-2007.aspx)
  61. ARF is a FREE development framework for SharePoint
    (http://www.spworks.co.uk/downloads/latest.aspx)
  62. CSS Friendly Adapters
    (http://www.sharepointblogs.com/mossman/archive/2007/03/08/css-friendly-control-adapters-in-sharepoint-2007-a-walk-through.aspx)
  63. Mobile Entrée(TM) is the first ever SharePoint mobile application framework (http://www.mobileentree.com/default.aspx)

Thanks to Jeremy Thake , Yaroslav Pentsarskyy and Jason Hall for providing me some of the above URLs.

 

Thanks to Dan Jordan for suggesting me SOAP calls to SharePoint Web Service link.

How to setup Windows Server 2008 Domain Controller on a VPC (Server)

This article will explain how to setup Windows Server 2008 Domain Controller on a VPC. Steps remain the same for physical machine. Follow the steps below to setup domain controller:

1.    Logged into machine as local administrator

 

2.    Run dcpromo command on windows command prompt. System will start checking whether the binaries are already installed already. It may possible, if you have run dcpromo command previously.

 

3.    The Active Directory Domain Services Installation Wizard will start as shown in the figure below. You can either enable advanced mode installation checked or leave it unchecked. In my case, I have enabled advanced mode installation. Click Next to proceed.

 

Setup Domain Controller Step 1

 

4.    Operating system compatibility announcement will be display. Please read the message and Click Next to proceed.

 

 

Setup Domain Controller Step 2

 

5.    Next screen will allow you to choose Deployment Configuration i.e. Create a new domain or Add this machine to existing domain controllers. In my case, I have chosen “Create a new domain in a new forest”. Click Next to proceed.

 

Setup Domain Controller Step 3

 

6.    Enter Fully Qualified Domain Name (FQDN) of your forest. In my case, I have entered litwareinc.com for my VPC. Click Next to proceed

 

Setup Domain Controller Step 4

 

7.    As I have selected advanced mode installation in step 2 above, so Domain NetBIOS Name screen will appear Otherwise installation will skip this screen. Enter NetBIOS name of the domain in the next and Click Next to proceed.

 

Setup Domain Controller Step 5

 

8.    Next screen will allow you to select Forest functional level; I have chosen Windows Server 2003, which will allow me to add WIN2003 or later version of domain controller to my domain. Click Next to proceed.

 

Setup Domain Controller Step 6

 

9. In the previous step, as I have selected Windows Server 2003 as my forest functional level, so that domain functional level screen appears at this stage. I have again selected Windows Server 2003 as my domain functional level and click Next to proceed.

 

Setup Domain Controller Step 7

 

Note: I have chosen Windows Server 2008 in the previous step then installer will automatically skip this step.

 

10. In the Additional Domain Controller Options screen, you will be asked to select Domain Name Service (DNS) to install as part of your domain controller installation. If you want to make this Domain Controller to server as DNS server as well, then check DNS Server checkbox. In my case, I have checked DNS Server checkbox and clicked Next to proceed.

Setup Domain Controller Step 8

11.  Please make sure that you have assigned static IP to your domain controller otherwise you see screen shot below. Assign static IP and click NO to proceed

Setup Domain Controller Step 9

12. If the wizard cannot create a delegation for the DNS server, it displays a message to indicate that you can create the delegation manually. Click YES to proceed

Setup Domain Controller Step 10

13. Now you will have the location where the domain controller database, log files and SYSVOL are stored on the server.

14. This screen will allow you to specify windows paths to store database information, log files and SYSVOL. SYSVOL stores Group Policy objects and scripts. Leave the default path settings and click Next to proceed.

Setup Domain Controller Step 11

15. In the Directory Services Restore Mode Administrator Password (DSRM) screen, enter the Directory Services Restore Mode Administrator Password.

Setup Domain Controller Step 12

Note: The Directory Services Restore Mode Administrator password is different from the Domain Administrator Password. Assign a password for the Administrator account that will be used, when this domain controller is started in Directory Services Restore Mode. Always use strong password for Directory Service Restore Mode Administrator account.

16. Next screen will display settings that you have selected during installation wizard. These settings can exported to an answer file for use with use with other unattended operations. Click Next to proceed.

Setup Domain Controller Step 13

17. Now DNS installation will start. See screen shot below.

Setup Domain Controller Step 14

18. Now Group Policy Management Console will start. Wait for Group Policy Management Console operation to finish.

Setup Domain Controller Step 15

19. Configuring DNS Server configuration console will start, once Group Policy Management Console will complete. See screen shot below.

Setup Domain Controller Step 16

20. Setting up this server or VPC to host Domain Controller is completed. Click Finish.

Setup Domain Controller Step 17

21. Click on Restart Now to restart your server or VPC for the changes to take effect.

Setup Domain Controller Step 18

22. Once server will reboot, this server will become a domain controller.

Please provide your comments about this article.

Summary of sessions of European Best Practices SharePoint Conference 2009

Last month, I have attended European SharePoint Conference held in London. Overall the conference was a success and everybody learnt a lot from SharePoint MVPs, who are best in delivering of what they know.  I have written down my notes during the conference and decided to share best practices discussed in the sessions that I had attended. Once I will receive DVD of all sessions, I will update my blog to provide more information on best practices discussed in other sessions.

Session: Best Practices for developing a SharePoint Web Part (Presented by Todd Bleeker)

§  Naming Convention for choosing library name

o    CompanyProject.Contents.Purpose

e.g. PMCentrix.WebParts.Navigation

o    Naming Convetion for Choosing Web Part class name

[Purpose]Part.cs

e.g. MyTasksPart.cs

§  Path of User Controls

Create a folder under ..[12 hive]\template\controltemplates\UserControl\

Create a User Control folder for a place to deploy all of your user controls.

§  Inherit Web Part class by using ASP.NET Web Part Library to develop a web part

o    i.e.  System.Web.UI.WebControls.WebParts

§  Always use CreateChildControls() as an event to write your code

o    Never use Render()event of a web part

o    Never use RenderControl()event of a web part

o    Rarely use RenderContents() event of a web part

o    Avoid using OnInit() event

o    Always call the Base Class method before even your try... catch statement

§  Must sign and give strong name to your web part assembly

§  Consider to deploy your web part assembly in the web application BIN directory instead of GAC i.e. Prefer to use Code Access Security (CAS) instead of Global Assembly Cache (GAC) for deploying web part assembly

o    Benefits of deploy Web Part assembly into BIN folder:

§  Fastest iterative approach i.e. code, compile and refresh

§  No need to recycle application pool of web application

§  Use Static Version for versioning of your web part assembly

§  WSPBuilder is an industry tested tool for creating a deployment package for your web part, so why not use it.

§  Use Web Part properties and avoid and hardcoded text

§  Call EnsureChildControls() procedure before writing your web part code in the CreateChildControls() event

Session: SharePoint, SQL Server Storage Best Practices (Presented by Mike Watson)

§  SQL Health is equal to SharePoint Health, so never only consider the sizing matrix of SharePoint

§  How to scale SQL Server: You have two options; Scale Up i.e. by adding more memory or add more SQL Servers in the cluster or Scale Out i.e. Add another SQL Server after every 1TB of content space

§  Scale Out is more flexible for replication operation but Scale Up is more cost effective

§  Best Practice: Allocate 10% of overall SharePoint Content or 300GB disk space for Tempdb database

§  Allocate separate and dedicate disk space for logs

§  Best practices for choosing RAID level:

o    Use RAID 10; why??

§  Better redundancy

§  Faster and less impacting rebuilds

§   2 * write performance

§  Optimised for IO operation

§  Disadvantages:

·         Expensive

·         Lower your overall disk capacity

 

§  Use RAID 5 when:

o    Storing content

o    Content is replicated

o    SQL failure is automatic between content

o    Issues with RAID 5:

§  Recovery takes longer

§  Slow for write operations

o    Risky

§  Best practices for network bandwidth (Gigabit or better network)

§  Extra attention should be given to MySite. MySite takes more time to render than team site

§  Never program SharePoint database to use autogrow

§  64-bit hardware for SQL Server is recommended

§  Use multiple data files for SharePoint database i.e. no. of data files = no. of CPU core

§  Defragment your databases regularly

§  Use differential backups

§  Don’t virtualise SQL Server

§  Ideally don’t exceed 5 web server per SQL instance

§  Scale SQL Server Out as you add more SharePoint servers

§  Prioritise your SQL Server Hardware in the following order:

o    SQL Server à Index à Excel à Search à WFEs

§  Best practices for virtualisation

o    Hardware guidance does not change in virtualisation

§  i.e. 4 processors physical = 4 processors virtual

§  16GB RAM physical = 16GB RAM virtual

o    Use Pass through or fixed VHD

o    Don’t use dynamic disk in a production farm

o    Network is tricky. Use multiple NICs and NIC teaming on the hosts

§  Isolate Shared Services Provider (SSP) under the following circumstances:

a)    10 million items indexed

b)    Multiple farms consuming shared services

c)    100K user profiles + people search + my sites + significant use of audience

o    Any combination of two or more from above are true

§  Index Server does not index all versions because you get search result of only latest content

Session: Best Practices for developing Custom Field Types (Presented by Todd Bleeker)

§  Custom Field Types do not work with datasheet view and MS Office application i.e. in Information panel

§  You must sign custom field type assembly and deploy to GAC

§  Naming Convention for custom field types:

o    Field: [Purpose]Field.cs

o    Control Class: [Purpose]FieldControl.cs

o    Value Class: [Purpose]FieldValue.cs

o    Field types_[Purpose].xml

§  Always use HTML Encode, when you render to prevent Script/SQL injection hacks

Notes from other sessions

§  Important tools to setup Kerberos Authentication

o    Kebtray.exe

o    Klist.exe

o    Network Monitor 3.2

o    ADSIEdit.msi

o    Filldler Tool

§  Use Ken Schaefer’s Blog for information regarding IIS and Kerberos

SharePoint Search crawl error on Windows Server 2008 Operating System
You get following error message, when you try to create a web application using host header name e.g. http://portal.litwareinc.com or http://portal/
 
See screen shot here
 
This issue occurs when the Web site uses Integrated Authentication and has a name that is mapped to the local loopback address.
 
Resolution: Follow the KB article KB896861 to disbale loop back
 
Here are the steps to follow:
  1. Click Start, click Run, type regedit, and then click OK.
  2. In Registry Editor, locate and then click the following registry key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
  3. Right-click Lsa, point to New, and then click DWORD Value.
  4. Type DisableLoopbackCheck, and then press ENTER.
  5. Right-click DisableLoopbackCheck, and then click Modify.
  6. In the Value data box, type 1, and then click OK.
  7. Quit Registry Editor, and then restart your computer.
Steps required to install Microsoft Office SharePoint 2007 Service Pack 2 on existing SharePoint Farm
Finally Microsoft has released long waiting MOSS 2007 and WSS 3.0 SP2. You can download MOSS 2007 SP2 and WSS SP2. For new installations of Windows SharePoint Services, you can also download WSS 3.0 with SP2.
 
If you want to see a list of all SP2 released on 28th April, then follow this KB Article:
 
Installation steps are straight forward, if you have already installed SharePoint 2007 in previous occasions.
 
In this article, I have explained each step with screen shots, which is required to upgrade your existing SharePoint 2007 or WSS 3.0 environment.
 
Let me first tell you about detail of my environment.
 
Servers: 1 Virtual PC (32 bit Windows Server 2008 OS including Domain Controller)
Software installed: MOSS 2007 with SP1
 
In order to upgrade my MOSS farm to SP2 release, I have to first install WSS 3.0 SP2.
 
Steps to Install Windows SharePoint Services 3.0 SP2
 
 
Step 1: Right click EXE and click Run as Administrator. You only have to do this, if you are running this EXE on Windows Server 2008 Operating System
Make sure you have download correct version of executable i.e. 32 bit for 32-bit OS and 64-bit for 64-bit OS.
 
 
 
Step 2: Accept license agreement and Click Continue
 
 
 
Step 3: Windows SharePoint Services 3.0 Installation will begin.
 
Step 4: Click NEXT to start the WSS 3.0 SP2 wizard.
 
Step 5: Click YES to restart the services.
 
Step 6: Click NEXT to start the configuration wizard.
Step 7: You will be prompted to install WSS 3.0 SP2 on other SharePoint Servers in the Farm. Now logged into other SharePoint Servers and Install WSS 3.0 SP2 and run configuration wizard and leave the configuration wizard at this stage. Repeate the same step for all other SharePoint Servers. Once you are done with all other SharePoint Servers then go back to the server, where you have first started to install WSS 3.0 SP2 and Click "OK".
Step 8: Now confguration wizard will start to update SharePoint databases.
 
Step 9: Configuration wizard is installed successfully. Now go back to other SharePoint Servers in the farm and complete the WSS 3.0 SP 2 upgrade.
 
Steps to Install Microsoft Office SharePoint Server 2007 SP2
 
Download MOSS 2007 SP2 from
 
 
Step 1:Right click and run MOSS 2007 SP2 EXE as Administrator, if you are using Windows Server 2008 OS
 
Step 2: Accept the license agreement and Click Continue.
 
Step 3: Installation package will start and check for any previous update i.e. WSS 3.0 SP2
Step 4: Once update detection is completed, MOSS 2007 SP2 installation will start. Installation of MOSS 2007 will take atleast 20 minutes so be patient!
Step 5: SharePoint configuration wizard will automatically start. Click NEXT to Continue.
Step 6: Click Yes to continue.
Step 7:Click Next to complete the wizard
 
Step 8:At this step, go to other SharePoint Servers in the farm and install MOSS 2007 SP2 and leave the installation at the same stage. Once you are done with other SharePoint servers, then come back to the server where you have started MOSS 2007 SP2 upgrade process and Click OK to continue.
 
Step 9: SharePoint databases will be updated at this stage.
Step 10: SharePoint Configuration Wizard is successfully completed. Now logged into other SharePoint Servers and complete the upgrade process.
Step 11: Now you can open Central Administration to check the version number of MOSS 2007 is updated. SP2 version number is 12.0.0.6421
 
 
Please write your comments to provide your experience of upgrading MOSS 2007 to SP2.
HiSoftware Rich Text Editor (HiSoftware aRTE) v1.0
HiSoftware have announced the release of the accessible Rich Text Editor (HiSoftware aRTE) v1.0. HiSoftware aRTE is claimed to be an an accessible, feature rich text editor for content creation and editing in the Microsoft Office SharePoint Server 2007 and Windows SharePoint Services 3.0 environments.
 
 
 
You should also look into Telerik Rich Text Editor for MOSS 2007, free version for accessible MOSS 2007 public facing site.
How to configure Kerberos authentication for SharePoint Server 2007
At last, Microsoft has released a detailed KB article explaning how to configure kerberos authentication for SharePoint 2007 and Excel Service 2007.
 
Complete detail can be found at:
 
Content Deployment Error “Failed to read package file”.

When you run the incremental content deployment, you get the following exception during import operation.

Failed to read package file. at Microsoft.SharePoint.Deployment.ImportDataFileManager.Uncompress(SPRequest request) at Microsoft.SharePoint.Deployment.SPImport.Run() *** Inner exception: Failure writing to target file at Microsoft.SharePoint.Library.SPRequest.ExtractFilesFromCabinet(String bstrTempDirectory, String bstrCabFileLocation) at Microsoft.SharePoint.Deployment.ImportDataFileManager.<>c__DisplayClass2.<Uncompress>b__0() at Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Object state) at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2() at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param) at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode) at Microsoft.SharePoint.Deployment.ImportDataFileManager.Uncompress(SPRequest request)

Reason: Insufficient disk space in the content deployment temporary location path on the destination server farm.

How to fix this problem: Delete files from the Content deployment temporary location and start the incremental crawl again. The problem will be resolved.

The Cab files are not always deleted and remain in the Content Deployment Folder location e.g. C:\Windows\ContentDeploymet\. To permanently resolve this issue, you must delete these temporary files by creating a scheduled job. Files older than 1 or 2 days can safely be deleted.

 

 

How to Configure PDF iFilter 9.0 for 64-bit operating system on MOSS 2007 Server Farm

Before the release of PDF iFilter 9.0, you have to install windows desktop search, PDF reader and iFilter 8.0 to configure PDF iFilter on MOSS 2007 environment. Now, Adobe has released PDF iFilter 9.0 for 64bit operating system, so configure of PDF iFilter is lot easier than before.

Steps required to configure PDF iFilter 9.0 on 64-bit OS running MOSS 2007 Server Farm

  1. Steps required on MOSS 2007 Server running as Indexing Server

a)    Install PDF iFilter 9.0 on MOSS 2007 Server running as Index Server in the farm. PDF iFilter 9.0 can be downloaded from http://www.adobe.com/support/downloads/detail.jsp?ftpID=4025

For 32-bit operating system, install Acrobat Reader 9.1 from http://get.adobe.com/reader/

b)    Verify that PDF has the correct settings in a registry location.

Run Regedit by browsing to c:\Windows\system32\regedt32.exe and double-clicking it.

Within left-side tree, browse to: \\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\.pdf

Replace the {4C904448-74A9-11D0-AF6E-00C04FD8DC02} with new GUID i.e. {E8978DA6-047F-4E3D-9C78-CDBE46041603}

 

  1. Steps required on all MOSS 2007 Web Front End Servers

a)    Configure PDF icon for Document Library.

a.    Download pdf16.gif file and copy at C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\IMAGES  location.

b.    Add the following entry in docIcon.xml file, which can be found at: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\XML

<Mapping Key="pdf" Value="pdf16.gif" />

c.    Add PDF File Type under Manage File Types link which can be found in SSP Admin, Search Settings page.

d.    Repeat steps 2.1,b,c on all front-end web servers

  1. Restart SharePoint Search Service

a)    Stop SharePoint Service

Launch the DOS command prompt and type: net stop osearch

b)    Start SharePoint Service

On the command prompt, type: net start osearch

  1. Perform full crawl on SharePoint Search

 

How to Configure SharePoint Treasure (Synonym) In MOSS 2007

The concept of treasures in SharePoint world is not new. It was also used in SharePoint 2003. Treasures are like synonym or similar words that you specify in SharePoint for keywords search.

 

The thesaurus permits you to type a phrase in a search query and to receive results for words that are related to the phrase that you typed. For Example, If user search for word "House", so you also would like to search for "Home", "Flat", "Apartment" etc. The concept of SharePoint Treasures is different than SharePoint Best Bets keywords. In SharePoint Best Bets keyword search, the result returned will be shown in the Best Bets web Part, so Best bets do not influence the ranking of Search Result. The down side in this approach is that you have to manage Best Bets URLs as time goes. So, if you add new page in the web site and you would like to show this page in the Best Bets Web Part, then you have to manually add this new URL in the Site Collection.

 

In the case of Treasures, you don't need to make any change in the configuration and new pages will automatically take effect immediately. You have to update the treasures from time to time, if you want to add more synonymous.

 

Follow the steps below to configure Treasures in SharePoint 2007:

 

1.    Find the SSP ADMIN Site GUID

  • Save the following commands in MS Notepad file as .VBS extension and run. It will display the SSP Admin Site GUID. Make note of GUID Information.

Set objGatherAdmin = WScript.CreateObject("oSearch.GatherMgr.1")

For Each objApplication in objGatherAdmin.GatherApplications

      WScript.echo "SSP: " & objApplication.DisplayName & " Application GUID: " & objApplication.Name

Next

2.    Locate Tsneu.xml FILE

The thesaurus files contain inactive sample content. The neutral Tsneu.xml thesaurus file is applied to queries that do not have a thesaurus file that is associated with the query language. The neutral thesaurus file is always applied to queries, even when there is a specific thesaurus file that is associated with the query language. So, we will only update the Tsenu.xml file for Treasures to work in SharePoint 2007 environment.

      Thesaurus files for SharePoint Server 2007 are located to the following folder:

Drive:\Program Files\Microsoft Office Servers\12.0\Data\Applications\[SSP Admin Site GUID]\Config\tsneu.xml

Note: Always look for drive where you have configured SharePoint 2007 Indexing. So, if SharePoint 2007 Indexing is configured on S:\Search\ drive, then the complete path will be as follows:

S:\Search\Program Files\Microsoft Office Servers\12.0\Data\Applications\[SSP Admin Site GUID]\Config\tsneu.xml

3.    Update Tsneu.xml file

Thesaurus files contain two types of thesaurus entries. These types are replacement sets and expansion sets. Thesaurus files also permit you to configure the word weighting and word stemming options in a replacement set or an expansion set. More details can be found at Microsoft KB 837847 article

§  Open the Tsneu.xml file in Notepad.

§  Remove the following comment lines that appear at the beginning and the end of the file:

o    <!---Commented out--->

§     Add the treasures or synonymous inside an <expansion> tag. In the expansion tag, you specify one or more substitutions that are enclosed by a <sub> tag. For the example that is described earlier, add the following lines:

§  <expansion>

§  <sub> House</sub>

§  <sub> Home</sub>

§  <sub> Apartment</sub>

§  <sub>Flat </sub>

§  <expansion>

§     Save the XML file. Must save the file in Unicode format.

4.    Re-start the SharePoint Search Service

Run the following command on command line:

NET Stop oSearch

NET Start oSearch

 

Things to Remember:

  You do not need to run Full Crawl or do IISRESET or Reset the Index in order for Treasure to work

  Expansion Tag in the Tsneu.XML must not be repeated. Treasures will stop working immediately. An error is also logged in the Event Viewer.

For Example, following <expansion> tags will generate error:

<expansion>

                <sub>Allowance</sub>

                <sub>Increase</sub>

</expansion>

<expansion>

                <sub>Income</sub>

                <sub>Profit</sub>

</expansion>

<expansion>

                <sub>Allowance</sub>

                <sub>Increase</sub>

</expansion>

 

<expansion>

                <sub>Guarantee</sub>

                <sub> Agreement</sub>

</expansion>

  The value of <Sub> tag must not be repeated in any other <expansion> tag entries. For example, the following statement will also generate error in the event viewer.

<expansion>

                <sub>Allowance</sub>

                <sub>Increase</sub>

</expansion>

<expansion>

                <sub>Asset Register</sub>

                <sub>Allowance</sub>

                <sub>Assets Register</sub>

</expansion>

§    When you try to open the Tsneu.xml file in Internet Explorer or any other XML Editor, you get the following error:

o    Error opening input file: 'tsSchema.xml'. Incorrect definition for the root element in schema. Error processing resource '...

o    Ignore this error as this XML validation will not affect treasure to work properly.

§     When you open the txneu.xml in Notepad, Make sure to save this file as Unicode.

Important Resources:

§    http://support.microsoft.com/default.aspx?scid=kb;en-us;837847

§    http://jopx.blogspot.com/2004/11/sharepoint-multilinguage-features.html

§    http://www.jjfblog.com/2007/10/adventures-in-office-sharepoint-2007.html

§    http://blogs.officezealot.com/mauro/archive/2008/07/24/21123.aspx

§    http://social.technet.microsoft.com/forums/en-US/sharepointsearch/thread/e8fd629e-89b9-43e1-83d8-6870795b4ac6/

 

BDC Feature Activation Error Message

When you try to add field anis specify BDC entity, you get the following message.

The Office SharePoint Server Enterprise feature is not activated on this site. Activate the feature to use Business Data columns.

 

Resolution: Just enable "Office SharePoint Server Enterprise Site features" feature on the site level.

Note: You need Enterprise Edition of MOSS to enable this feature

How to Increase default 16MB File Size for SharePoint 2007 Search Indexing

You get an error message in the SharePoint 2007 Search Crawl Log that "The file reached the maximum download limit. Check that the full text of the document can be meaningfully crawled."

 

Resolution: This error occurred when SharePoint 2007 Search tries to Index a file larger than 16MB (default) size. By default, SharePoint Server 2007 can crawl and filter a file with a size of up to 16 MB. After this limit is reached, SharePoint adds a warning entry in the SharePoint gatherer log. In order to increase the default limit, you must add a new entry MaxDownloadSize in the windows registry.

Follow the steps below to add new entry in the windows registry:

§  Open Registry Editor (RegEdit.Exe)

§  Locate the following Key:

§  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Global\Gathering Manager

§  Right Click “Gathering Manager” à New à DWORD Value. Name it MaxDownloadSize. Double-click, change the value to Decimal, and type the maximum size (in MB) for files that the gatherer downloads.

§  RESET the index

§  Start Full Crawl

Steps Required Installing MOSS 2007 with SP 1 on Medium Server Farm on Windows Server 2008 64-bit platform (IPV-6 enabled)

We all have done number of MOSS 2007 deployment on Medium Server Farm for our clients. This article only discusses the issues that you may encounter during MOSS 2007 installation on Windows Server 2008 on 64-bit system.

SharePoint Server 2007 RTM or WSS 3.0 will not install on Windows Server 2008.  It requires SP1.  Thus these bits simplify and reduce confusion resulting from users trying to install WSS 3.0 or SharePoint Server RTM versions directly on Windows Server 2008.  Previously, steps were required to add SP1 to the update folder.” (Extracted from msdn blog)

Different Approaches:

There are two approaches to deploy MOSS 2007 along with SP1 on a 64-bit Windows Server 2008.

1.    Gradual Installation of MOSS 2007 64-bit Windows Server 2008

a.    Install MOSS 2007 (Standard/Enterprise) Edition on 64-bit Windows Server 2008

b.    Configure farm including enabling services, creation of SSP Admin Site, MySite etc, Configure Search etc

c.    Install MOSS 2007 SP1 on all Web Front-End and Application Servers

2.    Install slipstream version also known as the Microsoft Office SharePoint Server 2007 with SP1. The slipstream version of MOSS 2007 with SP1 can downloaded from Microsoft Web Site

(32 bit) http://www.microsoft.com/downloads/details.aspx?FamilyId=2E6E5A9C-EBF6-4F7F-8467-F4DE6BD6B831&displaylang=en

 

(64 bit) http://www.microsoft.com/downloads/details.aspx?FamilyId=3015FDE4-85F6-4CBC-812D-55701FBFB563&displaylang=en

Note: Make sure to download OfficeServerwithSP1.exe from the URL above.

 

Steps Involved in using slipstream version of MOSS 2007 with SP1

As you notice above, obviously we should use slipstream version MOSS 2007 with SP1 to install SharePoint on Windows Server 2008 operating system.

Let’s take an example of a Medium Server Farm, which consist of four servers. One Web Front-end Server (WEB1), one Application Server (APP1) running SharePoint Services such as MS Excel service, Index, Search Query etc and one DB Server (DB1) running SQL Server 2008.

Points to Remember:

  • You must install MOSS on a clean installation of Windows Server 2008. If you uninstall and then reinstall MOSS may fail to create the config DBs. This article does not deal with the steps required to fix this issue.
  • You must use the Complete installation option on all servers you want to use as index, query or Excel services.
  • Setup installs Central Administration site on the first server on which you run setup. Ideally, you should not install Central Admin site on any other server. Make sure that you start your setup from application server, so you don’t have to deploy Central Admin Site on any of the Web Server that you will add in the same farm
  • You must install MOSS 2007 on the same drive on all load balanced front end web server computers
  • Follow Office SharePoint Server security account requirements to create service accounts for MOSS 2007.

Steps required installing MOSS 2007 with SP1 on Medium Server Farm:

Step 1: Build DB1 Server as Database Server

a.    Install SQL Server 2008 Standard Edition on DB1 Server

b.    Add SharePoint Setup Service Account (Domain user account) as:

o   Member of the Administrators group on each server on which Setup is run.

o   SQL Server login on the computer running SQL Server.

o   Member of the following SQL Server security roles:

§  securityadmin fixed server role

§  dbcreator fixed server role

Step 2: Build APP1 Server as SharePoint Application Server (APP1)

a.    Install .NET Framework 3.5. .NET Framework 3.5 can be downloaded from http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6&displaylang=en

b.    Install MOSS 2007 with SP1 and make sure to select “Complete” as Server Type

c.    Run SharePoint Configuration Wizard to create new server farm.

Step 3: Build WEB1 Server as Front-end Web Server (WEB1)

a.    Install .NET Framework 3.5. .NET Framework 3.5 can be downloaded from http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6&displaylang=en

b.    Install MOSS 2007 with SP1 and make sure to select “Web Front End” as Server Type

c.    Run SharePoint Configuration Wizard to connect to the existing server farm.

Step 4: Configure SharePoint Farm

a.    Configure following services on application server (APP1)

                              I.        Stop Windows SharePoint Services Web Application Service.

Note: APP1 server will not host any web application.

                            II.        Start Office SharePoint Search Service. Make sure to select “Use all web front end computers for crawling” for web front-end and crawling option. Otherwise SharePoint Search crawl will not work. This issue is discussed in detail here http://blogs.msdn.com/jmacleod/archive/2008/06/25/iis7-sharepoint-2007-fails-with-503-service-unavailable-errors.aspx  

Step 5: Create Host Header Names for SSP Admin, MySite and Web Application (Optional)

Create Host header names for SSPAdmin, MySite and Web application sites e.g.

  • SSPAdmin
  • MySite
  • DMS

Step 6: Create Portal Site and Run full crawl to index documents

Using Javascript to Manipulate a List Form Field
Rob Howard, Program Manager of SharePoint Designer has posted an excellent article on using Javascript to set the default of field in Edit Form.aspx page. 
 
In order to use javascript in New or Edit form of list or document library, we open the page in SharePoint Designer and add new zone. Once zone is added then add Content Editor Web Part and specify the Javascript.
 
 
Project Professional 2007 crashes when try to save Project on Project Server 2007
This is a common problem notified by our clients that some of the users are facing this issue. When they try to save a project from MS Project Professional 2007, Project Professional crashes and Project Manager cannot open the same the project in editable mode again. Inspite of forcing the project to Checked In back to the server, Queue job fails to complete its operation. As a result, user cannot work on the project.
 
One of my colleague Liam McCambride, found a solution to this problem. This problem occured, when you use graphical indicator in the project plan. This is a bug in the Project Professional 2007 and hopefully will be resolved in the next service pack :(
The only solution for this issue is to create a new project in the project without any graphical indicator column and use it for saving a project to the server. You can still use a view with graphical indicator for viewing a project plan.
 
Project Server 2007 Installation in Network load balanced environment
If you want to deploy Project Server 2007 in a network load balanced environment, then few options are available for you depending on the level of scalability and performance required.
 
Option 1:
  • Install Project Server 2007 Web Access i.e. PWA including SharePoint Central Administration on each front end web server (atleast two front end web server)
  • Install SQL Server 2005 on database server
Note: Minimum two Project Server 2007 licenses will be required.
 
Option 2:
  • Install Project Server 2007 Web Access i.e. PWA on each front end web server (atleast two front end web server)
  • Install SharePoint Central Administration on two application servers (Both servers will also be network load balanced)
  • Install SQL Server 2005 on database server
Note: Minimum four Project Server 2007 licenses will be required.
Software Plus Services Blueprint for SharePoint
At the Sharepoint Conference 2008, Bill Gates announced the Silverlight Blueprint for Sharepoint. The full Software Plus Services Blueprint will be available for download via codeplex and via the S+S Blueprints Manager in the near future. Visit http://www.ssblueprints.net/sharepoint to download the samples and screencasts.
 
See available Silverlight Blueprint Web Parts for SharePoint
 
Software Plus Services Blueprint for SharePoint
Interoperability between ProClarity products and Microsoft SharePoint products.

The combination of ProClarity Server configuration and desired WSS/SharePoint version are summarised in the table below.

 

Combination

Supported ProClarity for SharePoint Portal Server Web part

PAS 6.2 and SharePoint Portal Server 2003

The earlier version of the ProClarity for SharePoint Portal Server Web part

PAS 6.3 and SharePoint Portal Server 2003

ProClarity for SharePoint Portal Server Web part version 6.2

PAS 6.3 and SharePoint Server 2007

ProClarity for SharePoint Portal Server Web part version 6.3

PAS 6.2 and SharePoint Server 2007

The ProClarity for SharePoint Portal Server Web part is not supported. Instead, use the SharePoint page viewer Web part.

If both ProClarity 6.3 and WSS 3.0/MOSS 2007 are installed on the same computer, then we must not create SharePoint Site on “Default Web Site: Port 80”. SharePoint Sites can still use Port 80 with any other web site name. See Support URLs from Microsoft.
http://support.microsoft.com/kb/937771/en-us?spid=11373&sid=312
http://support.microsoft.com/?kbid=934074

Test SharePoint Site for Broken Links

Scan broken links functionality in MOSS 2007 can only scan the broken links for sites created under site directory.

Fast Link Checker (http://www.webtweaktools.net/products.html), 3rd party windows based application is an excellent tool to scan the web site and locate broken links and provides a detailed report about all found broken links. It works like a robot of a search engine (Googlebot, MSNBot, WISENutbot, Alexa, etc.).

 

You specify the file to start checking from and Fast Link Checker goes through all pages this file has links to until it checks all links on the site. If Fast Link Checker finds a broken link, it shows its position in the document, the cause why it does not work and a hint how it can be fixed.

 

Fast Link Checker has a flexible management system and can check links to documents, images, scripts and other files. You can check links either only on one page or restrict the level of subdirectories. Fast Link Checker can check links in files available via the HTTP, HTTPS, FTP or FILE protocols and ignores all Gopher, News and mailto: links. It supports HTTP, HTTPS and SOCKS proxy servers. Fast Link Checker allows you to generate and save reports. It implements a multithreaded algorithm allowing it to download and check several pages at a time, which considerably increases the performance.

 

SharePartXXL Newsletter module for Microsoft SharePoint

SharePartXXL Newsletter 3rd party Web Part for Microsoft SharePoint (http://www.sharepartxxl.com/products/newsletter/default.aspx) is an excellent Newsletter module to provide subscription based newsletter. Important features of SharePartXXL Newsletter web part are as follows:

 

  • Dynamic generation of subscription forms (profiles) based on extendable SharePoint lists / views.
  • Data types in columns as well as attributes (“entry required”) are implemented automatically.
  • Prefilled fields in case of logged in user (e.g. name, e-mail, and Active Directory support).
  • Grouped lists of newsletter types can be provided (e.g. for different countries)
  • Double-Opt-In procedure for subscription tracking (confirmation email)
  • Dispatch of template based, personalized newsletters according to subscription.
  • Support of newsletters in HTML and text formats
  • WYSIWYG editing of HTML content
  • Dispatch status for every newsletter
  • Implementation as SharePoint Feature with installation and activation.
  • Automatic generation and validation of required lists
  • Uses SharePoint rights management and settings
  • User-defined placeholders can be defined by columns in a SharePoint list and can be used in the newsletter (body + subject) in the following form [column name].
  • User interface supports multiple languages; German and English are automatically recognized and correspondingly indicated due to the current SharePoint settings. Resource data for other languages can be added by the user when required.
  • Dispatch of newsletters is carried out by a SMTP service with low priority in the background.
  • Preview function and test dispatch of newsletters to marked subscribers possible
  • Support of Sending and Subscription Logging

See screen shot of SharePartXXL web part.

You must try this tool, If you are looking for Newsletter subscription or Mailinglist management tool that can be used on WSS 3.0/MOSS 2007 technology.

 

SharePointXXL Newsletter

 

1 - 20 Next
The posts on this weblog are provided "AS IS" with no warranties, and confer no rights.
The opinions expressed herein are personal and do not represent those of my employer.
View Syed Adnan Ahmed's profile on LinkedIn
 

 Mark Harrison's RSS Feed

 Joel's RSS Feed

 SharePoint Popular Blogs

Adnan's blog on Project Server
Bob Fox's Blog
Spencer Harber (MVP)
Andrew Connell (MVP)
Heather Solomon (MVP)
Dustin Miller
Scot Hiller (MVP)
Ishai Sagi (MVP)
Joel Oleson
Arphan Shah
Mike Watson
Natalya Voskresenskaya
Asif Rehmani

 My Articles

  Extending SharePoint Server 2007 by using Features
  Wrapper API for using Microsoft Active Directory Services
  How to configure SharePoint Portal Server 2003 to search contents of list attachments
  Useful SQL Queries to Analyze and Monitor SharePoint Portal Solutions Usage
  Dynamic HTML Page creation & Search through Free Text and Meta Tags of HTML by Using Index Server
  Encrypt Password Field in SQL Server, Registry Information & Query String

 ‭(Hidden)‬ Admin Links