Saturday, 24 August 2013

Configure Search Service in SharePoint 2010

After installing SharePoint 2010, the search web part does not work. When I try searching for something in the search box, SharePoint displays the following error message “The search request was unable to connect to the Search Service.” This is probably due to the fact that the Search Service was never setup. This article will go through the process of setting up your SharePoint 2010 search box step-by-step.
1. We need to first start the search service application in Central Admin.
2. Go to Application Management -> Manage service application.
3. Then start a new “Search Service Application.”
4. Provide the application name, in this case “Service Search Application.”
5. Provide a search service account.
6. Configure application pools for both the “Search Admin Web Service” and the “Search Query and Site Settings Web Service.”
7. Click “OK” and wait for SharePoint to process the request. This may take several minutes.
8. A message will then appear if the search service application was successfully created.
9. OK, the search service application has been created, now we need to do some configuration work.
10. Once again, go to Application Management -> Manage service applications.
11. Select “Search Service Application,” then click the “Administrators ribbon button to configure the search service for administrators.
12. Select “SearchAdmin.” This is the service account we previously created in the search service application.
13. Now to assign the permissions.
14. Almost done, go to Search Service Application -> Content Sources and select “Start all crawls.”
15. Once the crawl has completed, the search box is now ready to use.


Reference:

Create Mysite in SharePoint 2010

SharePoint My Sites should be thought of as a collaboration of dashboards – it’s a user’s window into all things SharePoint and all things both inside and outside the organization. It’s an aggregated view of activities, relationships, conversations, and communications. Using Facebook as the model of a personalized portal to the web… I can receive updates about friends/family, movies, bands, news, and more all in the Facebook environment by simply subscribing/ liking/ following. The newsfeed is an incredibly efficient way of seeing what’s going on, while filtering out the noise.
Solution
To complete My Sites in SharePoint 2010, we should complete the following four important steps:
1) Create a new Web Application for My Sites.
2) Create the My Site Host Site Collection.
3) Setup My Sites and manage the properties for My Sites application.
4) Use My Sites with a normal user.
This article I will introduce how to create and configure a user’s My Sites in SharePoint 2010.
Create the My Site Web Application
1. To create the My Sites web application, ?enter:
CA > Application Management > Manage web applications.
2. Create a new web app page:
Authentication: Select the default authentication -> “Classic”.
IIS Web Site:
  • Specify a port for the new web application(you’d better not set 80 as the port number)
  • We can named the web site “SharePoint – My Sites” and type an Host Header.
  • For the Application Pool, we set Domain Administrator as managed account.
3. After “My Sites” is created, click on “General Settings” for the web application, and then select a default time zone.
Create the My Site Host Site Collection
Now that we have successfully created our My Site Web Application, we can now proceed to create our My Site Host Site Collection. This will be the top level site that will house our individual user’s site collections.
1.To create the My Sites Host site collection, enter:
CA > Application Management > Create site collections.
Setup My Sites and manage properties for the web application

Now that we have successfully provisioned our My Site Web Application and Top Level Site Collection that will host our My Sites, we can continue to configure our My Site Settings.
1. To setup My Sites, enter: CA > Application Management > Manage service applications > User Profile Service Application.
2. Click on “User Profiles Service Application“?and then click on “Setup My Siteslocated under My Site Settings. (To complete above steps, we must ensure that the User Profile Service is configured completely and worked normally.)
3. Enter the URL which exists in the My Sites site collection we have just created and the personal site location.
4. Add the managed path for the “My Sites” web application. Because we have specified “personal” as our Personal Site Location, we will need to define our managed path against our My Sites Web Application.
a. To managed path for “My Sites” web application, enter CA > Application Management > Manage web applications.
b. Click on My Sites Web Application and click on Managed Paths from the Ribbon.
5. Add “personal” as a Wildcard inclusion, click “Add Path and click “OK“?button.
6. Our last configuration step provides our users with the privilege to provision their own My Site’s by enabling the Self-Service Creation.
a. Enter CA > Application Management > Manage web applications.
b. Click on your My Site Web Application and click on Self-Service Site Creation.
7. It is time to try if My Sites is configured successfully. Enter the specified URL in browser, then enter main page of My Sites.
8. Then click “My Content,” after the loading, user can enter his own page.
As you can see, we have now successfully completed our setup of a My Site Host which will house our user’s My Sites.

Reference:

Configuring User Profile Service in SharePoint 2010

Introduction

