<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SharePoint24x7</title>
	<atom:link href="http://www.sharepoint24x7.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sharepoint24x7.com</link>
	<description>It&#039;s all about SharePoint.</description>
	<lastBuildDate>Wed, 28 Dec 2011 15:23:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Enabling Developer Dashboard in SharePoint 2010</title>
		<link>http://www.sharepoint24x7.com/2011/12/enabling-developer-dashboard-in-sharepoint-2010/</link>
		<comments>http://www.sharepoint24x7.com/2011/12/enabling-developer-dashboard-in-sharepoint-2010/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 14:59:00 +0000</pubDate>
		<dc:creator>Joy</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Power User]]></category>
		<category><![CDATA[Developer Dashboard]]></category>
		<category><![CDATA[SharePoint Foundation 2010]]></category>
		<category><![CDATA[SharePoint Server 2010]]></category>
		<category><![CDATA[SharePoint Server 2010 Configuration]]></category>

		<guid isPermaLink="false">http://www.sharepoint24x7.com/?p=333</guid>
		<description><![CDATA[ASP.NET provides Call Stack and Tracing as wonderful features which helps developers on investigating what is going on page rendering behind the scene. SharePoint being a product which provides bunch of features OOTB which we can use to setup a portal very easily, it hides most of these information. Back in MOSS 2007, we had [...]]]></description>
			<content:encoded><![CDATA[<p>ASP.NET provides <strong>Call Stack</strong> and <strong>Tracing</strong> as wonderful features which helps developers on investigating what is going on page rendering behind the scene. SharePoint being a product which provides bunch of features OOTB which we can use to setup a portal very easily, it hides most of these information.</p>
<p>Back in MOSS 2007, we had to scratch our head thinking where to start our investigation when we get an error in the browser, because that error was not descriptive enough for us to start the investigation.</p>
<p>In SharePoint 2010, we have a nice feature – <strong>Developer Dashboard</strong> which helps developers to be comfortable when they see an error in the browser.</p>
<h4>Enabling Developer Dashboard</h4>
<p>Developer Dashboard is a feature targeted for developers (administrators as well) and hence it is disabled by default. We need to enable it using one of the method mentioned below:</p>
<ul>
<li><strong>STSADM</strong></li>
<li><strong>PowerShell</strong></li>
<li><strong>SharePoint Object Model</strong></li>
</ul>
<h5>STSADM</h5>
<p>We still can use STSADM with SharePoint 2010 for administering SharePoint. However, STSADM is more likely to disappear in the next release. Though we can use following STSADM command to enable Developer Dashboard, I strongly recommend to get familiar with PowerShell, if you are not already.</p>
<ol>
<li>Go to the command prompt and make sure to either set the path to the location of STSADM.EXE or navigate to the bin directory in SharePoint root in your command prompt.</li>
<li>Issue the following command in the command prompt:<strong>STSADM -o setproperty -pn developer-dashboard -pv ondemand</strong></li>
</ol>
<p>The above command will enable the Developer Dashboard in On Demand mode.</p>
<h5>PowerShell</h5>
<ol>
<li>Go to Start –&gt; All Programs –&gt; Microsoft SharePoint 2010 Products –&gt; SharePoint 2010 Management Shell</li>
<li>Issue the following command in the management shell:<strong>$devdash = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings;<br />
$devdash.DisplayLevel = ‘OnDemand’;<br />
$devdash.TraceEnabled = $true;<br />
$devdash.Update()<br />
</strong></li>
</ol>
<p>The above command will enable the Developer Dashboard in On Demand mode.</p>
<h5>SharePoint Object Model</h5>
<ol>
<li>Create a Console Application, Windows Application or Web Site and add a reference to the <strong>Microsoft.SharePoint.dll</strong> assembly.</li>
<li>Add <strong>using Microsoft.SharePoint.Administration</strong> namespace reference at the top of the code (C#) file.</li>
<li>Add the following code into your code (C#) file to enable Developer Dashboard:<strong>SPWebService svc = SPContext.Current.Site.WebApplication.WebService;<br />
svc.DeveloperDashboardSettings.DisplayLevel = SPDeveloperDashboardLevel.OnDemand;<br />
svc.DeveloperDashboardSettings.Update();<br />
</strong></li>
</ol>
<p>The above command will enable the Developer Dashboard in On Demand mode.</p>
<p>I have used On Demand as the setting for Display Level of the Developer Dashboard and following are the other options we can specify:</p>
<ol>
<li><strong>On</strong> – Enable the Developer Dashboard all the times</li>
<li><strong>Off</strong> – Disable the Developer Dashboard</li>
<li><strong>OnDemand</strong> – Enable the Developer Dashboard but will be displayed on demand.</li>
</ol>
<p>When you enable Developer Dashboard in On Demand mode, following icon will be displayed next to your login name.</p>
<p><a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture110.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture1" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture1_thumb2.png" alt="Capture1" width="331" height="84" border="0" /></a></p>
<p>On click of the Developer Dashboard icon, page will be reloaded and Developer Dashboard will be displayed at the bottom of the page as shown below:</p>
<p><a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture29.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture2" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture2_thumb2.png" alt="Capture2" width="713" height="264" border="0" /></a></p>
<p>If you have also used <strong>TraceEnabled = $true</strong> switch with PowerShell, then you will see a link says “<strong>Show or hide additional tracing information …</strong>” at the end of the Developer Dashboard which allows you to show/ hide ASP.NET Tracing information as shown below:</p>
<p><a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture32.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture3" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture3_thumb2.png" alt="Capture3" width="710" height="192" border="0" /></a></p>
<p>Isn’t this a awesome feature for you to get started your investigation exercise? Have a closer look at what Developer Dashboard offers you and it will help you in numbers of ways.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepoint24x7.com/2011/12/enabling-developer-dashboard-in-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix it &#8211; Configuring Object Cache service</title>
		<link>http://www.sharepoint24x7.com/2011/11/fix-it-configuring-object-cache-service/</link>
		<comments>http://www.sharepoint24x7.com/2011/11/fix-it-configuring-object-cache-service/#comments</comments>
		<pubDate>Thu, 03 Nov 2011 15:02:43 +0000</pubDate>
		<dc:creator>Joy</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Fix it]]></category>
		<category><![CDATA[Tips n Tricks]]></category>
		<category><![CDATA[Object Cache]]></category>
		<category><![CDATA[SharePoint Foundation 2010]]></category>
		<category><![CDATA[SharePoint Server 2010]]></category>
		<category><![CDATA[SharePoint Server 2010 Configuration]]></category>

		<guid isPermaLink="false">http://www.sharepoint24x7.com/?p=324</guid>
		<description><![CDATA[If you are using Web Content Management (WCM) solutions implemented with SharePoint 2010 Publishing Infrastructure features, you will notice following Critical error in your server Event Log. What does it mean and how do you fix this? This error is generated by SharePoint’s Object Cache service. In order to get rid of this error, you [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using Web Content Management (WCM) solutions implemented with SharePoint 2010 Publishing Infrastructure features, you will notice following Critical error in your server Event Log.</p>
<p><a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture91.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture9" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture9_thumb1.png" alt="Capture9" width="604" height="582" border="0" /></a></p>
<p>What does it mean and how do you fix this?</p>
<p>This error is generated by SharePoint’s Object Cache service. In order to get rid of this error, you will have to configure Object Cache service.</p>
<h2>What is Object Cache service?</h2>
<p>Object Cache is a very powerful built-in service in SharePoint 2010 Publishing Infrastructure which instructs every Web Front End (WFE) to cache object properties in order to boost the performance. This reduces the load on SQL Server tremendously by reducing number of round trips required to retrieve same data from the content databases. In scenarios where you have Web Content Management solutions which go through less content changes, by configuring Object Cache, you can reduce the latency and increase the throughput.</p>
<p>Configuring Object Cache is all about configuring User Policies for each and every Web Applications. Object Cache is configured at the Web Application level and you need to have 02 AD user accounts for configuring Portal Super User and Portal Super Reader. Portal Super User account has full control and Portal Super Reader account has full read-only access.</p>
<p>Let us begin the configuration.</p>
<h3>Task 1 – Create required AD accounts</h3>
<p>You need to create 02 service accounts in order to configure Portal Super User and Portal Super Reader. Go to Active Directory and create 02 service accounts.</p>
<p>I already have 02 service accounts created named, <strong>SP_ObjectCacheUser</strong> and <strong>SP_ObjectCacheReader</strong>.</p>
<p><a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture11.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture1" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture1_thumb1.png" alt="Capture1" width="603" height="56" border="0" /></a></p>
<h3>Task 2 – Configure Object Cache User Accounts using CA</h3>
<p>Initial configuration done using CA.</p>
<ol>
<li>Fire up the <strong>SharePoint 2010 Central Administration</strong> site by navigating to <strong>Start</strong> –&gt; <strong>All Programs</strong> –&gt; <strong>Microsoft SharePoint 2010 Products</strong> –&gt; <strong>SharePoint 2010 Central Administration</strong>.</li>
<li>Select <strong>Manage web applications</strong> link from the <strong>Application Management</strong> group.</li>
<li>Select the web application you are planning to configure Object Cache. In my environment, for this demo, I’m selecting <strong>SharePoint – 80</strong> web application.</li>
<li>Click the <strong>User Policy</strong> from the <strong>Policy</strong> group in the ribbon.<br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture28.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture2" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture2_thumb1.png" alt="Capture2" width="631" height="176" border="0" /></a></li>
<li>Click <strong>Add Users</strong> link in the <strong>Policy for Web Application</strong> dialog box.<br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture31.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture3" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture3_thumb1.png" alt="Capture3" width="449" height="249" border="0" /></a></li>
<li>Select <strong>(All Zones)</strong> for the <strong>Select the Zone</strong> field in the <strong>Add Users</strong> dialog box and click <strong>Next &gt;</strong> button.<br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture41.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture4" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture4_thumb1.png" alt="Capture4" width="456" height="228" border="0" /></a></li>
<li>Enter the <strong>Portal Super User</strong> account for the <strong>Choose Users</strong> field and select <strong>Full Control</strong> from the <strong>Choose Permissions</strong> section and click <strong>Finish</strong>. In my demo, I have configured <strong>SP_ObjectCacheUser</strong> as the <strong>Portal Super User</strong>.<br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture51.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture5" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture5_thumb1.png" alt="Capture5" width="412" height="449" border="0" /></a></li>
<li>Click <strong>Add Users</strong> link again in the <strong>Policy for Web Application</strong> dialog box.</li>
<li>Select <strong>(All Zones)</strong> for the <strong>Select the Zone</strong> field in the <strong>Add Users</strong> dialog box and click <strong>Next &gt;</strong> button.</li>
<li>Enter the <strong>Portal Super Reader </strong>account for the <strong>Choose Users</strong> field and select <strong>Full Read </strong>from the <strong>Choose Permissions</strong> section and click <strong>Finish</strong>. In my demo, I have configured <strong>SP_ObjectCacheReader</strong> as the <strong>Portal Super Read</strong>.<br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture61.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture6" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture6_thumb1.png" alt="Capture6" width="420" height="458" border="0" /></a></li>
<li><strong>Policy for Web Application</strong> dialog box now will look following.<br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture71.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture7" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture7_thumb1.png" alt="Capture7" width="460" height="300" border="0" /></a></li>
</ol>
<h3>Task 3 – Committing configuration changes using PowerShell</h3>
<p>Final step is to commit configuration changes using PowerShell.</p>
<ol>
<li>Fire up <strong>SharePoint 2010 Management Shell</strong> by navigating to <strong>Start</strong> –&gt; <strong>All Programs</strong> –&gt; <strong>Microsoft SharePoint 2010 Products</strong> –&gt; <strong>SharePoint 2010 Management Shell</strong>.</li>
<li>Enter the following PowerShell commands to update the settings. Change the Web Application name placeholder depending on the name of the Web Application.<strong>$wa = Get-SPWebApplication – Identity “<span style="background-color: #ffff00;">SharePoint – 80</span>”<br />
$wa.Properties[“portalsuperuseraccount”] = “<span style="background-color: #ffff00;">CONTOSO\SP_ObjectCacheUser</span>”<br />
$wa.Properties[“portalsuperreaderaccount”] = “<span style="background-color: #ffff00;">CONTOSO\SP_ObjectCacheReader</span>”<br />
$wa.Update()<br />
</strong><br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture81.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture8" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture8_thumb1.png" alt="Capture8" width="683" height="83" border="0" /></a></li>
</ol>
<p>Now you will not see the earlier Critical error in your server Event Log as well as you will experience a reduced latency and an improved throughput.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepoint24x7.com/2011/11/fix-it-configuring-object-cache-service/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Article &#8211; Configuring Forms-based Authentication in SharePoint 2010</title>
		<link>http://www.sharepoint24x7.com/2011/10/article-configuring-forms-based-authentication-in-sharepoint-2010/</link>
		<comments>http://www.sharepoint24x7.com/2011/10/article-configuring-forms-based-authentication-in-sharepoint-2010/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 04:25:00 +0000</pubDate>
		<dc:creator>Joy</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Articles]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[SharePoint Foundation 2010]]></category>
		<category><![CDATA[SharePoint Server 2010]]></category>
		<category><![CDATA[SharePoint Server 2010 Configuration]]></category>

		<guid isPermaLink="false">http://www.sharepoint24x7.com/?p=302</guid>
		<description><![CDATA[Configuring Form-based authentication has been always challenging in SharePoint products and technologies since its early releases. With the introduction of SharePoint 2010, it became simpler but little confusing to most of developers &#38; administrators. I’m going to quickly go through how to configure forms-based authentication in SharePoint 2010 using a SQL Server based user store. [...]]]></description>
			<content:encoded><![CDATA[<p>Configuring Form-based authentication has been always challenging in SharePoint products and technologies since its early releases. With the introduction of SharePoint 2010, it became simpler but little confusing to most of developers &amp; administrators. I’m going to quickly go through how to configure forms-based authentication in SharePoint 2010 using a SQL Server based user store.</p>
<blockquote><p><strong><em>Note: Authentication in SharePoint can be configured only at the Web Application level. Web Application is the boundary for configuring authentication in SharePoint. Even before creating a new web application using CA, you need to decide what type of authentication you are planning to use within the web application. Changing authentication mode later might be difficult and error prone than expected.</em></strong></p></blockquote>
<blockquote><p><strong><em>Note: To configure form-based authentication, new claims-based authentication mode needs to be configured for the web application. In SharePoint 2010 form-based authentication is implemented using claims-based authentication and using classic mode authenticating to implement form-based authentication is not supported by Microsoft.</em></strong></p></blockquote>
<p>Configuring form-based authentication has several phases:</p>
<ol>
<li>Provisioning and configuring a custom user store</li>
<li>Populating the user store with users and roles</li>
<li>Creating a new Web Application</li>
<li>Configuring STS, CA &amp; FBA Web Application</li>
<li>Test to see whether FBA works</li>
</ol>
<h2>Phase 1: Provisioning and configuring a user store</h2>
<h3>Task 1: Provisioning and configuring a custom user store</h3>
<p>I’m going to use very simple script provided by Microsoft Visual Studio SDK to create a very simple user store to store all the users and roles information.</p>
<ol>
<li>Fire up <strong>Visual Studio Command Prompt (2010)</strong> by navigating to <strong>Start</strong> -&gt; <strong>All Programs</strong> -&gt; <strong>Microsoft Visual Studio 2010</strong> -&gt; <strong>Visual Studio Tools</strong> -&gt; <strong>Visual Studio Command Prompt (2010)</strong>.</li>
<li>Enter <strong>aspnet_regsql</strong> and wait until it starts <strong>ASP.NET SQL Server Setup Wizard</strong>.<br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture1.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture1" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture1_thumb.png" alt="Capture1" width="587" height="65" border="0" /></a></li>
<li>Click <strong>Next</strong> in the <strong>Welcome to the ASP.NET SQL Server Setup Wizard</strong> page.</li>
<li>Select <strong>Configure SQL Server for application services</strong> option from the <strong>Select a Setup Option</strong> page.<br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture2.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture2" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture2_thumb.png" alt="Capture2" width="356" height="275" border="0" /></a></li>
<li>In the <strong>Select the Server and Database</strong> page, enter name of the SQL Server for the <strong>Server:</strong> field. Select the appropriate authentication mode for the database server (In my case Windows authentication). And if you want to specify a database name, replace <strong>&lt;default&gt;</strong> with the name of your choice for the <strong>Database:</strong> field. Leaving <strong>Database:</strong> field with <strong>&lt;default&gt;</strong> will always create a database named <strong>aspnetdb</strong>. Click <strong>Next</strong> after you enter all the details.<br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture3.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture3" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture3_thumb.png" alt="Capture3" width="441" height="261" border="0" /></a></li>
<li>Click <strong>Next</strong> in the <strong>Confirm Your Settings</strong> page to start the configuration.</li>
<li>After few seconds, you will get the “<strong>The database has been created or modified.”</strong> page. Click <strong>Finish</strong> to quit the wizard.</li>
<li>Exit the <strong>Visual Studio Command Prompt (2010)</strong>.</li>
</ol>
<h3>Task 2: Verify the existence of custom user store</h3>
<ol>
<li>Fire up <strong>Microsoft SQL Server Management Studio</strong> by navigating to <strong>Start</strong> -&gt; <strong>All Programs</strong> -&gt; <strong>Microsoft SQL Server 2008 R2</strong> -&gt; <strong>SQL Server Management Studio</strong>.</li>
<li>Connect to the correct SQL Server using <strong>Connect to Server</strong> dialog box.</li>
<li>Expand <strong>Databases</strong> folder and verify the existence of the database <strong>aspnetdb</strong>.<br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture4.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture4" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture4_thumb.png" alt="Capture4" width="293" height="158" border="0" /></a></li>
</ol>
<h3>Task 3: Configuring database access to CA and AppPool user accounts</h3>
<p>In order to CA and Web Applications to being able to communicate with the custom user store (aspnetdb database), we need to grant access to SharePoint Farm account and AppPool account. In my environment, I have 02 accounts names <strong>SP_Farm</strong> and <strong>SP_AppPool</strong> which I have configured to run SharePoint Farm and AppPools respectively. You need to find out the name of the service accounts for <strong>SharePoint Farm Service Account </strong>and <strong>Application Pool Service Account </strong>you configured while you are setting up SharePoint. Once you identify them, perform following instructions to grant right permissions to the database:</p>
<ol>
<li>Expand <strong>Database</strong> folder in <strong>SQL Server Management Studio</strong>.</li>
<li>Expand <strong>aspnetdb</strong> database.</li>
<li>Expand <strong>Security</strong> folder and then <strong>Users</strong> folder.</li>
<li>Right-click <strong>User</strong>s folder and select <strong>New User…<br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture5.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture5" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture5_thumb.png" alt="Capture5" width="341" height="255" border="0" /></a><br />
</strong></li>
<li>In the <strong>Database User – New</strong> dialog box, enter name of the farm user for the <strong>User name:</strong> field and name of the login for the <strong>Login name:</strong> field.</li>
<li>From the <strong>Database role membership:</strong> list select the following database Role Members:</li>
</ol>
<ol>
<li><strong>aspnet_Membership_FullAccess</strong></li>
<li><strong>aspnet_Personalization_FullAccess</strong></li>
<li><strong>aspnet_Profile_FullAccess</strong></li>
<li><strong>aspnet_Roles_FullAccess</strong></li>
<li><strong>aspnet_WebEvent_FullAccess<br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture6.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture6" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture6_thumb.png" alt="Capture6" width="449" height="449" border="0" /></a><br />
</strong></li>
</ol>
<ul>
<li>Select <strong>OK</strong> to add the user to the database.</li>
<li>Repeat steps <strong>4</strong> through <strong>7</strong> for granting SharePoint <strong>AppPool</strong> service account as well.</li>
</ul>
<h2>Phase 2: Populating the user store with users and roles</h2>
<p>Next we need to get some sample users in to the new user store we created by using a role provider. Easiest way to do this is using a Visual Studio ASP.NET Web Site.</p>
<h3>Task 1: Creating Users and Roles in custom user store</h3>
<ol>
<li>Fire up <strong>Microsoft Visual Studio 2010</strong> by navigating to <strong>Start</strong> -&gt; <strong>All Programs</strong> -&gt; <strong>Microsoft Visual Studio 2010</strong> -&gt; <strong>Microsoft Visual Studio 2010</strong>.</li>
<li>Select <strong>File</strong> -&gt; <strong>New</strong> -&gt; <strong>Web Site…</strong></li>
<li>Select the language of your choice. Select <strong>ASP.NET Web Site</strong> project template. Provide a project name and click <strong>OK</strong>.<br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture7.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture7" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture7_thumb.png" alt="Capture7" width="473" height="344" border="0" /></a></li>
<li>Double-click <strong>web.config</strong> from the <strong>Solution Explorer</strong> and replace <strong>&lt;connectionStrings /&gt;</strong> with the following:<br />
<strong>&lt;connectionStrings&gt;<br />
    &lt;clear/&gt;<br />
    &lt;add name="LocalSqlServer" connectionString="Data Source=<span style="background-color: #ffff00;">(local);Initial Catalog=aspnetdb;Integrated Security=True</span>"/&gt;<br />
&lt;/connectionStrings&gt;</strong></li>
<li>Make sure to change the highlighted connection string as per your environment to point to the new user store created.</li>
<li>Save <strong>web.config</strong> file.</li>
<li>Select the <strong>ASP.NET Configuration</strong> option from the <strong>Solution Explorer</strong> to open the <strong>ASP.NET Web Site Administration Tool</strong>.<br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture8.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture8" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture8_thumb.png" alt="Capture8" width="430" height="219" border="0" /></a><br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture9.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture9" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture9_thumb.png" alt="Capture9" width="557" height="241" border="0" /></a></li>
<li>Go to <strong>Provider</strong> tab and click “<strong>Select a single provider for all site management data</strong>” link. Click the link “<strong>Test</strong>” in front of “<strong>AspNetSqlProvider</strong>” and make sure you receive a successful response message “<strong>Successfully established a connection to the database.</strong>”.</li>
<li>Navigate to <strong>Security</strong> tab. Click “<strong>Select authentication type</strong>” link from <strong>Users</strong> section. Change the selection to “<strong>From the internet</strong>” and click <strong>Done</strong>.</li>
<li>Select “<strong>Enable roles</strong>” link from the <strong>Roles</strong> section to enable role management.</li>
<li>Select “<strong>Create user</strong>” link from <strong>Users</strong> section to create required number of users in the user store.<br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture10.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture10" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture10_thumb.png" alt="Capture10" width="342" height="287" border="0" /></a><br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture23.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture23" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture23_thumb.png" alt="Capture23" width="345" height="291" border="0" /></a></li>
<li>Select “<strong>Create or Manage roles</strong>” link from <strong>Roles</strong> section to create roles. Enter <strong>Admins</strong> for the <strong>New role name:</strong> field and click <strong>Add Role</strong>. Add another role named <strong>Users</strong> following same steps.<br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture12.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture12" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture12_thumb.png" alt="Capture12" width="392" height="83" border="0" /></a></li>
<li>Select <strong>Manage</strong> for the <strong>Admins</strong> role and search for the <strong>Admin</strong> user and make sure he is a member of the <strong>Admins</strong> role. Repeat the same steps to include <strong>Sam</strong> and <strong>Joy</strong> users as a member of <strong>Users</strong> role.<br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture13.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture13" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture13_thumb.png" alt="Capture13" width="475" height="79" border="0" /></a><br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture14.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture14" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture14_thumb.png" alt="Capture14" width="476" height="157" border="0" /></a><br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture15.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture15" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture15_thumb.png" alt="Capture15" width="475" height="161" border="0" /></a></li>
</ol>
<p>Use steps <strong>11</strong> through <strong>13</strong> to setup the required users and groups in your user store depending on the requirement.</p>
<h2>Phase 3: Creating a new Web Application</h2>
<p>After we setup our custom user store with the required users and groups, we can start wiring it to the web application.</p>
<h3>Task 1: Creating a Web Application to support FBA</h3>
<ol>
<li>Fire up the <strong>SharePoint 2010 Central Administration</strong> site.</li>
<li>Select <strong>Manage web applications</strong> from <strong>Application Management</strong> section.</li>
<li>Click <strong>New</strong> from the <strong>Contribute</strong> group of the ribbon to create a new web application.</li>
<li>In the <strong>Create New Web Application</strong> dialog, select <strong>Claims Based Authentication</strong> as the option for <strong>Authentication</strong>. Provide a meaningful name for the <strong>Name</strong> and provide a valid port for the <strong>Port</strong> in the <strong>IIS Web Site</strong> section.<br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture16.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture16" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture16_thumb.png" alt="Capture16" width="468" height="130" border="0" /></a><br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture17.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture17" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture17_thumb.png" alt="Capture17" width="469" height="316" border="0" /></a></li>
<li>Move down to <strong>Claims Authentication Types</strong> section and select <strong>Enable Forms Based Authentication (FBA)</strong> and provide following for Membership and Role providers: (these information can be obtained from <strong>machine.config</strong> file).</li>
</ol>
<ol>
<li>ASP.NET Membership provider name: <strong>AspNetSqlMembershipProvider</strong></li>
<li>ASP.NET Role manager name: <strong>AspNetSqlRoleProvider<br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture18.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture18" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture18_thumb.png" alt="Capture18" width="517" height="325" border="0" /></a><br />
</strong></li>
</ol>
<ul>
<li>Go down to section <strong>Sing In Page URL</strong> section and if you wish you can configure a custom Sign in page instead of using built-in sign in page. I will use the built-in sign in page for this demo.<br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture19.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture19" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture19_thumb.png" alt="Capture19" width="488" height="117" border="0" /></a></li>
<li>Leave rest of the fields as it is and click <strong>OK</strong> to create the new web application.</li>
<li>After a few seconds/ minutes, you will get the <strong>Application Created</strong> dialog box confirming web application creation. Click the link “<strong>Create Site Collection</strong>” to create a new Site Collection in this new web application.</li>
<li>Give a <strong>Title</strong> and <strong>Description</strong> in the <strong>Title and Description</strong> section.</li>
<li>Select <strong>Team Site</strong> template from the <strong>Template</strong> <strong>Selection</strong> section.</li>
<li>Specify the Farm Administrator name for the <strong>Primary Site Collection Administrator</strong> field for being able to login using Windows Authentication. I provided my farm administrator account <strong>CONTOSO\Administrator</strong> for the same.</li>
<li>Click <strong>OK</strong> to create the Site Collection.</li>
<li>Click <strong>OK</strong> to navigate away from the <strong>Top-Level Site Successfully Created</strong> dialog box.</li>
</ul>
<h3>Task 2: Verify that the new Site Collection can be access using Windows Authentication</h3>
<p>Before we proceed, let’s make sure that we can login and access the new site collection using Windows Authentication since we selected both the options while we were creating the Web Application.</p>
<ol>
<li>Enter the URL of the new Site Collection. In my case, <a href="http://teamserver:8080"><strong>http://teamserver:8080</strong></a></li>
<li>You will be taken to the default sign in page.<br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture20.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture20" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture20_thumb.png" alt="Capture20" width="404" height="94" border="0" /></a></li>
<li>Select <strong>Windows Authentication</strong> from the drop down and make sure you get access to the new site collection we just created.</li>
</ol>
<h2>Phase 4: Configuring Security Token Service, CA &amp; FBA Web Application</h2>
<p>We need to configure Membership provider for Security Token Service in order to FBA to work properly using Claims based authentication in SharePoint 2010.</p>
<h3>Task 1: Configuring STS</h3>
<ol>
<li>Fire up the <strong>IIS Manager</strong> by navigating to <strong>Start</strong> -&gt; <strong>Administrative Tools</strong> -&gt; <strong>Internet Information Services (IIS) Manager</strong>.</li>
<li>Expand the IIS Server and expand the <strong>Sites</strong> folder.</li>
<li>Expand <strong>SharePoint Web Services </strong>Web Site.</li>
<li>Right-click <strong>SecurityTokenServiceApplication</strong> web site and select <strong>Explore</strong>.<br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture21.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture21" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture21_thumb.png" alt="Capture21" width="277" height="403" border="0" /></a></li>
<li>Open the <strong>web.config</strong> file.</li>
<li>Go to the end of the file and locate the &lt;/system.net&gt; element. Just after the &lt;/system.net&gt; element, copy the following configuration elements:<br />
<strong>&lt;system.web&gt;<br />
    &lt;membership&gt;<br />
        &lt;providers&gt;<br />
            &lt;add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="LocalSqlServer" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" passwordStrengthRegularExpression=""/&gt;<br />
        &lt;/providers&gt;<br />
    &lt;/membership&gt;<br />
    &lt;roleManager&gt;<br />
        &lt;providers&gt;<br />
            &lt;add name="AspNetSqlRoleProvider" connectionStringName="LocalSqlServer" applicationName="/" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/&gt;<br />
        &lt;/providers&gt;<br />
    &lt;/roleManager&gt;<br />
&lt;/system.web&gt;<br />
&lt;connectionStrings&gt;<br />
    &lt;clear/&gt;<br />
    &lt;add name="LocalSqlServer" connectionString="Data Source=(local);Initial Catalog=aspnetdb;Integrated Security=True"/&gt;<br />
&lt;/connectionStrings&gt;</strong></li>
<li>Save the changes to <strong>web.config</strong> file.</li>
</ol>
<h3>Task 2: Configuring FBA Web Application</h3>
<ol>
<li>Fire up the <strong>IIS Manager</strong> by navigating to <strong>Start</strong> -&gt; <strong>Administrative Tools</strong> -&gt; <strong>Internet Information Services (IIS) Manager</strong>.</li>
<li>Expand the IIS Server and expand the <strong>Sites</strong> folder.</li>
<li>Right-click FBA enabled web application you created earlier in <strong>Phase 3</strong> and select <strong>Explore</strong>. In my example, <strong>FBA Web Site – 8080</strong>.<br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture27.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture27" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture27_thumb.png" alt="Capture27" width="343" height="240" border="0" /></a></li>
<li>Open the <strong>web.config</strong> file.</li>
<li>Locate the <strong>&lt;membership defaultProvider="i"&gt;</strong> element and within <strong>&lt;providers&gt; &lt;/providers&gt;</strong> add the following just below existing content:<br />
<strong>&lt;add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="LocalSqlServer" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" passwordStrengthRegularExpression=""/&gt;</strong></li>
<li>Just underneath the Membership provider, locate the <strong>&lt;roleManager defaultProvider="c" enabled="true" cacheRolesInCookie="false"&gt;</strong> element and within <strong>&lt;providers&gt; &lt;/providers&gt;</strong> add the following just below existing content:<br />
<strong>&lt;add name="AspNetSqlRoleProvider" connectionStringName="LocalSqlServer" applicationName="/" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/&gt;</strong></li>
<li>Finally, locate the<strong> &lt;/system.web&gt;</strong> element and just underneath that, add the following:<br />
<strong>&lt;connectionStrings&gt;<br />
    &lt;clear/&gt;<br />
    &lt;add name="LocalSqlServer" connectionString="Data Source=(local);Initial Catalog=aspnetdb;Integrated Security=True"/&gt;<br />
&lt;/connectionStrings&gt;</strong></li>
<li>Save the changes to the <strong>web.config</strong> file.</li>
</ol>
<h3>Task 3: Configure CA – Optional</h3>
<ol>
<li>Fire up the <strong>IIS Manager</strong> by navigating to <strong>Start</strong> -&gt; <strong>Administrative Tools</strong> -&gt; <strong>Internet Information Services (IIS) Manager</strong>.</li>
<li>Expand the IIS Server and expand the <strong>Sites</strong> folder.</li>
<li>Right-click <strong>SharePoint Central Administration v4</strong> site and select <strong>Explore</strong>.</li>
<li>Open the <strong>web.config</strong> file.</li>
<li>Search for <strong>&lt;roleManager&gt;&lt;/roleManager&gt;</strong> and <strong>&lt;membership&gt;&lt;/membership&gt;</strong> elements and you will typically see a set of empty elements for the same. Replace those empty elements with the following:<br />
<strong>&lt;membership&gt;<br />
    &lt;providers&gt;<br />
        &lt;add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="LocalSqlServer" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" passwordStrengthRegularExpression=""/&gt;<br />
    &lt;/providers&gt;<br />
&lt;/membership&gt;<br />
&lt;roleManager&gt;<br />
    &lt;providers&gt;<br />
        &lt;add name="AspNetSqlRoleProvider" connectionStringName="LocalSqlServer" applicationName="/" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/&gt;<br />
    &lt;/providers&gt;<br />
&lt;/roleManager&gt;</strong></li>
<li>And just underneath the <strong>&lt;/system.web&gt;</strong> element, enter the following:<br />
<strong>&lt;connectionStrings&gt;<br />
    &lt;clear/&gt;<br />
    &lt;add name="LocalSqlServer" connectionString="Data Source=(local);Initial Catalog=aspnetdb;Integrated Security=True"/&gt;<br />
&lt;/connectionStrings&gt;</strong></li>
<li>Save the changes to <strong>web.config</strong> file.</li>
</ol>
<h2>Phase 5: Test to see whether FBA works</h2>
<p>Before we test to see whether FBA works, we need to make sure Windows Authentication works as earlier and grant access to one of the Forms based user account to site.</p>
<h3>Task 1: Verify that the new Site Collection can be access using Windows Authentication</h3>
<ol>
<li>Enter the URL of the new Site Collection. In my case, <a href="http://teamserver:8080"><strong>http://teamserver:8080</strong></a></li>
<li>You will be taken to the default sign in page.</li>
<li>Select <strong>Windows Authentication</strong> from the drop down and make sure you get access to the new site collection we just created.</li>
</ol>
<h3>Task 2: Grand access to Forms based users</h3>
<ol>
<li>While you are logged in as Administrator using Windows Authentication, select <strong>Site Actions</strong> -&gt; <strong>Site Permissions</strong>.</li>
<li>Select <strong>Grant Permissions</strong> from the <strong>Grant</strong> group in the ribbon.</li>
<li>In the <strong>Grant Permissions</strong> dialog box, select the <strong>Browse</strong> button.<br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture22.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture22" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture22_thumb.png" alt="Capture22" width="538" height="102" border="0" /></a></li>
<li>In the <strong>Select People and Groups – Webpage Dialog</strong>, enter forms based user name in the <strong>Find</strong> field and click <strong>Search</strong> button. I’m searching for <strong>Joy</strong> user which I created earlier in <strong>Phase 2</strong>.</li>
<li>You will see <strong>Joy</strong> user comes under <strong>User: Forms Auth</strong> category. Select the user and click <strong>Add -&gt;</strong> button and click <strong>OK</strong>.<br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture24.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture24" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture24_thumb.png" alt="Capture24" width="418" height="375" border="0" /></a></li>
<li>Select the <strong>Contribute</strong> group from the <strong>Grant Permission</strong> dialog box and click <strong>OK</strong>.</li>
</ol>
<h3>Task 3: Test to see whether we can login using FBA</h3>
<ol>
<li>Open a new browser window and enter the URL of the new Site Collection. In my case, <a href="http://teamserver:8080"><strong>http://teamserver:8080</strong></a></li>
<li>You will be taken to the default sign in page.</li>
<li>Select <strong>Forms Authentication</strong> from the drop down and it will take you to a sign in page in which you can enter user name and password.</li>
<li>Enter user name and password for the forms user and click <strong>Sign In</strong> button.<br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture25.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture25" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture25_thumb.png" alt="Capture25" width="497" height="238" border="0" /></a></li>
<li>Wow, you have now logged in as Joy who is a forms based user.<br />
<a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture26.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Capture26" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/12/Capture26_thumb.png" alt="Capture26" width="535" height="79" border="0" /></a></li>
</ol>
<blockquote><p><strong>Closing Note: It’s going be bit difficult when you configure Forms-based Authentication for the first time but once you have experience doing it few times, you will not face any issues</strong>.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepoint24x7.com/2011/10/article-configuring-forms-based-authentication-in-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fix it – SharePoint Server Search doesn’t crawl/ index Project Server 2010 PWA content.</title>
		<link>http://www.sharepoint24x7.com/2011/09/fix-it-%e2%80%93-sharepoint-server-search-doesn%e2%80%99t-crawl-index-project-server-2010-pwa-content/</link>
		<comments>http://www.sharepoint24x7.com/2011/09/fix-it-%e2%80%93-sharepoint-server-search-doesn%e2%80%99t-crawl-index-project-server-2010-pwa-content/#comments</comments>
		<pubDate>Tue, 06 Sep 2011 15:48:29 +0000</pubDate>
		<dc:creator>Joy</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Fix it]]></category>
		<category><![CDATA[Project Server 2010]]></category>
		<category><![CDATA[PWA]]></category>
		<category><![CDATA[SharePoint Server 2010]]></category>

		<guid isPermaLink="false">http://www.sharepoint24x7.com/?p=248</guid>
		<description><![CDATA[I have been working with Element K team on supporting their new Microsoft Project Server 2010 – Project Web Access course development. They have setup a new Project Server 2010 server with PWA and have been facing issues with Search using PWA portal. In simple, they were getting no records found response when they search [...]]]></description>
			<content:encoded><![CDATA[<p>I have been working with <a href="http://www.elementk.com/">Element K</a> team on supporting their new <strong>Microsoft Project Server 2010 – Project Web Acces</strong>s course development. They have setup a new Project Server 2010 server with PWA and have been facing issues with Search using PWA portal. In simple, they were getting no records found response when they search for an item which is already available in their portal.</p>
<p>I have been asked to support them and volunteered for the same.</p>
<ul>
<li>First things first. I went and logged into SharePoint Central Administration website and checked "Services on this server" page and found out that SharePoint Server Search is not running. I navigated to "Manage service applications" page and created a new "Search Service Application" and an associated proxy.</li>
<li>Configured Crawling and executed a Full Crawl immediately. It indicated 4 successes and <strong>1 error</strong>. When I checked the error, it stated that "<strong>http://[servername]/PWA - The SharePoint item being crawled returned an error when attempting to download the item.</strong>" I didn't understand what was it and did some searching and found out a very nice helpful blog post - <a href="http://blogs.msdn.com/b/maulikr/archive/2011/06/15/project-server-2010-how-to-configure-search-for-pwa-sites.aspx">http://blogs.msdn.com/b/maulikr/archive/2011/06/15/project-server-2010-how-to-configure-search-for-pwa-sites.aspx</a>.</li>
</ul>
<p>As per the MSFT blog post, SharePoint Search Service doesn't index PWA content automatically without doing some Registry tweaks. To resolve this we will need to change the registry key value for the "<strong>UserAgent</strong>" in SharePoint Server. The original value for "UserAgent" key is "<strong>Mozilla/4.0 (compatible; MSIE 4.01; Windows NT; MS Search 6.0 Robot)</strong>" and we need to change it to "<strong>Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; .NET4.0C; MS-RTC LM 8; Tablet PC 2.0)</strong>".</p>
<ul>
<li>Open the registry editor by executing <strong>regedit</strong> in <strong>Start</strong> -&gt; <strong>Run</strong>.</li>
<li>Navigate to "<strong>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0\Search\Global\Gathering Manager</strong>" folder and locate the "<strong>UserAgent</strong>" key. Right-click the "UserAgent" key and modify the value to read as "<strong>Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; .NET4.0C; MS-RTC LM 8; Tablet PC 2.0)</strong>".</li>
<li><strong>Restart</strong> the SharePoint Server.</li>
<li>Reset the Search Index.</li>
<li>Run a Full Crawl again.</li>
</ul>
<p>Now we should be able to see that PWA content spitted into Search Result page in PWA portal.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepoint24x7.com/2011/09/fix-it-%e2%80%93-sharepoint-server-search-doesn%e2%80%99t-crawl-index-project-server-2010-pwa-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix it – Office Web Apps couldn’t open the document for viewing because of an unexpected error</title>
		<link>http://www.sharepoint24x7.com/2011/08/fix-it-%e2%80%93-office-web-apps-couldn%e2%80%99t-open-the-document-for-viewing-because-of-an-unexpected-error/</link>
		<comments>http://www.sharepoint24x7.com/2011/08/fix-it-%e2%80%93-office-web-apps-couldn%e2%80%99t-open-the-document-for-viewing-because-of-an-unexpected-error/#comments</comments>
		<pubDate>Sat, 06 Aug 2011 17:43:30 +0000</pubDate>
		<dc:creator>Joy</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Fix it]]></category>
		<category><![CDATA[Office Web Apps]]></category>
		<category><![CDATA[Word Viewing Service]]></category>

		<guid isPermaLink="false">http://www.sharepoint24x7.com/?p=241</guid>
		<description><![CDATA[I tried Office Web Apps with SharePoint 2010 when the product was in beta and I was thrilled with the features introduced. I also setup a virtual machine with SharePoint 2010 and Office Web Apps on the very next day after they released the RTM bits of SharePoint 2010 and Office Web Apps. I did [...]]]></description>
			<content:encoded><![CDATA[<p>I tried Office Web Apps with SharePoint 2010 when the product was in beta and I was thrilled with the features introduced. I also setup a virtual machine with SharePoint 2010 and Office Web Apps on the very next day after they released the RTM bits of SharePoint 2010 and Office Web Apps. I did few articles on the same topic using that virtual machine and recently I updated it with Service Pack 1 bits.</p>
<p>I applied SharePoint Foundation 2010 SP 1, SharePoint Server 2010 SP 1 and Office Web Apps SP 1 and I tried opening a Word document using browser and then boomed. I got the following error when I try to open a Word document within browser. The error says "<strong>Word Web App cannot open this document for viewing because of an unexpected error. To view this document, open it in Microsoft Word</strong>".</p>
<div id="attachment_242" class="wp-caption aligncenter" style="width: 393px"><a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/08/wordwebapp-error-01.jpg"><img class="size-full wp-image-242" title="Office Web App error" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/08/wordwebapp-error-01.jpg" alt="Office Web App error" width="383" height="179" /></a><p class="wp-caption-text">Office Web App error</p></div>
<p>Usual troubleshooting exercise started by going to ULS logs. ULS logs stated that Word Viewing Service cannot access the database server and also it stated that App Pool account doesn't have write permission to C:\Windows\Temp directory. Next, I checked the Windows Event Viewer and it also stated that the database server is not accessible and the related content database is not accessible by the App Pool account.</p>
<p>I went and checked the SQL Server security and found out that App Pool account already has been given right set of permission and then checked the file permission to C:\Windows\Temp directory. What I found out was that write permission was assigned to a group called WSS_ADMIN_WPG and when I checked closely I saw that my App Pool account was part of the same security group. Then where was the issue?</p>
<p>I started Googling and found out that some of the users encountered this when you have Active Directory also running in the same machine. Then I found out some PowerShell scripts from <a href="http://www.dilukj.com/2011/04/setup-office-web-apps-for-sharepoint-2010/">http://www.dilukj.com/2011/04/setup-office-web-apps-for-sharepoint-2010/</a> to configure Word Viewing Service and PowerPoint Service Applications to disable Sandboxed execution which is preventing Office Web Apps to function properly in a machine in which we have both Office Web Apps and Active Directory configured.</p>
<p>I ran those commands there was no luck and then I was breaking my head for few minutes to find out why is this happening? Then I remembered that I have another service account which I have configured to run all the Service Applications in my farm and I went and checked SQL Server security again for the content database for the same account. Damn, that account didn't have access to the content database. I added the same service account which I have configured to run all my Service Applications as a new login to the content database and assigned the "db_owner" role.</p>
<p>Wow, Office Web Apps started working nicely as I expected.</p>
<p>I thought of sharing this experience so that when you get the above error, now you now what are the things you need to check to fix the problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepoint24x7.com/2011/08/fix-it-%e2%80%93-office-web-apps-couldn%e2%80%99t-open-the-document-for-viewing-because-of-an-unexpected-error/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Introducing Edit Control Block (ECB)</title>
		<link>http://www.sharepoint24x7.com/2011/07/introducing-edit-control-block-ecb/</link>
		<comments>http://www.sharepoint24x7.com/2011/07/introducing-edit-control-block-ecb/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 13:10:30 +0000</pubDate>
		<dc:creator>Joy</dc:creator>
				<category><![CDATA[End User]]></category>
		<category><![CDATA[Power User]]></category>
		<category><![CDATA[Tips n Tricks]]></category>
		<category><![CDATA[MOSS 2007]]></category>
		<category><![CDATA[SharePoint Foundation 2010]]></category>
		<category><![CDATA[SharePoint Server 2010]]></category>
		<category><![CDATA[WSS 3.0]]></category>

		<guid isPermaLink="false">http://www.sharepoint24x7.com/?p=238</guid>
		<description><![CDATA[Most of us who use SharePoint product have been using following menu a number of times. But how did you refer to this menu? How do you call this menu? I have heard people call this menu as "this drop down menu", "this document specific menu", "this item specific menu", "this document edit menu", "this [...]]]></description>
			<content:encoded><![CDATA[<p>Most of us who use SharePoint product have been using following menu a number of times. But how did you refer to this menu? How do you call this menu? I have heard people call this menu as "this drop down menu", "this document specific menu", "this item specific menu", "this document edit menu", "this item edit menu", etc…</p>
<p>What is the actual name for this flying menu when you click the down arrow next to the item/ document Name?</p>
<p>This is called "<strong>Edit Control Box (ECB)</strong>". Now onward, you guys should get used to using this right name instead of calling it "this menu", "that menu", etc…</p>
<div id="attachment_239" class="wp-caption aligncenter" style="width: 727px"><a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/07/CropperCapture14.jpg"><img class="size-full wp-image-239 " title="Edit Control Block (ECB)" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/07/CropperCapture14.jpg" alt="Edit Control Block (ECB)" width="717" height="232" /></a><p class="wp-caption-text">Edit Control Block (ECB)</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepoint24x7.com/2011/07/introducing-edit-control-block-ecb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Service Pack 1 for SharePoint 2010 Products is Now Available for Download</title>
		<link>http://www.sharepoint24x7.com/2011/06/service-pack-1-for-sharepoint-2010-products-is-now-available-for-download/</link>
		<comments>http://www.sharepoint24x7.com/2011/06/service-pack-1-for-sharepoint-2010-products-is-now-available-for-download/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 04:45:47 +0000</pubDate>
		<dc:creator>Joy</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[SharePoint Foundation 2010]]></category>
		<category><![CDATA[SharePoint Server 2010]]></category>

		<guid isPermaLink="false">http://www.sharepoint24x7.com/?p=236</guid>
		<description><![CDATA[Service Pack 1 for SharePoint 2010 Products is Now Available for Download. Service Pack 1 includes stability, performance, and security enhancements that are a direct result of customer/ partner feedback. Read more about installing Service Pack 1 for SharePoint Foundation 2010, SharePoint Server 2010 and Language Packs from the SharePoint Team Blog. SharePoint Team Blog: [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Service Pack 1 for SharePoint 2010 Products is Now Available for Download. </strong></p>
<p>Service Pack 1 includes stability, performance, and security enhancements that are a direct result of customer/ partner feedback. Read more about installing Service Pack 1 for SharePoint Foundation 2010, SharePoint Server 2010 and Language Packs from the SharePoint Team Blog.</p>
<p>SharePoint Team Blog: <a href="http://sharepoint.microsoft.com/blog/Pages/BlogPost.aspx?pID=984">http://sharepoint.microsoft.com/blog/Pages/BlogPost.aspx?pID=984</a></p>
<p>Download Service Pack 1: <a href="http://technet.microsoft.com/office/ee748587.aspx">http://technet.microsoft.com/office/ee748587.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepoint24x7.com/2011/06/service-pack-1-for-sharepoint-2010-products-is-now-available-for-download/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get Ready for the SEA SharePoint Conference 2011</title>
		<link>http://www.sharepoint24x7.com/2011/06/get-ready-for-the-sea-sharepoint-conference-2011/</link>
		<comments>http://www.sharepoint24x7.com/2011/06/get-ready-for-the-sea-sharepoint-conference-2011/#comments</comments>
		<pubDate>Mon, 13 Jun 2011 06:29:58 +0000</pubDate>
		<dc:creator>Joy</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Office 2010]]></category>
		<category><![CDATA[Office Web Apps]]></category>
		<category><![CDATA[PowerPoint Service]]></category>
		<category><![CDATA[SharePoint Designer 2010]]></category>
		<category><![CDATA[SharePoint Foundation 2010]]></category>
		<category><![CDATA[SharePoint Server 2010]]></category>

		<guid isPermaLink="false">http://www.sharepoint24x7.com/?p=230</guid>
		<description><![CDATA[I just received the good news about the SEA SharePoint Conference 2011. Plans are underway for SEA SharePoint Conference and I'm very excited to go this year as well. If you were there last year, I assume you have already decided to come this year and let me help you to book your calendar. Go [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_231" class="wp-caption aligncenter" style="width: 664px"><a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/06/2011SEASPCBanner.png"><img class="size-full wp-image-231     " title="SEA SharePoint Conference 2011" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/06/2011SEASPCBanner.png" alt="SEA SharePoint Conference 2011" width="654" height="152" /></a><p class="wp-caption-text">SEA SharePoint Conference 2011</p></div>
<p><span style="color: #000000;">I just received the good news about the SEA SharePoint Conference 2011. Plans are underway for SEA SharePoint Conference and I'm very excited to go this year as well. </span></p>
<p><span style="color: #000000;">If you were there last year, I assume you have already decided to come this year and let me help you to book your calendar. Go ahead and book <strong>08<sup>th</sup> – 09<sup>th</sup> November </strong>for the greatest SharePoint Conference in the region. If you didn't get the chance to be there last year, here you have got another great opportunity. In nutshell, SEA SharePoint Conference is the largest gathering focused for SharePoint Products &amp; Technologies which runs over 02 days to provide great technical/ business sessions delivered by reputed speakers. </span></p>
<p><span style="color: #000000;">Come and join us to know more about what you can do with SharePoint. </span></p>
<p><span style="color: #000000;">Keep your eye on </span><a href="http://www.sharepointconference.asia/"><span style="color: #000000;">http://www.sharepointconference.asia/</span></a><span style="color: #000000;"> for more details.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepoint24x7.com/2011/06/get-ready-for-the-sea-sharepoint-conference-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint Saturday is coming to Sri Lanka</title>
		<link>http://www.sharepoint24x7.com/2011/06/sharepoint-saturday-is-coming-to-sri-lanka/</link>
		<comments>http://www.sharepoint24x7.com/2011/06/sharepoint-saturday-is-coming-to-sri-lanka/#comments</comments>
		<pubDate>Sat, 04 Jun 2011 14:36:44 +0000</pubDate>
		<dc:creator>Joy</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[SharePoint Server 2010]]></category>
		<category><![CDATA[SharePoint Server 2010 Configuration]]></category>

		<guid isPermaLink="false">http://www.sharepoint24x7.com/?p=227</guid>
		<description><![CDATA[I was in Singapore last year for presenting at SEA SharePoint Conference and I met Michael Noel &#38; Alpesh Nakar and few other members who are part of SharePoint Saturday. We discussed the possibility of having a SharePoint Saturday in Sri Lanka and Michael liked it to have during Mango seasonJ. Finaly we are having [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_228" class="wp-caption alignleft" style="width: 324px"><a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/06/SharePointSaturdaySriLanka.png"><img class="size-full wp-image-228" title="SharePoint Saturday Sri Lanka" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/06/SharePointSaturdaySriLanka.png" alt="SharePoint Saturday Sri Lanka" width="314" height="116" /></a><p class="wp-caption-text">SharePoint Saturday Sri Lanka</p></div>
<p>I was in Singapore last year for presenting at SEA SharePoint Conference and I met Michael Noel &amp; Alpesh Nakar and few other members who are part of SharePoint Saturday. We discussed the possibility of having a SharePoint Saturday in Sri Lanka and Michael liked it to have during Mango season<span style="font-family: Wingdings;">J</span>.</p>
<p>Finaly we are having our first SharePoint Saturday in Sri Lanka and it's happening on 11<sup>th</sup> June. I'm delighted to present a session there even with the very tight schedule I'm having right now. More importantly, I'm delighted to present while my employer - Virtusa Pvt. Ltd. also sponsoring for the event.</p>
<h2>What is SharePoint Saturday SL?</h2>
<p>SharePoint Saturday SL is an educational, informative &amp; lively day filled with sessions from respected SharePoint professionals &amp; MVPs, covering a wide variety of SharePoint-orientated topics. SharePoint Saturday is FREE, open to the public and is your local chance to immerse yourself in SharePoint!</p>
<h2>When is SharePoint Saturday SL?</h2>
<p>June 11, 2011 Saturday</p>
<h2>Where is SharePoint Saturday SL?</h2>
<p>Informatics Institute of Technology,<br />
57, Ramakrishna Road,<br />
Colombo 06,<br />
Sri Lanka.</p>
<p>You can find more information about the event from the official site: <a href="http://www.sharepointsaturday.org/srilanka/default.aspx">http://www.sharepointsaturday.org/srilanka/default.aspx</a> also don't forget to check on the schedule: <a href="http://www.sharepointsaturday.org/srilanka/Pages/schedule.aspx">http://www.sharepointsaturday.org/srilanka/Pages/schedule.aspx</a> and the speakers who are presenting: <a href="http://www.sharepointsaturday.org/srilanka/Pages/speakers.aspx">http://www.sharepointsaturday.org/srilanka/Pages/speakers.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepoint24x7.com/2011/06/sharepoint-saturday-is-coming-to-sri-lanka/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Article – Business Connectivity Services (BCS) Part IV – Creating an External List</title>
		<link>http://www.sharepoint24x7.com/2011/04/article-%e2%80%93-business-connectivity-services-bcs-part-iv-%e2%80%93-creating-an-external-list/</link>
		<comments>http://www.sharepoint24x7.com/2011/04/article-%e2%80%93-business-connectivity-services-bcs-part-iv-%e2%80%93-creating-an-external-list/#comments</comments>
		<pubDate>Sat, 16 Apr 2011 14:12:22 +0000</pubDate>
		<dc:creator>Joy</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Articles]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Power User]]></category>
		<category><![CDATA[BCS]]></category>
		<category><![CDATA[Business Connectivity Services]]></category>
		<category><![CDATA[Office 2010]]></category>
		<category><![CDATA[SharePoint Designer 2010]]></category>
		<category><![CDATA[SharePoint Foundation 2010]]></category>
		<category><![CDATA[SharePoint Server 2010]]></category>
		<category><![CDATA[SharePoint Server 2010 Configuration]]></category>

		<guid isPermaLink="false">http://www.sharepoint24x7.com/?p=206</guid>
		<description><![CDATA[Last article demonstrated how to create an External Content Type (ECT) using SharePoint Designer 2010 and set various options such as Limit Filter and Wildcards. In this section, we will use the same ECT we created earlier and combine it with External List concept to surface the Employee data coming from the LOB system. There [...]]]></description>
			<content:encoded><![CDATA[<p>Last article demonstrated how to create an External Content Type (ECT) using SharePoint Designer 2010 and set various options such as Limit Filter and Wildcards.</p>
<p>In this section, we will use the same ECT we created earlier and combine it with External List concept to surface the Employee data coming from the LOB system.</p>
<p>There are multiple ways of creating an External List and connecting it with an existing ECT to surface data within SharePoint. I will discuss the 02 most popular mechanisms.</p>
<h2>Creating an External List using SharePoint Designer 2010</h2>
<p>This is the easiest way in which you can create an External List and connect it with an ECT at the same time. Let's create an External List using SharePoint Designer 2010.</p>
<h3>Exercise 1 – Open an existing ECT</h3>
<p>Let's open the <strong>NorthwindEmployees</strong> ECT we created last time.</p>
<ol>
<li>Fire-up <strong>SharePoint Designer 2010</strong> by navigating to <strong>Start</strong> -&gt; <strong>All Programs</strong> -&gt; <strong>SharePoint</strong> -&gt; <strong>Microsoft SharePoint Designer 2010</strong>.</li>
<li>Click <strong>Open Site</strong> to bring up <strong>Open Site</strong> dialog box.</li>
<li>Enter the URL of the SharePoint site we created the ECT for <strong>Site name:</strong> and click <strong>Open</strong>.</li>
<li>Select the <strong>External Content Types</strong> from the <strong>Site Objects</strong> pane and wait until it retrieves all the existing External Content Types. After a few seconds, you will see the ECT we created last time.
<p><div id="attachment_207" class="wp-caption aligncenter" style="width: 606px"><a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/04/CropperCapture3.jpg"><img class="size-full wp-image-207 " title="NorthwindEmployees ECT" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/04/CropperCapture3.jpg" alt="NorthwindEmployees ECT" width="596" height="208" /></a><p class="wp-caption-text">NorthwindEmployees ECT</p></div></li>
<li>Click the <strong>NorthwindEmployees</strong> ECT from the right-hand side <strong>External Content Types</strong> pane to open the ECT and its properties.
<p><div id="attachment_208" class="wp-caption aligncenter" style="width: 651px"><a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/04/CropperCapture4.jpg"><img class="size-full wp-image-208 " title="ECT Summary Page" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/04/CropperCapture4.jpg" alt="ECT Summary Page" width="641" height="445" /></a><p class="wp-caption-text">ECT Summary Page</p></div></li>
</ol>
<h3>Exercise 2 – Creating an External List using SharePoint Designer 2010</h3>
<ol>
<li>
<div>Observe the ribbon and its options for the ECT.</div>
</li>
<li>
<div>From the <strong>Lists &amp; Forms</strong> group in the ribbon click <strong>Create Lists &amp; Forms</strong> button.</div>
<p><div id="attachment_209" class="wp-caption aligncenter" style="width: 583px"><a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/04/CropperCapture5.jpg"><img class="size-full wp-image-209 " title="Ribbon for ECT" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/04/CropperCapture5.jpg" alt="Ribbon for ECT" width="573" height="89" /></a><p class="wp-caption-text">Ribbon for ECT</p></div></li>
<li>
<div><strong>Create Lists &amp; Forms for Northwind Employees</strong> dialog box will show up for you to configure the new External List. Provide a name for the new External List by filing <strong>List Name:</strong> field. I provided "Employees List" for this example.</div>
</li>
<li>Optionally you can select <strong>Create InfoPath Forms</strong> check-box to generate InfoPath for all the list view pages (Read List.aspx, DispForm.aspx, etc…) instead of creating ASP.NET pages.
<p><div id="attachment_210" class="wp-caption aligncenter" style="width: 454px"><a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/04/CropperCapture7.jpg"><img class="size-full wp-image-210" title="Creating the External List" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/04/CropperCapture7.jpg" alt="Creating the External List" width="444" height="269" /></a><p class="wp-caption-text">Creating the External List</p></div></li>
<li>
<div>Click <strong>OK</strong> to create the External List. After few seconds, you will see the section <strong>External Lists</strong> in the ECT summary page with the new External List we created.</div>
<p><div id="attachment_211" class="wp-caption aligncenter" style="width: 397px"><a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/04/CropperCapture8.jpg"><img class="size-full wp-image-211" title="Creating the External List" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/04/CropperCapture8.jpg" alt="Creating the External List" width="387" height="106" /></a><p class="wp-caption-text">Creating the External List</p></div></li>
</ol>
<h2>Creating an External List using Web Browser</h2>
<p>This way we can create the External List by using standard web browser application and using options in the SharePoint site.</p>
<ol>
<li>Open your web browser and navigate to the SharePoint site which we created the ECT.</li>
<li>Select <strong>Site Actions</strong> -&gt; <strong>More Options…</strong> to open <strong>Create</strong> dialog box.</li>
<li>Select the <strong>External List</strong> from the List Templates section and click <strong>Create</strong> button.
<p><div id="attachment_213" class="wp-caption aligncenter" style="width: 463px"><a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/04/CropperCapture11.jpg"><img class="size-full wp-image-213 " title="Creating the External List" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/04/CropperCapture11.jpg" alt="Creating the External List" width="453" height="406" /></a><p class="wp-caption-text">Creating the External List</p></div></li>
<li>
<div>Provide a name for the External List by filling <strong>Name:</strong> field. I provided "Northwind Staff" for this exercise.</div>
<p><div id="attachment_214" class="wp-caption aligncenter" style="width: 276px"><a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/04/CropperCapture12.jpg"><img class="size-full wp-image-214" title="Creating the External List" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/04/CropperCapture12.jpg" alt="Creating the External List" width="266" height="181" /></a><p class="wp-caption-text">Creating the External List</p></div></li>
<li>
<div>In the <strong>Data source configuration</strong> section, click "<strong>Select External Content Type</strong>" button to browse all the ECTs available in the current site collection.</div>
<p><div id="attachment_215" class="wp-caption aligncenter" style="width: 290px"><a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/04/CropperCapture13.jpg"><img class="size-full wp-image-215" title="Select the ECT" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/04/CropperCapture13.jpg" alt="Select the ECT" width="280" height="84" /></a><p class="wp-caption-text">Select the ECT</p></div></li>
<li>
<div>Select the <strong>Northwind Employees</strong> ECT from the <strong>External Content Type Picker</strong> dialog box and click <strong>OK</strong>.</div>
<p><div id="attachment_216" class="wp-caption aligncenter" style="width: 359px"><a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/04/CropperCapture14.jpg"><img class="size-full wp-image-216" title="Browse for the ECT" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/04/CropperCapture14.jpg" alt="Browse for the ECT" width="349" height="357" /></a><p class="wp-caption-text">Browse for the ECT</p></div></li>
<li>
<div>Now you will see that <strong>Data source configuration</strong> is filled with the ECT information automatically and click <strong>Create</strong> button to create the External List.</div>
<p><div id="attachment_217" class="wp-caption aligncenter" style="width: 331px"><a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/04/CropperCapture15.jpg"><img class="size-full wp-image-217" title="Creating the External List" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/04/CropperCapture15.jpg" alt="Creating the External List" width="321" height="159" /></a><p class="wp-caption-text">Creating the External List</p></div></li>
</ol>
<h2>View LOB data using the External List</h2>
<p>Now that we have created an External List, or may be 02 if you tried both the options, it's time to look at the way it surfaces external data within SharePoint. It's very easy to do that.</p>
<ol>
<li>From the <strong>Quick Launch</strong>, select the name of the list you created.</li>
<li>Try viewing individual Employee items, updating Employee records, deleting Employees records and inserting new Employee records using SharePoint External List.</li>
</ol>
<div id="attachment_220" class="wp-caption aligncenter" style="width: 676px"><a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/04/CropperCapture17.jpg"><img class="size-full wp-image-220 " title="External Data coming through the ECT &amp; External List" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/04/CropperCapture17.jpg" alt="External Data coming through the ECT &amp; External List" width="666" height="199" /></a><p class="wp-caption-text">External Data coming through the ECT &amp; External List</p></div>
<div id="attachment_223" class="wp-caption aligncenter" style="width: 526px"><a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/04/CropperCapture20.jpg"><img class="size-full wp-image-223 " title="Displaying an item with InfoPath Form" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/04/CropperCapture20.jpg" alt="Displaying an item with InfoPath Form" width="516" height="297" /></a><p class="wp-caption-text">Displaying an item with InfoPath Form</p></div>
<div id="attachment_221" class="wp-caption aligncenter" style="width: 525px"><a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/04/CropperCapture18.jpg"><img class="size-full wp-image-221 " title="Editing an item with InfoPath Form" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/04/CropperCapture18.jpg" alt="Editing an item with InfoPath Form" width="515" height="299" /></a><p class="wp-caption-text">Editing an item with InfoPath Form</p></div>
<div id="attachment_222" class="wp-caption aligncenter" style="width: 526px"><a href="http://www.sharepoint24x7.com/wp-content/uploads/2011/04/CropperCapture19.jpg"><img class="size-full wp-image-222 " title="Inserting a new item with InfoPath Form" src="http://www.sharepoint24x7.com/wp-content/uploads/2011/04/CropperCapture19.jpg" alt="Inserting a new item with InfoPath Form" width="516" height="299" /></a><p class="wp-caption-text">Inserting a new item with InfoPath Form</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepoint24x7.com/2011/04/article-%e2%80%93-business-connectivity-services-bcs-part-iv-%e2%80%93-creating-an-external-list/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

