Wednesday, 21 September 2011

Create My Site

To create a My Site host site collection

  1. Verify that you have the following administrative credentials:
    • To create a My Site host site collection, you must be a member of the Farm Administrators group on the computer running the SharePoint Central Administration Web site or a service application administrator for the services related to My Sites. If you are a service application administrator, you must also have permission to create site collections in the Web application that you dedicate to host My Sites.
  2. In SharePoint Central Administration, click Application Management and then click Create site collections. The Create Site Collection page opens.
  3. In Web Application, ensure that the selected Web application is the Web application that you want to host My Sites. If it is not, expand the list and then click Change Web Application. The Select Web Application dialog box opens and you can select a different Web application.
  4. In Title and Description, type a title and description for the site collection.
  5. In Web Site Address, select the URL where you want this site collection created. Generally, you should use the default path (which displays as / in the user interface), which is the root of the Web application. For more information about this path, see My Sites architecture in the "Plan for My Sites" article.
  6. In Template Selection, select the Enterprise tab and then click My Site Host.
  7. In Primary Site Collection Administrator, and optionally in Secondary Site Collection Administrator, type an account in the format domain\user_name to specify an administrator for the site collection.
  8. Optionally, in Quota Template, select a quota template for the My Site host site collection. This quota template does not affect the individual site collections that users create for their My Sites. For more information, see Planning for storage requirements in the "Plan for My Sites" article.
  9. Copy this site collection URL for later reference.

Sunday, 4 September 2011

Steps to Create Host Header

1.          start -> Admin Tools -> DNS -> Forward lookup zones -> (Domain Name)Moss.com ->
             Right click on it -> New Host -> Enter Host Name & Ip address (Run -> cmd -> ipconfig) ->
             click OK.(host display will created)

2.         Again Right click on Moss.com -> New Alias(Cname) -> Enter same name with c
            (Ex - ckrp or krp1) -> Browse -> Moss -> forward lookup -> Moss.com -> Click on file -> ok.