User profiles provide detailed information about individuals in your organization. A user profile organizes and displays all the properties as well as documents and other items that are related to each user. In order to effectively use User Profile Services in SharePoint 2010, it should be properly configured.

Solution

To configure the User Profile Service, complete the following steps to use User Profile features.
I. Configure the Managed Metadata Service
II. Create User Profile Service Application
III. Configure User Profile Service
IV. Configure the Synchronization Connections
V. Configuring a Synchronization Timer Job
VI. Manage User Profile/Properties after completing above configurations

I. Managing Metadata Service

The User Profile service requires that the Managed Metadata Service is setup and configured first. The Managed Metadata service allows you to utilize managed metadata and provides you with the ability to share content types across sites.
1. To configure the Secure Store Service, go to:
CA -> Application Management -> Manage service applications.
2. Click New and select “Managed Metadata Service.”
3. Enter the corresponding information for each field (Name, Database Server, Database Name, Application Pool Identity, etc.), then click the “Create” button.
4. Lastly, enter CA > System Settings > Manage services on server and start the Managed Metadata Web Service.
5. So, the first step is completed. The next step is to configure User Profile Services on server.

II. Creating a User Profile Service

User Profile Services is the service that all UPS requests pass through.
1. To start with the second step, enter:
CA -> System Settings -> Manage services on server.
2. Scroll down and find “User Profile Service“.
3. Make sure the status of the service is displayed as “Started.” If it is stopped, then start it.
4. Starting the service will activate the service, which is a requirement prior to creating the service application.
5. To create and configure the User Profile service application, re-enter:
CA -> Application Management -> Manage service applications.
6. By default, every web application takes the default service application, but for our purpose we need to create a new User Profile service application.
7. On the ribbon, click on the Arrow below “New” and select “User Profile Service Application.”
8. Enter an appropriate application name.
9. In the “Application Pool” area, we can create a new application pool or choose an existing one.
10. For our purposes, we will create a new application and configure it with an appropriate security account.
11. We need to make sure the service account has sufficient rights on all data sources as well as network sources.
12. After filling in all details, click the “Create” button
13. Specify the Profile Database, the Synchronization Database, the Social Tagging Database, and the corresponding Profile Synchronization Instance Server.
14. Then click the “Create” button.

III. Configuring Synchronization Service

1. A User Profile service application will be created, which is “User Profile Service Application_test.”
2. We can see the status of above service is Started.
3. Goto CA -> System Settings -> Manage services on server.
4. Scroll down and find “User Profile Synchronization Service“.
5. Make sure the status of the service is displayed as “Started.” If it is stopped, then start it.
6. Starting the service will activate the service, which is a requirement prior to creating the service application.
7. Select “User Profile Service Application_test” as the User Profile Application and input the valid password of account, then click the “OK” button.
8. Before configuring the User Profile Service, we have to make sure the Forefront Identity Manager Services (FIM) are correctly configured and started in the Local System Services.

IV. Configure the Synchronization Connections.

1. Configure the User Profile Connection by going to:
CA -> Application Management -> Manage service applications.
2. Select “User Profile Service Application_test” user profile and click “Manage” on the ribbon menu.
3. There will be multiple sections related to User Profile.
4. For our purposes, click on “Configure Synchronization Connections.”
5. Click “Create New Connection.”
6. Enter valid values for the various fields Connection Name,TypeAuthentication Provider TypeAccount Name and Password.
7. Set the port with default value 389.
8. Click on “Populate Containers” and select several OU in Active Directory (the selected containers will be treated as synchronized object), then click the “OK” button.
9. The Synchronization connection has been successfully created.
10. We can now easily setup connection filters against our Active Directory User Profile connection by clicking on the connection that was just created and selecting “Edit Connection Filters.”
11. Specify and add any User or Group exclusions and then click OK.
12. Complete above steps, we will configure a Synchronization Timer Job.

V. Configuring a Synchronization Timer Job

1. Enter CA -> Application Management -> Manage service applications.
2. Select “User Profile Service Application_test” user profile and click “Manage” on the ribbon menu.
3. Click “Configure Synchronization Timer Job.”
4. Enable the timer job and then start profile synchronization.
5. Enter CA -> Monitoring -> Check job status to see the profile synchronization status.

VI. Manage User Profile/Properties

1. Finally, enter into Manage User Profiles and search for users – user information does not display by default, so you need to search them.
2. We also can add, edit, or delete user profiles to ensure that all the necessary Active Directory attributes were successfully imported.
We have now successfully completed a User Profile Synchronization!


Reference: