Jean Paul's Blog

There are 2 types of People in the World, One who Likes SharePoint and..

  • Microsoft MVP

  • MindCracker MVP

  • CodeProject MVP

  • eBook on SharePoint 2010

  • eBook on Design Patterns

  • eBook on Windows Azure

  • NLayers Framework @ CodePlex

  • MSDN Forums

  • .Net vs. Java

    Due to Public Demand

Posts Tagged ‘administration’

SharePoint 2010 – Creating Web Application

Posted by JP on March 8, 2012

SharePoint 2010 – Creating Web Application

In the previous article we have seen how to view the existing web applications using Central Administration.

IIS Manager

Each web application inside SharePoint are configured along with IIS (Internet Information Services). Use the inetmgr command to view the IIS Manager as shown below:

image

The above highlighted applications represent the SharePoint port 80 web application and Central Application web application.

Steps in creating Web Application

Now we can create the web application inside our SharePoint instance. New web application can be used to support a new set of users. For creating please follow the following steps.

Open the Central Administration from Start Menu and click on Manage Web Applications item.

image

In the appearing window you can see 2 items. The default web site and Central Administration site. The default web site is created on SharePoint installation. The Central Administration is the website which is used by Administrators – it contains items to manage existing web sites, create new website and other tasks. Click on the New button from Ribbon UI.

Here you can set the following options:

· IIS Web site

· Application Pool

· Security

· Database Name

Leave the default values except in the Security Account in Application Pool.

Press the Ok button and you will see following busy screen. Web Application creation is a time consuming process and may take several minutes.

Waiting for a while you can see that the new web application is created.

Please note the port number of our new web application.

Summary

In this article we have seen how to create a new web application using Central Administration. Please note that each web application created are created inside IIS for the machine.

Advertisements

Posted in SharePoint | Tagged: , , | 1 Comment »

SharePoint 2010 – Central Administration

Posted by JP on March 8, 2012

In this article I would like to experiment with Central Administration web application.

About Central Administration

The SharePoint Central Administration is a website used for:

· Application Management (Web Application, Sites, Lists, Services etc.)

· Monitoring (Job Status, Problems etc.)

· Security

· Application Settings, System Settings

· Performing Backup/Restore

· Configure Search, Services, Migration Assisting etc.

In summary the Central Administration is the Administrator/Developer tool. It is used to manage the websites for other users.

Opening Central Administration

We can access central administration from the start menu item:

clip_image002

On executing the command you can see the following screen in browser (ensure you provided the credentials properly – by default it will be system username and password)

clip_image004

Now we are ready to explore web applications. Before that we need to go through the hierarchy of web application, sites etc.


Hierarchy

Following is the hierarchy of SharePoint Farm, Web Application, Site Collection, Site, Lists and Documents.

clip_image006

Following is the description of the items in the above image:

Server Farm: Server Farm contains multiple components like SharePoint server, Database server providing multiple Web Applications spanned over multiple machines. For development machines one single machine can support all the components.

Web Application: Web Application contains multiple Site Collections. This could be equivalent to an ASP.NET application.

Site Collection: Site Collection contains multiple Sites

Site: Site contains Lists, Documents etc.

Viewing existing Web Applications

On installation, there are 2 web applications by default:

1. SharePoint Port 80 which is the user facing one

2. SharePoint Central Administration meant for Administrators

To view the web applications, click on the Manage web applications link under Applications Management category. You can see the following screen:

clip_image008

Please note the URLs for each web applications.

References

http://www.dummies.com/how-to/content/sharepoints-site-hierarchy-model.html

Summary

In this article we have seen the hierarchy of SharePoint and creation of WebSite and SiteCollection.

Posted in SharePoint | Tagged: , , | 5 Comments »

SharePoint 2010 – Using Lists

Posted by JP on March 5, 2012

In this article we can focus on Lists in SharePoint. We can create multiple lists in SharePoint 2010. The limit can be configured through Central Administration.

For starting with use our site collection url to open the page.

clip_image002

Creating a List

Now we can start by creating a List. As mentioned in the previous article a SharePoint List is a collection of items. We can specify columns as metadata for the List. We can create List based on existing templates or from scratch.

Click on the Lists option from the left side and click the Create button. The following dialog box appears.

clip_image004

Choose one of the template for example Announcements. Enter the name for your list and Click the Create button. The new List will be created as shown below.

clip_image006

You can use the Items or List ribbons to add item, or modify the view.

Adding items to a List

Click on the Add new Announcement link from the List and you will get the following screen.

clip_image008

Enter the details for Announcement and click the Save button. Your new item will get displayed as below.

clip_image010

Deleting a List

We might be requiring deleting an existing entire List. In this case do the following steps.

1. Open the List

2. Click the List ribbon menu item

clip_image012

3. Click List Settings

clip_image014

4. Use Delete this List link

clip_image016

Now the list will get deleted from the site.

Note: In a list there is always an ID column which is hidden. So while creating custom columns for the list, the name ID will be reserved. It is case-sensitive too.

Indexes on List

SharePoint allows us to manage large amounts of data. The data are actually stored inside SQL Server database tables. So we can suggest the Indexing feature of tables to allow faster fetching of records. We can use the Indexed Columns feature of any List to provide Indexing.

Click on the List Settings > Indexed Columns link to pen Indexed Columns page.

clip_image018

Use the Create a new Index in the upcoming page. Choose the column for Indexing and click the Ok button to create Index.

clip_image020

Now the Index will be successfully created and shown in the Index details of List.

clip_image022

In real world scenarios Indexes provide high leverage in data loading and manipulations.

References

http://office.microsoft.com/en-us/sharepoint-foundation-help/create-or-delete-a-list-HA010377306.aspx

Summary

In this article we have explored Lists and Indexes in SharePoint. The list provides an interface to store related entities and library provides document storage facility. There are many more templates to explore in the List section.

Posted in SharePoint | Tagged: , , | Leave a Comment »

SharePoint 2010 – Configuring a Site

Posted by JP on March 5, 2012

In the previous article we have seen how to create Site Collection and Lists, Libraries inside it. In this article we can explore how to configure a site.

For proceeding with please open the site collection which we have created in the previous article. Eg: http://appes-pc/my/personal/dotnet/default.aspx

clip_image002

This is the main page displayed on accessing the url. We can customize the page by adding more contents to it. For this, use the Site Actions > Edit Page option from the left side menu.

clip_image004

The page will appear in Edit Mode as shown below:

clip_image006

We can add Web Parts to the section. The Web Parts can be used to display:

· Image

· Html Content

· Silverlight Application etc.

Time being, we are adding a Content Editor Web Part.

clip_image008

Click the Add button to add the web part to the page.

clip_image010

Use the highlighted area to add new content to the web part. You can add your own contents about the site. You can use the Formatting Ribbon for text formatting, Page Ribbon for inserting Hyperlinks etc. After the editing is finished use the Page Stop Editing button.

clip_image012

Following is the content I have just added:

clip_image014

Site Permissions

Another important configuration feature is Site Permission. Using Site Permission we can enable/disable site users for a particular site collection / site.

Use the Site Settings > Site Permissions menu item to get the screen.

clip_image016

On clicking the Site Permissions item, you can see the following screen.

clip_image018

There are 3 groups of Users

· Members

· Owners

· Visitors

You can select each group and add/remove the users/user groups inside it. In this way the site read/write permissions are managed.

You can always create a new group using Create Group menu item from the ribbon.

There is also a special group called Site Collection Administrators accessible from the ribbon.

clip_image020

Site Settings

We can use the Site Settings screen to manage the advanced features of the site like:

· User Permissions

· Site Content Types

· Site Columns

· Regional Settings

· Workflows

· Themes

· Site Features

· Search Settings

The Site Settings can be accessible from My Site > Site Settings menu item.

clip_image022

References

http://technet.microsoft.com/en-us/library/ee656740.aspx

Summary

In this article we have explored Configuring a site in SharePoint 2010.

Posted in C# | Tagged: , , | Leave a Comment »

SharePoint 2010 – Site Collections, Subsites, Top-Level Site

Posted by JP on March 5, 2012

In this article I would like to experiment with Top Level Site creation. We need to use the Central Administration application to do this.

What is Site Collection?

A site collection is a group of web sites that have the same owner and share same settings.

For example A Document Site Collection can contain Word Document Site, Excel Document Site under it.

Please note that we should create a site collection inside a web application.

What is Top Level Site?

Site Collection can be divided into two:

1. Subsites

2. Top Level Site

Subsites are those sites under the site collection.

Top Level site is a site not created under another site. A top level site can have subsites under it.

Note

All the content of site collection are stored inside the configured SQL Server database. We can add upto 15000 (configurable value) site collections inside the content database. Often the term sites is used to represent site collections.

Creating Site Collection

Now we can experiment with creating site collection. Open the Central Administration web application through the start menu.

clip_image002

We are going to create a site collection for a group of Microsoft .Net users in the company.

Click on the Create site collections link as shown above. You will get the following screen.

clip_image004

Enter the details in the highlighted areas. The description of which is given below:

Item

Description

Web Application