3.          Open Host file(c:windows -> system32 -> Drivers -> etc -> hosts (Open with wordpad)
              (Ip address and Name Ex: 192.168.0.1 krp)then save and close.

4.          Open central admin -> Create new website or extended -> create webapplication ->
             fill the details -> in that Host name should be like (Ex:Krp) and kept default prot no is 80.
5.         Create site.
6.         Open IIS -> select our site -> Right click -> Properties -> Assign ip address here and Click on Ok.

7.        Again Right click on site and click on browse.

Thursday, 1 September 2011

How to change the URL of the sharepoint

  1. On the Alternate Access Mappings page, click Edit Public URLs.
  2. If the mapping collection that you want to modify is not specified, then choose one.
    In the Alternate Access Mapping Collection section,
    click Change alternate access mapping collection on the Alternate Access Mapping Collection menu.
  3. On the Select an Alternate Access Mapping Collection page, click a mapping collection.
  4. In the Public URLs section, you may add new URLs or edit existing URLs in any of the following text boxes: Default, Intranet, or you can change the Default from  http://abc:555 to http://abctest
  5. Click Save.
Now you’ll have to switch over to your DNS server.
  1. Within the DNS Management Console and Under Forward Lookup Zones:
    Add a new Primary Zone with your new domain name.
    Add a new Host (A) to the records for http://abctest and point the IP Address to the sharepoint server

Configure User Profile synchronization to sharepoint2010

Step 1 – Prerequisites


Account needed for Syncing

We need an account set up for the AD profile synchronization. Let’s call it “Service-spADsync“, we need to configure a couple of things on this account in AD:
  1. Add “Replicate Directory Changes” permission
    1. On the domain controller, click Start, click Administrative Tools, and then click Active Directory Users and Computers.
    2. In Active Directory Users and Computers, right-click the domain, and then click Delegate Control.
    3. On the first page of the Delegation of Control Wizard, click Next.
    4. In the Users or Groups page, click Add.
    5. Type the name of the synchronization account, and then click OK.
    6. Click Next.
    7. In the Tasks to Delegate page, select Create a custom task to delegate, and then click Next.
    8. On the Active Directory Object Type page, select This folder, existing objects in this folder, and creation of new objects in this folder, and then click Next.
    9. On the Permissions page, in the Permissions box, select Replicate Directory Changes, and then click Next.
    10. Click Finish.
  2. Add account to “Pre-Windows 2000 Compatible Access” group
    1. On the domain controller, click Start, click Administrative Tools, and then click Active Directory Users and Computers.
    2. In Active Directory Users and Computers, expand the domain, expand Builtin, right-click Pre-Windows 2000 Compatible Access, and then click Properties.
    3. In the Properties dialog box, select the Members tab, and then click Add.
    4. Type the name of the synchronization account, and then click OK.
    5. Click OK.
  3. Grant Replicate Directory Changes permission on the cn=configuration container
    1. On the domain controller, click Start, click Run, type adsiedit.msc, and then click OK.
    2. In ADSI Edit, if the Configuration node is not already present, select ADSI Edit, on the Action menu click Connect to, in the Connection Point area of the Connection Settings dialog box select Select a well known Naming Context, select Configuration from the drop-down list, and then click OK.
    3. Expand the Configuration node, right-click the CN=Configuration… node, and then click Properties.
    4. In the Properties dialog box, select the Security tab.
    5. In the Group or user names section, click Add.
    6. Type the name of the synchronization account, and then click OK.
    7. In the Group or user names section, select the synchronization account.
    8. In the Permissions section, select Replicating Directory Changes (select Replicate Directory Changes on Windows Server 2003), and then click OK.

Forefront Services

On the box that will be running the “User Profile Synchronization Service”
Go to Start > Administrative Tools > Services
Set both “Forefront Identity Manager Service” and “Forefront Identity Manager Synchronization Service” to run under your farm account and set them to automatically start and start both services

Step 2 – Delete any current User Profile Service Application (Optional)

I like to delete the current “User Profile Service Application” that gets created if you use the wizard to create your farm, I will be creating my own in the next step.
Under Central Administration > Application Management > Manage Service Applications
Select “User Profile Service Application” and then select Delete from the ribbon bar
Select “Delete data associated with the Service Application”
Press “OK”
Press “OK”

Step 3 – Create New User Profile Service Application

Under Central Administration > Application Management > Manage Service Applications
Select “User Profile Service Application” under the “New” button on the ribbon bar
If you do not have “User Profile Service” installed then you will have more options than the couple of options listed below. Just fill out all the appropriate information to create the application. Other options that will appear are things like creating the Profile DB and other options related to My Sites.
Name: AD Sync – User Profile Service Application
Create a new application pool called WSS_ADSYNC
Select the account to use for the application pool; I use my farm account which also runs all other service applications
Press “Create”
Press “OK”

Step 4 – Configure the Service

Under Central Administration > System Settings > Manage services on server
Press “Start” next to “User Profile Synchronization Service”
Select the “AD Sync – User Profile Service Application” that you just created
Enter the password for the service account you are using
Press “OK”
The service will be stuck at starting for several minutes; this process can take up to 20 minutes. Refresh the page to determine if the service has started yet. If the service does not start check the services on the local computer “Forefront Identity Manager Synchronization Service” and make sure it is not disabled.
After the “User Profile Synchronization Service” shows as being started, run an IISRESET on the server that is running the “User Profile Synchronization Service”
Start > Run > CMD (Make sure you see “Administrator:” in the title bar or you might get an access denied when trying to perform an IISRESET.
Type in “IISRESET”

Step 5 – Configure connections and import data from Active Directory

Under Central Administration > Application Management > Manage Service Applications
Select “AD Sync User Profile Service Application” and then select Manage from the ribbon bar or you can just click the name “AD Sync User Profile Service Application”
Click “Configure Synchronization Connections”
Click “Create New Connection”
I named the connection “AD Sync Connection”
The type is “Active Directory”
The Forest name is “PINTOLAKE”
The Authentication Provider Type is “Windows Authentication”
Enter the Service Account we created in Step 1 and the password
The port for AD is “389″
Select “Populate Containers”, this will popular your AD information in the window below
Select the containers you want to sync or press “select all”, for this particular install we are going to select all
Press “OK”
SharePoint will process your request
You should now see your connection listed. If you get an error try again, sometimes it times out while trying to make the connection to AD. Just try to configure a new connection again.

Step 6 -Synchronization Options (Optional)

There are a couple options you can go through before you start synchronization
  1. Define connection filters – this is if you want to filter information from the AD sync
Under Central Administration > Application Management > Manage Service Applications
Select “AD Sync User Profile Service Application” and then select Manage from the ribbon bar or you can just click the name “AD Sync User Profile Service Application”
Click “Configure Synchronization Connections” then pull the drop down menu on your connection then select “Edit Connection Filters”
  1. Map User Profile Properties – this option already has a bunch of preconfigured fields but you might need to change some of them or reconfigure existing ones
Under Central Administration > Application Management > Manage Service Applications
Select “AD Sync User Profile Service Application” and then select Manage from the ribbon bar or you can just click the name “AD Sync User Profile Service Application”
Click “Manage User Properties” under the “People” section

Step 7 -Start Profile Synchronization

Under Central Administration > Application Management > Manage Service Applications
Select “AD Sync User Profile Service Application” and then select Manage from the ribbon bar or you can just click the name “AD Sync User Profile Service Application”
Under “Synchronization” select “Start Profile Synchronization”
Select “Start full Synchronization”
Press “OK”
You should now see that the “Profile Synchronization Status” has changed to “Synchronizing” and the “Current Synchronization Stage” has changed to “Active Directory Import (xxx)”. Watch this for a while and make sure the (xxx) increases in value; this is the number of objects being imported from AD.
Start of Sync
During Syncing
By default the job will run every day at 1:00 AM, you can change this from:
Select “AD Sync User Profile Service Application” and then select Manage from the ribbon bar or you can just click the name “AD Sync User Profile Service Application”
Under “Synchronization” select “Configure Synchronization Timer Job”


Note : check to which domain SharePoint is connected(Run -> CMD -> SET L ) after that check domain controller service is working fine.(In Domain Controller server -> Run -> CMD -> dcconfig)