Labels

Search This Blog

Showing posts with label Sharepoint 2010. Show all posts
Showing posts with label Sharepoint 2010. Show all posts

Sunday, 31 July 2011

Steps to Configure SharePoint 2010 Information Worker Demonstration and Evaluation Virtual Machine

Steps to Configure SharePoint 2010 Information Worker Demonstration and Evaluation Virtual Machine

This article would cover the necessary steps to configure the SP 2010 Information Worker Demo VPC. The easiest way to have a development environment for personal learning need is to download the SharePoint 2010 Information Worker Demonstration VPC and configure it for your needs, rather then setting up a dev server-farm from scratch.

Though most of the steps to configure this VPC is available in Microsoft’s guidance, I'd try to cover the things which are not there in MSDN guidance and would make it more comprehensive.
1. Download the VM files from Microsoft site and run the application file 2010-7a.part01.rar
2. This would extract all the 20 files into a large VM dump (2010-7a.vhd)
3. On the extracted folder, you’ll find a configuration file
image
<?xml version="1.0" encoding="UTF-16" standalone="yes"?>
<configuration>
  <SnapShotDataRoot type="string"></SnapShotDataRoot>
  <ExternalDataRoot type="string"></ExternalDataRoot>
  <vhd>
    <source type="string">E:\VMs\a-andcar\2010-7a\Virtual Hard Disks\2010-7a.vhd</source>
    <target type="string"></target>
  </vhd>
  <VmStateCopied type="bool">true</VmStateCopied>
</configuration>
4. By default the “<Source type-“string”> will have the path of E:\VMs\a-andcar\2010-7a\Virtual Hard Disks\2010-7a.vhd. You need to change it to the path of your local PC, where the .vhd file is saved. Otherwise, you’ll get an error when you to run this VM in the hyper-v. In my case, I've changed the path to D:\SP 2010 VM\7a\2010-7a\Virtual Hard Disks\2010-7a.vhd.
5. The next step is to define the Network connections in the Hyper-V.
Start Hyper-V Manager from Control Panel -> Administrative Tools
Click Virtual Network Manager…
Choose New virtual network in the Virtual Networks pane
Choose Internal from the type list and click Add
 Enter a name of Internal and click OK
image
6. Start menu -> right-click Network –> Properties
    Click Change adapter settings
    Locate the adapter corresponding to ‘Internal’,
    image
    Right click and choose properties
    Double click on IPV4 and set the following IP addresses.
    image
7. The next steps is to define the Internet Connection (External) for the VPC.
On the Virtual Network Manager define an ‘External’ network connection.
image
Now you’ll see a new network connection called ‘External’ in the Network connections
image
I’ve set up wireless network connection already on my windows server 2008 hosting SP 2010 VPC. The name of the connection
is Wireless Network Connection.
image
Right click on wireless network connection –> properties –> Sharing
Check ‘ Allow other network users to connect through this computer’s internet connection’.
Under home networking connection chose the network connection name corresponding to External Adapter defined in hyper-v. In my case it is VLAN2.
image
This will allow the VM to access the internet.
8. Import the Virtual Machine into hyper-v. Otherwise, you can create a brand-new Virtual Machine with the required custom settings using the extracted .vhd file.
9.Start the virtual image
10. Once the machine starts log in as administrator and password is pass@word1
11. The next step is to do re-arming. The re-arming needs to be done after 10 days from the initial usage.
 Run “slmgr –rearm” (no quotes) in the command prompt to complete re-arming.
12. Last, but not least, add the following host entries
127.0.01                    intranet.contoso.com
127.0.01                    finweb.contoso.com
127.0.01                    lcaweb.contoso.com
127.0.01                    itweb.contoso.com
This completes the configuration for SP 2010 Information Worker demonstration VPC.

Source: http://msmvps.com/blogs/sundar_narasiman/archive/2011/07/03/steps-to-configure-sharepoint-2010-information-worker-demonstration-and-evaluation-virtual-machine.aspx

Saturday, 30 July 2011

Migrating Search Settings to SP2010

How to move their MOSS 2007 search settings like scopes, best bets, etc. to FAST for SharePoint 2010, since there is no direct upgrade path between the two products?

This tool will also go from MOSS 2007 to SharePoint Server 2010/FAST for SP2010 and SharePoint Server 2010 to SPS2010/ FAST for SharePoint 2010. At: http://archive.msdn.microsoft.com/odcsp2010searchmigra

Sunday, 24 July 2011

How to configure Incoming and Outgoing emails in SharePoint Server 2010

Setup Info

SharePoint 2010 Server Name: sp2010-1.contoso.com
DC and Exchange Server 2010 on same machine: dc.contoso.com
Domain: contoso.com

