Professional Documents
Culture Documents
Abstract
Background: The objective of this study is to provide a company and organization an intranet
solution site based on SharePoint Foundation 2010 that will help their team members to work
together efficiently. The study was done in close consultation with companies and organization that
requires challenging ideas on how to meet their requirements on information sharing and by
investigating and learning on how Microsoft SharePoint technology can achieve these goals.
Results: SharePoint site can deliver a solution for business collaboration with its features and
applications. We have created an effective Intranet Website Solution system based on SharePoint
Foundation 2010 Server.
Significance: The significance of the study gave us the opportunity to demonstrate and provide the
company a solution for their intranet site and gave their team members a useful tool for working
together.
1. Introduction
Companies and organizations are finding ways and great solution for their team members to be able
to share significant and vital information throughout the company or organization, and the goal of
this project is to deliver the solution that they needed.
LN Pro ApS is a small IT company in rhus Denmark specializing in development of Commerce
Express an IBM Lotus Notes based CRM system for its clients. The company is in need of an
intranet collaboration website to be presented to its perspective clients. The intranet website will be
based on Microsofts SharePoint Foundation Server 2010 technology. The company asked us to
create an intranet website based on the clients requirement and will run on a Microsoft SharePoint
Foundation Server 2010 system. The clients intranet site is requiring us to program all the
functionalities of a SharePoint website.
The aim of this project was to create an Intranet Solution Site based on SharePoint Server
Foundation 2010. The system will create an environment for the employees and team members of
the organization where they can share information quickly and efficiently.
The intranet system that we created will be the basis for the company to take advantage of the
SharePoint technology and the significant role it will provide to their business. The system was
carefully planned and executed through thorough investigation, learning process, and teamwork.
The following chapters of this report will provide the reader a deep understanding about the Intranet
SharePoint Site system that we created and the methodologies that we used. Thus this project will
not only open a new and challenging idea but can also achieve the companys goal of an effective
channel of communication in information technology.
This is a brief overview of the SharePoint architecture implemented in this project. The
development environment was done on Windows 7 Professional (64 bit) operating system as part of
the SharePoint Foundation 2010 server requirements. Internet browser, Visual Studio 2010,
SharePoint Designer 2010 are the users interface for the use and development of the SharePoint
site.
SharePoint Foundation Server 2010 is the core foundation in building the intranet website that
includes the following features and applications:
1. List, Libraries, Content Types, Field Types this service allows the users to store,
manage, and share all types of files and data that the team members need for collaboration
within the company or organization.
2. Web Parts this is the structure of a SharePoint site within the page where the different
data and applications are easily accessible by the user.
3. Web Pages consists of a Master page and other web pages built on top of ASP.NET,
these pages is the users interface to access data and applications that runs in the
SharePoint site.
4. Site Definition is the definition of what a site is in SharePoint, it consists of .aspx pages
and xml files with Collaborative Application Mark-up Language (CAML).
5. Service Application the application services available to SharePoint site that includes
web content management, search service, email integration, Business Connectivity
services, that can be shared across the site and can be access by the user through a hosting
web application.
6. Security and Authentication the permission and roles assigned to the groups and team
members that restrict different users to control the access specific SharePoint site and
pages.
IIS (Internet Information Server) is one of the most powerful web servers from Microsoft that is
used to host your ASP.NET Web application. IIS has its own ASP.NET Process Engine to handle
the ASP.NET request. So, when a request comes from client to server, IIS takes that
request and process it and send response back to clients.
3
The ADO.NET Data Services framework is Microsofts technology for creating and consuming
data services. These data services use the Entity Data Model (EDM) to model data in terms of
entities. These entities are exposed as URI-addressable resources that can be accessed using
standard HTTP requests. ADO.NET Data Services also establishes uniform patterns that UI widget
frameworks and libraries can leverage to provide additional services on top of the data services.
http://en.wikipedia.org/wiki/Microsoft_SQL_Server
Article posted by Abhijit Jana on 3/14/2010 - http://www.dotnetfunda.com/articles/article821-beginners-guide-howiis-process-aspnet-request.aspx
3
Mike Flasko - Microsoft Corporation Published: August 2008- http://msdn.microsoft.com/enus/library/cc956153.aspx
2
4. System Specification
4.1 Use Case Model
Use case model is a tool used for defining system specifications. It describes the goals of the
users, the interaction between the users and the system.
The use case diagram shows the functionalities for the system. There are to actors Admin and
User. The association between user/admin and use cases, shows the functionalities which the
user/admin can use. The inheritance between the admin and the user means, that the admin have the
same functionalities as the user has.
*Please see Use Case Specification on Appendix A
5. Site Planning
The requirements of the intranet site were carefully planned and various consultation and references
was made before the beginning of the project. The intranet website project is composed of a top
level site and below is the sub site collection that includes the following departments:
1.
2.
3.
4.
5.
Human Resources
Marketing
Sales
Finance
I.T.
Each sub site will also implement the required functionalities. Each users and members will be
assigned a specific authorization and permissions within the site.
6. Web Parts
Web parts provide the users the access to different applications and data on the same page. This is a
useful tool for a dynamic and collaboration site such as SharePoint. Web part is a list in SharePoint
site and a reusable item that can be implemented in different sites in the site collection. This section
will explain the functional description of the web parts and code.
Figure 6.1.1 Code location for Departments web part in Project Solution
Figure 6.1.2 shows the actual layout and design of the departments web part. Consist of five
different links to each departments home page.
Figure 6.1.3 shows the code for the departments link web part. Each department is enclosed on a
hyperlink markup that will eventually send the user to the departments homepage. The link for the
CSS is also included in the code for the web parts format that point out to the url of the CSS file.
Figure 6.2.1 Code location for Company News web part in Project Solution
Figure 6.2.2 shows the actual layout and design of the company news web part. The heading,
the content part, the add new item button can be use by the member to add a new item on the
news area. The user can view recent posted news, add a new item to the news, delete or edit
the news that the member posted.
Intranet Website Solution
Based on Microsoft SharePoint Server
Foundation 2010
16
Figure 6.2.3 shows the partial xml code of company news web part which creates the fields
title and body forms. The view of the forms is also coded in xml that will display the
company news items of the web part. The data of the company web part list are stored on the
SharePoints SQL database server.
Figure 6.3.1 Code location for Announcements web part in Project Solution
Figure 6.3.2 shows the actual layout and design of the Announcement web part. The heading,
the content part, the add new announcement button can be use by the member to add a new
item on the announcement area. The user can view recent posted announcement, add a new
item to the announcement, delete or edit the announcement that the member posted.
Figure 6.3.3 shows the partial xml code which creates the fields title, body, and expiry date.
The view of the forms is also coded in xml that will display the announcements items of the
web part. The data of the announcement web part list are stored on the SharePoints SQL
database server.
Figure 6.4.1 Code location for Discussion Board web part in Project Solution
Figure 6.4.2 shows the actual layout and design of the Discussion Board web part. The
heading, the content part, the add new discussion button can be use by the member to add a
new subject on the discussion area. The user can view recent posted discussion, add a new
item to the discussion, delete or edit the discussion that the member posted.
Figure 6.4.3 shows the partial xml code which creates the fields subject and body. The view
of the forms is also coded in xml that will display the discussions subject, author, replies, and
the date when the subject was last updated from the web part. The data of the discussion
board web part list are stored on the SharePoints SQL database server.
Figure 6.5.1 Code location for Information web part in Project Solution
Figure 6.5.2 shows the actual layout and design of the Information web part. The heading, the
content part, the add new item button can be use by the member to add a new information on
the information area. The user can view recent posted information, add a new item to the
information, delete or edit the information that the member posted.
Intranet Website Solution
Based on Microsoft SharePoint Server
Foundation 2010
22
Figure 6.5.3 shows the partial xml code for the information web part which creates the fields
title and body. The view of the forms is also coded in xml that will display the title and the
body of the web part. The data of the information web part list are stored on the SharePoints
SQL database server.
Figure 6.6.1 Code location for Quick Links web part in Project Solution
Figure 6.6.2 shows the actual layout and design of the quick links web part. The links will
send the user to another window that points to the sites url.
Figure 6.6.3 shows the code for the quick link web part. Each link is enclosed on a hyperlink
markup that will eventually send the user to the external site s homepage that will opens to a new
window.
Identity can identify anything its like a group of information that identifies a user. When
Identity is passed as a stream of bytes, then its called Token. Token contains information
about the user in the Claim format, and the token contains specific information.
Token can be XML based Security Assertion Makeup Language (SAML) format. But an
application can also use a simpler token called Simple web Token (SWT). Benefit is that we do not
pass user credential but, but other information about the user to the application.
Identity provider authenticates the user and creates the token with claims, and also known as
Security token services (STS)
8. Main Site
This is the first page that will be displayed to the user after logging in to his/her account. The main
site consists of a masterpage, a default page, the links, and the web part features and functionality.
The area is divided into four parts, 1. the header part where the company logo, login menu, 2. the
top menu links, 3. quick launch menu area where the other site menus are located, and the 4.
content area of the main page where the content and web parts of the site and pages will be placed.
*Please refer to Table 8.1 for the detailed description of the Main Site default page.
Figure
Label
A
Functions
Description of Functionality
Logo
Site Title
Display the specific title of the page that will guide the users when
exploring the site.
Accounts Menu
This is where the user can Login or Logout from their account.
Top Menu
The horizontal navigation menu that links to sites other pages and
functionalities.
Search Bar
Help Button
Launch Menu
The vertical navigation menu that links to the sites other pages
and functionalities.
Content Area
This is the area where the content, web parts and functionalities
are displayed.
8.1 Masterpage
File Name: mycustom.master
Location:http://rootsite/_catalogs/masterpage/mycustom.master
The master page was implemented and will serve as the template for all the sites and pages
within the site collections, the layout will be inherited by all the pages. The main parts of the
master page consist of header part where the company logo, site title, accounts menu, top
menu bar, search bar, and help menu button is placed. The quick launch menu and all site
content is at the left side part of the page. The body of the page is located in the content area
of the page. *Please refer to Figure 8.1 for the visual representation.
Company News
Announcements
Information
Discussion Board
Quick Links
Every departments site will inherit the default masterpage that we created. Every department also
have individual default page, these default pages will have the container for the web parts. All the
pages, features, and functionality were deployed on the SharePoint server. Each member or groups
within the department has their own permission level which let them perform tasks.
11. Calendar
Calendar is another feature of SharePoint where a group or member can create and share their
schedule to the team members. You can add event to the calendar so that team members can view
that specific event when they log in.
15. Testing
Testing is an important part of the system, to keep errors and to make our system stable. There are
many kinds of testing. There are two testing parts White Box Testing and Black Box Testing.
In our case we are only using Black box testing. White box testing includes Unit-Test and
integration test, and these 2 are not part of our system, but what we are doing is Black box testing,
where we use Performance testing and System testing.
With System testing we are making sure that everything in our system is working as we expected it
to work. With performance testing, we are testing if the site and the URL and links acting without
any errors.
* Please see Appendix B for all result for the System Test and Performance Test
16. Results
The outcome of this project is a working intranet system site that is running on SharePoint
Foundation 2010 server. Information sharing and collaboration with team members are just amongst
the benefits of the system. The usefulness, applications, and features of SharePoint site makes it
easier for the user to get engaged and get easy access to any important information they needed. We
are able to create a site for the company and for each department that needs the same functionality
that an intranet has to offer.
The member can participate and contribute to the content of the site which will be a valuable asset
to the company. Sharing files and documents makes it possible with the SharePoint sites
application. The project was able to achieve its goals and company requirements by implementing
all the necessary tools for an intranet site.
17. Discussion
This focus of this project is to deliver an intranet system based on SharePoint technology using
SharePoint Foundation server 2010 and its functionalities. How to build the system base on the
companys requirements and what tools and methodologies we need to implement such.
It is critical in every business and its members to have easy access to important information, thus
our system accomplished these objectives in a way that the site performs the necessary tools
needed. Team members can contribute by means of posting news, announcements, information that
others may need. Sharing files and documents can be done and manage easily.
There are two available servers for the SharePoint one is the Foundation Server and the other is the
SharePoint Server. This maybe out of our scope but plays a significant role in creating SharePoint
site. The difficulties we encounter occurs by doing this project is the limitations of what a
SharePoint Foundation 2010 server can do, but without any further discussion about this subject we
recommend the use of SharePoint server for its advance features and functionality both for the user
and the developer.
The system is done in a way, so they dont need to navigate a lot in the system, but where they have
everything in front of them, and by one click the member can submit the valuable content to the
site. The best thing we have on our system is, members in the company can share information, so
when a member logs into the system they can see the information shared right away.
In future developments of the system we would take advantage of the integration of the social
media in SharePoint site, we want create a social environment for the members. And that also send
a clear message to the members that its about communication and collaboration with each other.
18. Conclusion
The intranet system site has the functionality that meets the companys requirements. The tools and
methodologies that we used to create a working system were made possible by research,
consultation, learning, creating, and implementing SharePoint tools and technology. Based on the
discussion presented, there are more features and applications can be implemented in the project
and can be done with the continuous development of the intranet site. With this system the team
members of the company can now utilize and take advantage of its features and application to be
able to work together more efficiently and effectively. Information Technology on its own words is
the core of our system.
References
[1] http://shermanstechnicalblog.blogspot.dk/2012/10/adding-custom-css-file-to-your-visual.html
[2] http://www.codeproject.com/Articles/268236/Claim-based-Authentication-and-WIF
[3] http://fabiangwilliams.wordpress.com/2010/07/03/how-to-create-content-types-with-sitecolumns-in-code-visual-studio-2010-for-sharepoint-2010/
[4] http://rickhilferink.wordpress.com/2011/01/25/creating-a-sharepoint-2010-foundationmasterpage-solution-and-automatically-activate-it-for-all-sites-and-newly-created-subsites/
[5] http://pooyakhamooshi.blogspot.dk/2011/01/how-to-add-custom-css-and-js-files-to.html
[6] http://sharepointgeorge.com/2009/creating-web-application-site-collection-sharepoint-2010/
[7] http://blogs.msdn.com/b/kaevans/archive/2010/07/09/creating-a-custom-login-page-forsharepoint-2010.aspx
[8] http://msdn.microsoft.com/enus/library/hh537935.aspx#CustomizingSP2010WebPartUI_AdditionalResources
[9] http://www.sharepointbriefing.com/spcode/develop-sharepoint-2010-content-type-using-visualstudio-2010.html
[10] http://blogs.technet.com/b/mahesm/archive/2010/04/07/configure-forms-based-authenticationfba-with-sharepoint-2010.aspx
[11] http://aarebrot.net/blog/2010/06/frodes-awesome-list-of-sharepoint-column-field-ids-forsharepoint-2010/
[12] http://www.c-sharpcorner.com/Forums/Thread/182458/how-to-create-page-layout-insharepoint-2010-using-visual-st.aspx
[13] http://www.mssharepointtips.com/tip.asp?id=1093&page=2
[14] http://www.youtube.com/watch?v=mFHQYQIMVPk
[15] http://dotnet.dzone.com/articles/introduction-unit-testing-net
[16] http://www.youtube.com/watch?v=_2O5u9ZDzuM
[17] http://www.heathersolomon.com/blog/articles/controlling-single-web-parts-with-css.aspx
[18] http://social.technet.microsoft.com/wiki/contents/articles/8871.sharepoint-2010-how-to-set-upa-development-environment-en-us.aspx
[19] http://blogs.msdn.com/b/kaevans/archive/2010/07/09/sql-server-provider-for-claims-basedauthentication-in-sharepoint-2010.aspx
[20] http://blogs.msdn.com/b/bethmassi/archive/2011/02/18/step-by-step-installing-sql-servermanagement-studio-2008-express-after-visual-studio-2010.aspx
[21] http://msdn.microsoft.com/en-us/library/ff769953.aspx
[22] SharePoint 2010 Development with Visual Studio 2010, Eric Carter, Boris Scholl, Peter
Jausovec ISBN-13: 978-0-321-71831-0, ISBN-10: 0-321-71831-3
[23] http://msdn.microsoft.com/en-us/library/ee554869(office.14).aspx
[24] IT Department, VIA University College, Aarhus Denmark
[25] https://studienet.viauc.dk/
Appendices
APPENDIX A
APPENDIX B
System testing
Case
C1
C2
C3
C4
Description
Log in to the system
Sign out from the system
Clicking one of the
departments in the main site
Add Announcement
C5
Edit Announcement
C6
Delete Announcement
C7
Add Company News
Intranet Website Solution
Based on Microsoft SharePoint Server
Foundation 2010
Expected result
Main site will appear.
Log in page will appear
New site will appear for the
chosen department.
Dialog box will appear; where
user can fell the fields and
click save, dialog box
disappear.
Dialog box will appear; where
user can edit the fields and
click save, dialog box
disappear.
Dialog box will appear; where
user can click Ok, dialog box
disappear.
Dialog box will appear; where
T/F
T
T
T
T
52
C8
C9
C10
Add Information
C11
Edit Information
C12
Delete Information
C13
Add Discussion
C14
Edit Discussion
C15
Delete Discussion
C16
C17
View links
Add Post to the Company
Blog
C18
Edit Post
C19
Delete Post
C20
Add Category
C21
Edit Category
T
T
T
T
C22
Delete Category
C23
Add Comment
C24
Edit Comment
C25
Delete Comment
C26
Share a document
C27
C28
Delete Document
Add Contact
C29
Edit Contact
C30
Delete Contact
C31
C32
Edit Event
C33
C34
C35
C36
C37
T
T
T
T
T
T
T
T
T
T
APPENDIX C
4
Setting Up the Development Environment for SharePoint 2010 on Windows Vista, Windows
7, and Windows Server 2008
Published: May 2010
When you create or customize SharePoint solutions, it is usually best to develop the solution on a
local computer where Microsoft SharePoint Server 2010 or Microsoft SharePoint Foundation 2010
is installed. This article describes how to install a development environment with Microsoft
SharePoint 2010 and Microsoft Visual Studio 2010. The development environment that you create
by using these instructions will not support SharePoint farm installations, and you should not host
active production sites with this configuration. These instructions enable you to get started with an
environment that is specifically suited to developing SharePoint custom solutions.
The requirements for a development environment are less stringent and costly than the requirements
for a production environment, and the guidelines in this topic do not support a production
environment installation. You have several options for preconfiguring the operating system of a
local computer on which you will install SharePoint 2010 for development purposes. The choice
that you make will be determined by factors specific to your organization and environment (such as
budget, the size of your development team, and the operating systems that you and your
organization are already using).
In any development environment, you should use a computer with an x64-capable CPU, and at least
2 gigabytes (GB) of RAM to install and run SharePoint Foundation; 4 GB of RAM is preferable.
You should use a computer with 4 GB of RAM to install and run SharePoint Server; 6 GB to 8 GB
of RAM is preferable.
Following are the options:
Install SharePoint on Windows Server 2008 Service Pack 2 x64 (or Windows Server 2008
R2 x64).
http://msdn.microsoft.com/en-us/library/ee554869(office.14).aspx
Use Microsoft Hyper-V and install SharePoint on a virtual machine running a Windows
Server 2008 Service Pack 2 x64 (or Windows Server 2008 R2 x64) guest operating system.
Install SharePoint on Windows 7 x64, Windows Vista Service Pack 1 x64, or Windows
Vista Service Pack 2 x64.
Use Microsoft Hyper-V and install SharePoint on a virtual machine running a Windows 7
x64, Windows Vista Service Pack 1 x64, or Windows Vista Service Pack 2 x64 guest
operating system.
You must install the WCF Hotfix for Microsoft Windows. The hotfix is available for Windows
Server 2008 Service Pack 2, Windows Vista Service Pack 1, and Windows Vista Service Pack
2 and for Windows Server 2008 R2 and Windows 7.
If you are using Windows Vista Service Pack 1 or Windows Vista Service Pack 2, install the hotfix
for ASP.NET on IIS 7.0 (KB967535). This hotfix, which has already been installed on Windows 7,
Windows Server 2008 Service Pack 2, and Windows Server 2008 R2, updates the ASP.NET
common language runtime (CLR) to recognize a new option of optimizing compilations. To take
advantage of this option, set the optimizeCompilations property of the <compilation> tag in your
web.config file to true:
XML
<compilation optimizeCompilations="true">
This change significantly improves the initial page load time after you have installed a solution to
the bin directory.
You must install the ADO.NET Data Services Update for .NET Framework 3.5 SP1 to enable
REST-based data services. This update is available for Windows Server 2008 Service Pack 2,
Windows Vista Service Pack 1, and Windows Vista Service Pack 2 and for Windows Server 2008
R2 and Windows 7.
Windows 7 and Windows Vista cannot be used for production deployments of SharePoint 2010. If
you use Windows 7 or Windows Vista for your development environment, you should have access
to a test environment that has the same operating system installed as your production environment.
Windows 7 and Windows Vista are recommended only for developer workstations and should be
used only for stand-alone installations. You can use a separate Microsoft SQL Server instance, but
you should not configure your installation as a SharePoint farm and you should not host active sites
on this configuration.
SharePoint requires your operating system to have certain prerequisites installed before installation
begins. For this reason, SharePoint includes a PrerequisiteInstalle.exe tool that installs all of these
prerequisites for you. If your developer workstation is set up with the Windows Server 2008 Service
Pack 2 or Windows Server 2008 R2 operating system, you can install SharePoint 2010 by running
the PrerequisiteInstaller.exe tool (which is included with SharePoint 2010) to install the
prerequisites that SharePoint needs, and then run Setup.exe. However, you cannot use
PrerequisiteInstaller.exe on Windows 7 or Windows Vista. For those operating systems, you must
follow the additional instructions in this section.
Because the default installation works only for Windows Server 2008, you must edit one
configuration file and install many of the prerequisites manually. You must perform each of the
following steps while logged on with an account that has administrator access on the local
computer. These steps assume that you received the SharePoint 2010 distribution as a single
compressed executable file namedSharePointFoundation.exe for SharePoint Foundation 2010
and setup.exe for SharePoint Server 2010.
To set up a developer workstation
1. Copy the SharePointFoundation.exe (or setup.exe) installation file to a folder on the
computer where you are installing SharePoint and doing your development, such as in the
following path:
c:\SharePointFiles
2. Extract the installation files by opening a Command Prompt window, and then typing the
following command at the directory location of the folder where you copied the installation
files in the previous step.
For SharePoint Foundation 2010:
c:\SharePointFiles\SharePoint /extract:c:\SharePointFiles
For SharePoint Server 2010:
c:\SharePointFiles\OfficeServer /extract:c:\SharePointFiles
3. Using a text editor such as Notepad, open the installation configuration file, config.xml,
located in the following
path:c:\SharePointFiles\files\Setup\config.xml
Add this line inside the <configuration> tag:
XML
<Setting Id="AllowWindowsClientInstall" Value="True"/>
4. Save the configuration file.
5. Review the complete configuration file. It now looks similar to the following for SharePoint
Foundation 2010. The complete configuration file will be longer for SharePoint Server 2010
(and therefore the text below cannot replace the contents of that file), but should use the
same setting for the AllowWindowsClientInstall attribute.
XML
<Configuration>
<Package Id="sts">
<Setting Id="SETUPTYPE" Value="CLEAN_INSTALL" />
</Package>
<DATADIR Value="%CommonProgramFiles%\Microsoft Shared\Web Server
Extensions\14\Data" />
<Logging Type="verbose" Path="%temp%" Template="Microsoft Windows
SharePoint Services 4.0 Setup *.log" />
<PIDKEY Value="PIDKey Value" />
<Setting Id="UsingUIInstallMode" Value="1" />
<Setting Id="SETUP_REBOOT" Value="Never" />
<Setting Id="AllowWindowsClientInstall" Value="True"/>
</Configuration>
All of the text in this configuration file is case-sensitive. If you do not edit the configuration
file as described in the previous step or if you do not save the configuration file, when you
try to run the installation you see the error message shown in Figure 1.
6. If you are using Windows Vista Service Pack 1 or Windows Vista Service Pack 2, you must
install the following prerequisites:
.NET Framework 3.5 SP1
Windows PowerShell 2.0
Windows Installer 4.5 Redistributable
7. If you are using Windows Vista Service Pack 1, Windows Vista Service Pack 2, or
Windows 7, install the following additional prerequisites:
Microsoft FilterPack 2.0. At a command prompt, type the following:
c:\SharePointFiles\PrerequisiteInstallerFiles\FilterPack\Filte
rPack.msi
Microsoft Sync Framework
SQL Server Native Client
Windows Identity Foundation (Windows6.1-KB974405-x64.msu)
Chart Controls (this is not required if you are going to install SharePoint Foundation
2010).
SQL Server Analysis Services - ADOMD.Net (this is not required if you are going to
install SharePoint Foundation 2010).
8. Manually enable each of the required Windows Features. You can do this quickly by
copying and running the following command in a Command Prompt window.
23. Restart your computer to complete the changes that you made to Windows Features.
Step 3: Install SharePoint 2010
1. To install SharePoint Server 2010 or SharePoint Foundation 2010, open a Command Prompt
window, and then type the following at the command prompt:
2. c:\SharePointFiles\Setup.exe
3. Accept the Microsoft Software License Terms.
4. On the Choose the installation you want page, click Standalone to install everything on
one developer workstation.
5. If any errors occur in the installation, review the log file. To find the log file, open a
Command Prompt window, and then type the following commands at the command prompt.
The log file is displayed at the end of the directory listing.
6. cd %temp%
7. dir /od *.log
8. After the installation is complete, you are prompted to start the SharePoint Products and
Technologies Configuration Wizard. If you are using a local instance of Microsoft SQL
Server 2008, install the Microsoft SQL Server 2008 KB 970315 x64 before starting the
wizard. If your development environment uses a remote instance of Microsoft SQL Server
2008 or if it has a pre-existing installation of Microsoft SQL Server 2008 on which KB
970315 x64 has already been applied, this step is not necessary. With the wizard open, do
the following:
a. Install SQL Server 2008 KB 970315 x64.
b. After the Microsoft SQL Server 2008 KB 970315 x64 installation is finished,
complete the wizard.
9. Alternatively, you can choose not to run the wizard by clearing the SharePoint Products and
Technologies Configuration Wizard check box and closing the completed installation dialog
box. Install SQL Server 2008 KB 970315 x64, and then manually start the SharePoint
Products and Technologies Configuration Wizard by opening a Command Prompt window
and executing the following command:
10. C:\Program Files\Common Files\Microsoft Shared\Web Server
Extensions\14\BIN\psconfigui.exe
After the configuration wizard is complete, you see the new SharePoint site.
Figure 5. New SharePoint site
After you set up a working development environment on a physical host computer, you can store
your setup as a virtual computer, so that others can use it, or so that you can reuse this "clean"
installation at a later date. Alternatively, you can set up a development environment on a newly
created virtual machine. The Hyper-V role in Windows Server 2008 Service Pack 2 provides
infrastructure and management tools that enable you to create multiple server environments on a
single host. For more information, see Getting to Know Hyper-V: A Walkthrough From Initial
Setup to Common Scenarios. For a useful Windows PowerShell script that enables you to create a
virtual hard drive (VHD) out of an existing Windows Server 2008 image, see InstallWindowsImage PowerShell Script on MSDN Code Gallery.
If you are using Windows 7, you can also create a VHD on which SharePoint is installed in
Windows Hyper-V, and then configure Windows 7 with BDCEdit.exe so that it boots directly to the
operating system on the VHD. This improves performance because the virtualization layer is not
present. It also enables you to use VHD differencing disks (VHDs that contain only elements that
differ from a single base installation), which save disk space and make it easier to roll back
changes. See Deploy Windows on a Virtual Hard Disk with Native Boot to learn more about this
kind of configuration.
If you choose to create a single server installation on a virtual computer, the standard memory
requirements still apply. Your virtual computer requires at least 2 GB (preferably 4 GB) of RAM.
Virtualization also gives you the opportunity to create a server farm that includes more than one
machine. In a farm installation of SharePoint Server 2010, each machine requires at least 1.5 GB
(preferably 2 GB) of RAM. You could run a fully functional domain infrastructure on a setup
installation such as the following example installation: