Delete a subsite in SharePoint 2013

Choose Site Settings

sharepoint-2013-10-2016-12-16-08-43-54

Delete the site

sharepoint-2013-10-2016-12-16-08-44-51

Delete

sharepoint-2013-10-2016-12-16-08-46-39

sharepoint-2013-10-2016-12-16-08-46-45

Advertisements

Create Your First Web Application and Site Collection in SharePoint 2013

This guide is divided into three sections

  1. Create Host record In DNS
  2. Create web Application
  3. Create Site Collection

1. Create Host record In DNS

Go to DNS under Administrative Tools

  • Create a new Lookup zone for the URL
  • Create a new host for the URL
  • Ping the URL from the command prompt, to make sure it works

 2. Create web Application

Choose Application Management

sharepoint-2013-10-2016-12-13-04-42-17

Choose Manage Web Applications under Web Applications

sharepoint-2013-10-2016-12-13-04-44-45

Click on New in the ribbon

sharepoint-2013-10-2016-12-13-04-46-23

Wait a bit…

sharepoint-2013-10-2016-12-13-04-47-37

Enter the Details (Name of IIS website, Port, Host Header) … (Observe that the Path changes according to the details entered)

sharepoint-2013-10-2016-12-13-04-56-33

Existing application pool is selected in this scenario

Unique Database name is also given

sharepoint-2013-10-2016-12-13-05-23-18

Wait till the new web application is created….

sharepoint-2013-10-2016-12-13-05-25-37

Web Application is created…

SharePoint 2013 [10]-2016-12-13-09-57-21.png

SharePoint 2013 [10]-2016-12-13-10-30-05 - web application is created.png

3. Create a Site Collection

Central Administration — > create site selection

sharepoint-2013-10-2016-12-13-10-31-25-create-site-collection

Make Sure the correct Web Application is selected

sharepoint-2013-10-2016-12-13-10-32-32-change-web-application

If not Choose the correct web Application

sharepoint-2013-10-2016-12-13-10-32-39-select-correct-web-application

Choose Defined Managed Paths to create separate sites according to Departments, Divisions etc

EX : Departments (IT, Accounts, Marketing) , Divisions (UK, USA)

sharepoint-2013-10-2016-12-13-10-38-12

Provide appropriate data for the Title, URL and Primary Site collection administrator. (Secondary Site Collection Administrator is optional)

sharepoint-2013-10-2016-12-14-11-04-00sharepoint-2013-10-2016-12-14-11-04-01sharepoint-2013-10-2016-12-14-11-04-21

Wait till the new site collection is created

sharepoint-2013-10-2016-12-13-10-44-09

 

SharePoint 2013 [10]-2016-12-13-10-58-54.png

 

SharePoint 2013 run time error: Server Error in ‘/’ Application

There can be more than one reason to get this error page..  It can be anything to the services which are not running, IIS failures etc. It is always recommended to review the logs in windows to find possible errors.

ERROR 01 : Recover SharePoint 2013 Databases from Suspect Mode

Check Event Viewer for error logs (In this case SharePoint_Config database cannot be opened)

SharePoint 2013 [10]-2016-12-14-05-42-17.png

Go to SQL Server Management Studio and find the SharePoint_Config database..

sharepoint-2013-10-2016-12-14-05-39-59sharepoint-2013-10-2016-12-14-05-45-20

If SharePoint_Config database is in suspect mode.. and not accessible.. do the following

SOLUTION 01

Use sp_resetstatus command to turn off suspect flag on the database

EXEC sp_resetstatus ‘SharePoint_Config’;

sharepoint-2013-10-2016-12-14-05-55-38

set the database to an Emergency mode

ALTER DATABASE SharePoint_Config SET EMERGENCY

sharepoint-2013-10-2016-12-14-05-56-39

Check the logical and physical integrity of the objects in the database

DBCC checkdb(‘SharePoint_Config’)

sharepoint-2013-10-2016-12-14-05-57-51

ALTER DATABASE
SharePoint_Config SET SINGLE_USER
WITH ROLLBACK IMMEDIATE

DBCC CheckDB (‘SharePoint_Config’, REPAIR_ALLOW_DATA_LOSS)

ALTER DATABASE SharePoint_Config SET MULTI_USER

DBCC CheckDB (‘SharePoint_Config’)

sharepoint-2013-10-2016-12-14-05-58-17

Things should go back to normal after this fix…

ERROR 02 – Application pool is not running

SharePoint 2013 [10]-2016-12-14-10-59-42.png

 

SharePoint 2013 Subsite: Add / Remove Users with Permissions

This guide shows two tasks

01. how to add users to a group
02. how to remove users from a group

navigate to the site you want to edit permissions

01. how to add users to a group

Choose Gear Icon —> site settings

sharepoint-2013-10-2016-12-18-08-00-41

Choose site permissions

sharepoint-2013-10-2016-12-18-08-01-03

Choose the group first and choose grant permissions from the ribbon

sharepoint-2013-10-2016-12-18-08-01-27

add user…

sharepoint-2013-10-2016-12-18-08-10-18

 

02. how to remove users from a group

Choose Gear Icon —> site settings

sharepoint-2013-10-2016-12-18-07-51-55

People and groups

sharepoint-2013-10-2016-12-18-07-52-44

Choose Actions —> remove users from group

sharepoint-2013-10-2016-12-18-07-54-34

SharePoint 2013 Sites and Subsites user permissions

Two methods are mentioned in this guide.. to check the permission level of the users in subsite

Go to the subsite you want to check the permissions of the users

Method 01

Choose gear Icon —–> Site Settings...

sharepoint-2013-10-2016-12-18-08-00-41

Choose set Permissions

sharepoint-2013-10-2016-12-18-08-01-03

Choose the appropriate group and choose the Check persimmons in the ribbon

sharepoint-2013-10-2016-12-18-08-11-54

Type username and Choose Check now

sharepoint-2013-10-2016-12-18-08-11-55

 

Method 02

Choose gear Icon —> Shared with….

sharepoint-2013-10-2016-12-17-15-05-04

Choose Advanced

sharepoint-2013-10-2016-12-17-15-06-49

Choose the appropriate group

sharepoint-2013-10-2016-12-18-07-49-59

Navigate the groups found in the left side pane

SharePoint 2013 [10]-2016-12-18-07-50-35.png

 

 

Install SharePoint 2013 – Part 02

This is the part 02 on how to install SharePoint Server. Check Out Part 01. This Guide is divided Into two sections

     1. Prerequisites For SharePoint server 2013 Installation
     2. Install SharePoint Server 2013

1. Prerequisites For SharePoint server 2013 Installation

Please note that,

  • First you have to Install prerequisites. If online installation fails go for manual Installation which is recommended.
  • If you encounter an error while installing  App Fabric Prerequisite, use The script (given below)

Option A – Online Installation

To install the prerequisites online (internet should be available)

sharepoint-2013-10-2016-12-08-09-18-34

sharepoint-2013-10-2016-12-08-09-18-42

sharepoint-2013-10-2016-12-08-09-18-48

Option B – Offline Installation

This is recommended. If you get an error you have to install the prerequisites offline

Install server features (download link: https://gallery.technet.microsoft.com/office/Sharepoint-2013-SP1-Server-2ed6dd27)

Run PowerShell command

Import-Module ServerManager

Add-WindowsFeature Net-Framework-Features,Web-Server,Web-WebServer,Web-Common-Http,Web-Static-Content,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-App-Dev,Web-Asp-Net,Web-Net-Ext,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Health,Web-Http-Logging,Web-Log-Libraries,Web-Request-Monitor,Web-Http-Tracing,Web-Security,Web-Basic-Auth,Web-Windows-Auth,Web-Filtering,Web-Digest-Auth,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Tools,Web-Mgmt-Console,Web-Mgmt-Compat,Web-Metabase,Application-Server,AS-Web-Support,AS-TCP-Port-Sharing,AS-WAS-Support, AS-HTTP-Activation,AS-TCP-Activation,AS-Named-Pipes,AS-Net-Framework,WAS,WAS-Process-Model,WAS-NET-Environment,WAS-Config-APIs,Web-Lgcy-Scripting,Windows-Identity-Foundation,Server-Media-Foundation,Xps-Viewer –Source D:\sources\sxs

sharepoint-2013-10-2016-12-09-11-30-44

Install prerequisites

Make sure you restart and install following

Windows Identity Foundation

SharePoint 2013 [10]-2016-12-11-16-26-20.png

Microsoft Identity Extensions

SharePoint 2013 [10]-2016-12-09-13-16-21.png

Microsoft Information Protection and Control Client

SharePoint 2013 [10]-2016-12-09-13-22-06.png

Microsoft SQL Server 2008 R2 Native Client

SharePoint 2013 [10]-2016-12-09-13-24-01.png

Microsoft Sync Framework

sharepoint-2013-10-2016-12-09-19-48-36

Microsoft WCF Data Services 5.0

sharepoint-2013-10-2016-12-09-19-48-55

Install Windows Server AppFabric silently

go to the file (WindowsServerAppFabricSetup_x64.exe) directory

cd c:\

.\WindowsServerAppFabricSetup_x64.exe  /i CacheClient”,”CachingService”,”CacheAdmin /gac

sharepoint-2013-10-2016-12-10-02-15-03

Verify AppFabric is being installed by monitoring Users in task manager

SharePoint 2013 [10]-2016-12-10-03-10-35.png

Verify installation by checking add remove programs

SharePoint 2013 [10]-2016-12-10-03-10-36.png

CU Package 1 for Microsoft AppFabric 1.1 for Windows Server

SharePoint 2013 [10]-2016-12-09-21-41-32.png

2. Install SharePoint Server 2013

Now you can install Microsoft SharePoint server 2013. Firstly enter the product key

sharepoint-2013-10-2016-12-12-02-22-05

Accept the terms of the agreement

SharePoint 2013 [10]-2016-12-12-02-22-12.png

After Entering the product key Choose a File Location

sharepoint-2013-10-2016-12-12-02-22-20

Let Microsoft SharePoint Server 2013 install……

SharePoint 2013 [10]-2016-12-12-02-30-18.png

After the Installation of SharePoint server Run Configuration Wizard

sharepoint-2013-10-2016-12-12-02-55-53

Next

sharepoint-2013-10-2016-12-12-02-56-35

Choose Yes to start the services

sharepoint-2013-10-2016-12-12-02-57-09

Database Server name should be given.. (Check the Screen Shot)

SharePoint 2013 [10]-2016-12-12-08-21-55.png

SharePoint 2013 [10]-2016-12-12-02-58-39.png

Specify Farm Security Settings (Password)

SharePoint 2013 [10]-2016-12-12-08-26-07.png

I just kept the default Port Number…

SharePoint 2013 [10]-2016-12-12-08-28-01.png

review

SharePoint 2013 [10]-2016-12-12-08-31-01.png

Wait till the configuration finishes

SharePoint 2013 [10]-2016-12-12-08-34-43.png

Configuration is Successful

SharePoint 2013 [10]-2016-12-12-09-15-51.png

Now you can connect to SharePoint 2013 Server Administrator Console

SharePoint 2013 [10]-2016-12-12-09-19-39.png

Run Wizard to Configure Farm (Or you can do it by yourself)

sharepoint-2013-10-2016-12-12-09-30-44

Create User account to manage services which is recommended (In this case my existing account is used)

sharepoint-2013-10-2016-12-12-09-31-09

Wait till configuration completes

sharepoint-2013-10-2016-12-12-09-31-18

Errors

If you are facing issues in connecting to SQL Server then make sure TCP/IP is enabled in SQL Server Configuration Manager. If you still getting the error then turn off the firewall on SQL server machine (In a scenario where SQL Server and AD is installed in two locations).

SharePoint 2013 [10]-2016-12-12-09-50-44.png

Check Out 

How to Install SharePoint 2013 – Part 01

How to Install SharePoint 2013 – Part 02

How to Install SharePoint 2013 – Part 01

BeFunkyPhoto.jpg

This guide is divided into Three Sections…

          1.Install and configure Active Directory
          2.Install Microsoft SQL Server 2012
          3.Fine tune Microsoft SQL Server 2012

1.Install and configure Active Directory

After installation Add necessary users to Install SharePoint Server 2013

2.Install Microsoft SQL Server 2012

Firstly you have to Install .net framework 3.5 features… Then proceed to install SQL Server 2012

Choose installation

01 SharePoint 2013 [10]-2016-12-07-15-14-28.png

Choose New SQL Server stand alone installation

SharePoint 2013 [10]-2016-12-07-20-17-07.png

OK

sharepoint-2013-10-2016-12-07-20-19-31

In this case Free Edition (evaluation) is used

SharePoint 2013 [10]-2016-12-07-20-24-02.png

Accept License Terms and Update the product

sharepoint-2013-10-2016-12-07-20-26-02

sharepoint-2013-10-2016-12-07-20-26-27

Next

sharepoint-2013-10-2016-12-07-20-39-01

sharepoint-2013-10-2016-12-07-20-39-17

Choose following features

sharepoint-2013-10-2016-12-08-06-10-22

Keep the default

SharePoint 2013 [10]-2016-12-07-20-47-49.png

If you want, you can Create Three separate user accounts for services.. (In this case default is used)

SharePoint 2013 [10]-2016-12-11-17-18-43.png

Add current user

sharepoint-2013-10-2016-12-08-06-12-28-add-current-user

Choose Next to proceed

sharepoint-2013-10-2016-12-08-06-15-41

sharepoint-2013-10-2016-12-08-06-15-55

Choose Install

sharepoint-2013-10-2016-12-08-06-16-06

sharepoint-2013-10-2016-12-08-06-30-57

Installation of Microsoft SQL Server 2012 is completed. Now you can proceed to the next step (Fine tune the SQL server 2012)

sharepoint-2013-10-2016-12-08-07-09-25

3. Fine tune Microsoft SQL Server 2012

Login to SQL server management Studio (in this case windows server authentication method is used)

SharePoint 2013 [10]-2016-12-12-04-34-30.png

 

Configure Server

Right click on server —> properties

SharePoint 2013 [10]-2016-12-12-05-14-10.png

go to advanced.. configure

max degree of parallism = 1

SharePoint 2013 [10]-2016-12-12-05-18-41.png

 

Configure SharePoint user

Go to

SQL Server —> Security —> Login —> sharepoint User (right click) — > properties

SharePoint 2013 [10]-2016-12-12-05-24-31.png

Choose Server Roles —> Choose dbcreator , securityadmin

SharePoint 2013 [10]-2016-12-12-05-28-48.png

 

Configure NT Service\ MSSQLSERVER user (Same as above)

Go to

SQL Server —> Security —> Login —> NT Service\ MSSQLSERVER (right click) — > properties

SharePoint 2013 [10]-2016-12-12-05-38-16.png

Choose Server Roles —> Choose dbcreator , securityadmin

sharepoint-2013-10-2016-12-12-05-44-12

 

Configure NT SERVICE\SQLSERVERAGENT (Same as above)

Go to

SQL Server —> Security —> Login —> NT SERVICE\SQLSERVERAGENT (right click) — > properties

SharePoint 2013 [10]-2016-12-12-05-48-59.png

Choose Server Roles —> Choose dbcreator , securityadmin

SharePoint 2013 [10]-2016-12-12-05-52-10.png

Configuration for the SQL server 2012 is done. Now you may continue with Microsoft SharePoint Server 2013 Installation..

Check Out 

How to Install SharePoint 2013 – Part 01

How to Install SharePoint 2013 – Part 02