Step1: Installing and Configuring SMTP Server on the SharePoint Server
Install SMTP Server from Server Manager-> Add Features
image


After installation go to IIS 6.0 Manager from Administrative Tools. Make sure that the SMTP Service is started on the SharePoint Server.
image
image
Right click on the SMTP Server name and then click on Properties.
image

The properties for General Tab in my scenario. I am using IP address as all unassigned, you can use a dedicated IP. I have kept the default settings.

image


The properties for Access Tab in my scenario.
image

image

image

The properties for Messages Tab in my scenario are default settings.
image

The properties for Delivery Tab in my scenario are default settings.
image

The properties for LDAP Routing Tab in my scenario are default settings.
image

The properties for Security Tab in my scenario are default settings.
image


Step2: Create Send and Receive Connectors in Exchange 2010
--------------------------------------------------------------
Send Connector
--------------------------------------------------------------
Go to Exchange Management Console on the Exchange Server
Expand Microsoft Exchange On-Premises
Click on Hub Transport under Organization Configuration
Create a Send Connector according to your requirement. I have created it with following settings. Please refer the following screenshots.

Click on New Send Connector… and follow the wizard.
image

Type the name of the Send Connector. Select the intended use for it. In my case it is Internal.
Then click on Next.
image

Add new SMTP Address Space.
image

Type the FQDN of the SharePoint 2010 Server. Click on OK.
image

Click on Next after the Address space is added.
image

In the Network settings. Click on Add, to add a Smart Host i.e. the SharePoint Server which has SMTP Service running and configured.
Click on OK and then Next.
image

In the authentication settings select None and click on Next.
image

Click on Next.
image

It will now show the summary. Click on New and a New Send Connector will get created.
image

New Send Connector is created.
image

 --------------------------------------------------------------
Receive Connector
--------------------------------------------------------------
Go to Exchange Management Console on the Exchange Server
Expand Microsoft Exchange On-Premises
Click on Hub Transport under Server Configuration
Create a New Receive Connector according to your requirement. I have created it with following settings. Please refer the following screenshots.

Provide the name and what would be the intended use. Then click on Next.
image

Add the range of IP Addresses where this connector will receive the emails from. Then click on Next.
image

Click on New, so that the connector gets created.
image

The newly created connector is displayed in the list.
image

Go to Properties of the connector and select appropriate permissions. I have selected following.
image


Step3: Test SMTP connectivity from SharePoint Server to Exchange Server
Make sure you can telnet the Exchange Server from your SharePoint Server of port 25(default setting assuming it is the same in your environment).
image
 image


Step4: Configure Outgoing email settings
Browse to SharePoint 2010 Central Administration Site
Go to E-Mail and Text Messages(SMS)
Click on Configure outgoing e-mail settings link
image


Type the FQDN of your local SharePoint SMTP Server, from and reply-to address. Also, select the character set, I have kept default. Click on OK.
image


Step5: Configure Incoming E-Mail settings
Browse to SharePoint 2010 Central Administration Site
Go to E-Mail and Text Messages(SMS)
Click on Configure incoming e-mail settings link
image

In this case, I am using Directory Management Service(DMS) in Advanced Mode.
You can configure the DMS by using either the automatic settings mode or the advanced settings mode.
To enable this service on your own server or server farm running SharePoint Server 2010, Central Administration application pool account must have write access to the container that you specify in Active Directory(AD). This requires an Active Directory administrator to set up the organizational unit (OU) and the permissions on the OU.
DMS configuration options
When you configure the DMS to create distribution groups and contacts in Active Directory, you must provide the following information:
- Name of the AD container where new distribution groups and contacts will be created. This must be provided in the following format:
     OU=ContainerName, DC=DomainName, DC=TopLevelDomainName

- Name of the SMTP server to use for incoming e-mail (or accept the default SMTP server if one exists). This must be provided in the following format:
     Server.subdomain.domain.top-level_domain

- In this case, sp2010-1.contoso.com

- Whether to accept messages from only authenticated users.

- Whether to allow users to create distribution groups from SharePoint sites. If you choose yes for this option, you can also choose whether users can do any combination of the following actions:
      Create a new distribution group.
      Change a distribution group's e-mail address.
      Change a distribution group's title and description.
      Delete a distribution group.

I have made the following selections, please refer the screenshots.
image
 image
 image


NOTE: After the above configuration is done users can configure the lists to receive incoming emails and configure alerts.

Source: http://blogs.msdn.com/b/pareshg/archive/2010/04/23/how-to-configure-incoming-and-outgoing-emails-in-sharepoint-server-2010.aspx

SharePoint 2010 Client Object Model