Tuesday, January 20, 2009

Installation and Setup – Preparing your Server Environment

For SharePoint Installation, i don't think any other article on the web could be better then this.

The thing that is missing on most of the articles are regarding the principal acocunts and permissions.

Proper planning is crucial to the successful implementation of any MOSS 2007 Farm.

Below is guide to preparing your server environment by creating the proper accounts and simplifying permissions by making of use of Active Directory groups.

Step 1 – Create Accounts and Admin Group in Active Directory

The following user accounts should be created:


Server Farm Account = Domain\SP-ServerFarm
Setup User Account = Domain\SP-SetupUser
SQL Service Account = Domain\SP-SQLService


AD Global Group = Domain\SharePointAccounts

Step 2 – Add Accounts to Administrative Group

Add the three setup accounts created in Step 1 to the Active Directory Global Group created in Step 2.

Step 3 – Add Domain Group to Local Administrators Group on SharePoint Servers

Add the Active Directory Global Group (Domain\SharePointAccounts) to the Local Administrators Group of every Web Front End or Application Server within your SharePoint Farm.

Note: You may also use Active Directory Group Policies to accomplish this.

Step 4 – Add Account to the SQL Server Local Admin Group

Add the SQL Service Account (Domain\SP-SQLService) to the Local Administrator Group of your SQL Server.

Step 5 - Assign SQL Server Roles

Create the following Logins and assign the defined Roles on the SQL Instance to be used for the installation of MOSS 2007:

Logins Roles
Domain\SP-ServerFarm dbcreator, securityadmin
Domain\SP-SetupUser dbcreator, securityadmin
Domain\SP-SQLService dbcreator, securityadmin, sysadmin
========= ===== === ==== = ================= =============

Domain-level SharePoint User Accounts (Farm Deployment Only)

Setup User Account

SQL Server Service Account

SharePoint Farm Account

Shared Services Provider (SSP) Account

SSP Service Account (Timer Service)

My Sites Application Pool Account

Search Service Account

Content Access Account

User Profiles Access Account

Excel Services Account

Application Pool Identity Account

STSADM command to update the solution

stsadm -o upgradesolution -name -filename C:\join0120\ -allowGacDeployment -immediate

Monday, January 19, 2009

The trial period for this product has expired

you may get this error sometime while working with a website that is developed using Sharepoint.With this error message do not think that the trial period of your shrepoint has got expired.Rather this error comes due to a DCOM permissions bug.
To fix please add your MOSS web application's IIS Application Pool domain account to the local BUILTIN\Administrators user group and then it works fine.

SharePoint Designer Server error: This item cannot be deleted because it is still referenced by other pages

Server error: This item cannot be deleted because it is still referenced by other pages

You might get this error when you try to delete a master page from the _catalogs directory.

Following solution worked for me.

Open the Master gallery in Explorer view
Create a Directory named "Delete"
Cut all the un-wanted Master Pages and paste it inside the "Delete" directoty
Delete the "Delete" Directory