Choose your web application. By default there is only one web application.

Title

Title for your site collection, appears in browser

Description

Description of your site

Url

Enter the url suffix. This url can be shared for the group of users.

User Name

The users who are allowed to access this site collection. Use the Check Names option to auto complete the qualified user name after entering the user name.

On clicking the Ok button and waiting for a while the new site collection will get created. A message appears like shown below.

clip_image006

Click the Ok button to return to Central Administration.

Now you are ready with the new site collection. You can share the url between the intended users. On my machine the url was: http://appes-pc/my/personal/dotnet/default.aspx. Opening the url in browser the following page was displayed.

clip_image008Now the users of the site collection can create new sites inside this site collection. We can explore that in the next chapters.

References

http://technet.microsoft.com/en-us/library/cc263094.aspx

Summary

In this article we have explored Site Collection Creation. Please note that an ordinary user do not have permission to create top level sites.

Posted in C# | Tagged: , , | Leave a Comment »

SharePoint 2010 – Installation on Windows 7

Posted by JP on February 22, 2012

In this article we can proceed with the installation of SharePoint 2010. Depending on your operating system and edition of SharePoint the installation files varies.

Editions

Following editions are available for SharePoint 2010:

· Foundation

· Standard

· Enterprise

Software Pre-Requisites

Following are the software pre-requisites

· 64 bit Operating System (Windows 7 / Windows Vista SP2 / Windows Server 2008)

· .Net Runtime 3.5 SP1 (http://www.microsoft.com/download/en/details.aspx?id=22)

·  MS Chart  (http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=14422)

· SQL Server 2008 R2 (http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=22973)

· PowerShell 2 (http://www.microsoft.com/download/en/details.aspx?id=2560)

· Visual Studio 2010 (http://www.microsoft.com/visualstudio/en-us/try)

· Windows Identity Foundation (64 bit, 32 bit)

Note:64 bit Windows 7 can be installed on a 32 bit computer. For production server the operating system should be Windows Server 2008 and SharePoint Standard/Enterprise.

Download

There are multiple ways for installing SharePoint 2010. Here three of them are listed.

1. You can download a standard trial version from the following link:

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=9344

2. Use the Easy Script to setup development machine with SharePoint 2010

http://www.microsoft.com/download/en/details.aspx?id=23415

This option takes several hours depending on your internet connection speed.

3. Use the Virtual Hard Drive (VHD) option to have a preconfigured environment for learning

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=27417

Installation

Download the file specified in option 1. After the download execute the file SharePointServer.exe

clip_image002

You will get the following screen:

clip_image003

Use the Install software prerequisites menu item from the Install category. As the installer check for Windows Server 2008 operating system you will get the following error.

clip_image005

We need to proceed with an alternative way for installation.

Proceeding with Installation

Open the command prompt and execute the following command:

SharePointServer.exe /extract:d:\SharePointFiles

(Ensure that you are specifying the folder in which enough space is there)

clip_image007

You will see the following message box after a while:

clip_image009

So now we are ready with the files in the specified folder.

Modify the config.xml

Locate the config.xml file from the folder SharePointFiles\Files\Setup

Add the following tag inside the configuration section:

<Setting Id=”AllowWindowsClientInstall” Value=”True”/>

[Make sure the Double Quotes are Corrected after copy paste]

Run the Setup.cmd file

Now open the SharePointFiles folder and locate the Setup.cmd file.

clip_image011

Execute the command file and the installation will show the previous screen. First use the Install Pre-requisites option to install the required components. Next use the Install SharePoint Server option to continue. Now the following new screen is prompted.

clip_image013

Enter the following key for trial edition: VK7BD-VBKWR-6FHD9-Q3HM9-6PKMX. On pasting the key automatic validations happens and the Continuebutton gets enabled. Click the button to continue.

clip_image015

Accept the terms and again click Continue button.

clip_image017

In the above screen use the Standalone option to install all the SharePoint components in your machine. Now the installation starts..

clip_image019

Waiting for around 10 minutes, the installation will get completed click the Close button.

Configuration

If you checked the Configureoption from the previous screen you will get the following Configuration wizard. Click the Next button to continue..

clip_image021

The wizard will perform activities like configuration of database, registering services, sample data creation etc. It will take almost 10-15 minutes for completion. On completion you can see the following dialog box.

clip_image023

Click on the Finish button to close the dialog.

Post Installation

After the installation you will be able to see the following start menu item:

clip_image025

Open the SharePoint 2010 Central Administration item and you will get the following prompt:

clip_image027

Enter the machine user name and password and proceed by clicking Ok button.

clip_image029

If you can see the above screen then you are ready with a successful installation.

References

http://msdn.microsoft.com/en-us/library/ee554869.aspx

Summary

In this article we have seen the trial installation of SharePoint 2010. The above installation is useful for evaluating SharePoint features and setting up a developer machine.

If you face trouble logging into the site (eg: http://machine-name) you can try this link:

Posted in SharePoint | Tagged: , , , | 20 Comments »

SharePoint 2010 – Introduction

Posted by JP on February 22, 2012

SharePoint is a web application platform created by Microsoft. It is considered to be one of the most productive frameworks created by Microsoft in the last decade. SharePoint provides us the following feature support.

clip_image002

It provides us the following features:

· Sites

· Mobile Support

· Collaboration

· Document Management

· Content Management

· Enterprise Search

· Excel Services

· Extensibility

· Business Intelligence

· Visio Service

History

The SharePoint versions will be similar to that of office like SharePoint 2007, SharePoint 2010 etc. SharePoint started as a document sharing framework for Microsoft Office so that people can share their Word, Excel, PowerPoint documents. Later more features and extensibility was provided and SharePoint evolved as a highly productive component in the Microsoft Products Arena.

Versions

The latest version available is SharePoint 2010.

Advantages of SharePoint

So anybody could raise the question of Why SharePoint instead of ASP.NET or other frameworks?

For IT Professionals, SharePoint allows us to create websites rapidly. It provides faster site creation with lots of inbuilt features like Content Management, Collaboration etc. These all possible at the cost of learning the skill: Administration of SharePoint.

For Developers, SharePoint provides extensibility through programming. The SharePoint Object Model, WebParts etc. provides excellent start to developers in extending the features of SharePoint. Developers can take advantage of the inbuilt features extension like Document Management, Search etc. The skill for attaining these would be: Programming SharePoint.

SharePoint is one of the technologies where Administration and Programming (IT Professionals and Developers) are of core importance.

If you are an Administrator then you can survive without Programming skills. But if you are a developer you need both the Administration and Programming skills.

As an example for creating a CRUD list in ASP.NET takes 8 hours of programming at least. In SharePoint we can achieve the same in just 5 minutes with high flexibility in extensibility.

Architecture

One of the major architectural changes in SharePoint 2010 is that Shared Services Provider no longer exists. Now the services configuration is more flexible and we can add our own services to the platform called as Service Applications. We can share the same service application across the farm and SharePoint provides instance management.

Services can be remotely managed and Central Administration provides this facility. There is a Default Group for services and all services are thus accessible to the entire farm as shown in the figure below.

clip_image004

Tools

Following are the important tools that could be used along with SharePoint to increase the productivity.

· Visual Studio

· SharePoint Designer

· Windows PowerShell

clip_image006 clip_image008 clip_image010

Visual Studio provides developer productivity through web part creation, custom content type addition, workflow creation, event listeners, deployment etc.

SharePoint Designer helps in page layout, creating workflows, file management, workflow management etc.

Windows PowerShell helps with automating tasks like site deployment, site backup and restore through scripts.

Editions

Following are the editions of SharePoint 2010 available.

Edition

Description

SharePoint Foundation

Basic Free Edition having document management and collaboration features.

SharePoint Server Standard

Built on top of SharePoint Foundation and includes business level functionalities.

SharePoint Server Enterprise

Built on top of Standard edition and targets large enterprises.

IIS Integration

It is worth to know how SharePoint integrates with IIS (Internet Information Services). There are two modes of working for SharePoint:

· Classic Mode supported by ISAPI (older IIS Versions)

· Integrated Mode supported by Http Modules (ISS 7)

In the Integrated mode a particular Http Module will be configured for each SharePoint web application and it handles the HTTP requests to provide SharePoint rendering.

Hosting

Following are some of the hosting providers in SharePoint. Depending on the usage, the prices vary from $ 100 per year.

· http://www.webhostforasp.net/sharepoint-hosting/moss-plans.aspx

· http://www.ibeehosting.com/sharepoint-hosting.php

Additionally, Office 365 (new cloud member) supports SharePoint deployment as cloud enabled. Here higher productivity is possible by concentrating just on the application logic instead of configuring servers, setting up farm etc. SharePoint 2010 is supported and the billing will be on usage basis.

· http://www.microsoft.com/en-in/office365/sharepoint-online.aspx

References

http://sharepoint.microsoft.com/en-us/buy/pages/editions-comparison.aspx

Summary

In this article we have seen a quick introduction to SharePoint, history, editions, versions, features. In the next article we will proceed with Installation.

Posted in SharePoint | Tagged: , , , | Leave a Comment »