<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Jalil Sear&#039;s [MCPD SharePoint 2010] Weblog</title>
	<atom:link href="http://jasear.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jasear.wordpress.com</link>
	<description>Sharing ideas on SharePoint, .NET and general development</description>
	<lastBuildDate>Tue, 21 May 2013 23:35:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='jasear.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Jalil Sear&#039;s [MCPD SharePoint 2010] Weblog</title>
		<link>http://jasear.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://jasear.wordpress.com/osd.xml" title="Jalil Sear&#039;s [MCPD SharePoint 2010] Weblog" />
	<atom:link rel='hub' href='http://jasear.wordpress.com/?pushpress=hub'/>
		<item>
		<title>SharePoint 2010: Configuring incoming emails on a Production Environment (non-Exchange Server)</title>
		<link>http://jasear.wordpress.com/2012/09/17/sharepoint-2010-configuring-incoming-emails-on-a-production-environment-non-exchange-server/</link>
		<comments>http://jasear.wordpress.com/2012/09/17/sharepoint-2010-configuring-incoming-emails-on-a-production-environment-non-exchange-server/#comments</comments>
		<pubDate>Mon, 17 Sep 2012 21:33:50 +0000</pubDate>
		<dc:creator>jasear</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[ASP.net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[c#. .net]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[Incoming emails]]></category>
		<category><![CDATA[sharepoint]]></category>
		<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[SharePoint 2010; MOSS 2007; C#; ASP.NET]]></category>
		<category><![CDATA[smtp]]></category>
		<category><![CDATA[sp2010]]></category>
		<category><![CDATA[web parts]]></category>

		<guid isPermaLink="false">http://jasear.wordpress.com/?p=657</guid>
		<description><![CDATA[Recently I needed to setup incoming emails on a SharePoint 2010 site sadly, after researching this subject a lot, I was not able to find a blog that provided a complete answer of how to set this up on a Production Environment. There are some variations in the way this can be setup but the &#8230; &#8230; <a href="http://jasear.wordpress.com/2012/09/17/sharepoint-2010-configuring-incoming-emails-on-a-production-environment-non-exchange-server/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jasear.wordpress.com&#038;blog=4155040&#038;post=657&#038;subd=jasear&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Recently I needed to setup incoming emails on a SharePoint 2010 site sadly, after researching this subject a lot, I was not able to find a blog that provided a complete answer of how to set this up on a Production Environment. There are some variations in the way this can be setup but the method I will be explaining in this blog involves a non-Exchange Server method. </p>
<p><strong>Assumptions</strong></p>
<p>I am assuming that:</p>
<ul>
<li>You have setup an SMTP server on one of your SharePoint WFE&#8217;s (Web Front End) if you are not sure on how to do this then <a href="http://blog.sharepointrx.com/2010/11/18/setting-up-the-iis-smtp-server-for-sending-email-from-sharepoint-2010-on-server-2008-r2/" title="Setting SMTP Server" target="_blank">please check out this post</a>.</li>
<li>You have a domain name registered and that you can modify the DNS records</li>
</ul>
<p><strong>The Solution</strong></p>
<p>The solution involves:</p>
<ul>
<li>Setting up the DNS Records</li>
<li>Configuring the SMTP Server</li>
<li>Configuring Central Administration</li>
<li>Configuring a SharePoint List</li>
</ul>
<p><strong>Setting up the DNS Records</strong></p>
<p>In this example I am using a domain name: <a href="http://www.shareheaven.co.uk" rel="nofollow">http://www.shareheaven.co.uk</a> that is registered with GoDaddy.com.</p>
<p>Login to your domain name&#8217;s control panel and add a DNS A (Host) record in the following format:</p>
<p><a href="http://jasear.files.wordpress.com/2012/09/a-record.png"><img src="http://jasear.files.wordpress.com/2012/09/a-record.png?w=584" alt="Setting up a DNS A (Host) Record" title="a record"   class="alignnone size-full wp-image-663" /></a></p>
<p>Where the host (&#8216;notify&#8217; in this example) can be anything of your liking. The IP address should be the IP address of the server that hosts the SMTP Server.</p>
<p>Next we need to add a DNS MX Record in the following format:</p>
<p><a href="http://jasear.files.wordpress.com/2012/09/mx-record.png"><img src="http://jasear.files.wordpress.com/2012/09/mx-record.png?w=584" alt="Setting up the MX Record" title="mx record"   class="alignnone size-full wp-image-668" /></a></p>
<p>Wait for the DNS changes to take effect, you can use <a href="http://mxtoolbox.com/" target="_blank">this website </a>to check if the changes have taken effect.</p>
<p><strong>Configuring the SMTP Server</strong></p>
<p>On the SMTP Server we will need to add an alias. Open IIS 6.0 Manager &gt; Expand your SMTP Server in the list on the left hand side &gt; Right click on &#8216;Domains&#8217; &gt; New &gt; Domains.</p>
<p><a href="http://jasear.files.wordpress.com/2012/09/alias.png"><img src="http://jasear.files.wordpress.com/2012/09/alias.png?w=584" alt="SMTP Alias Setup" title="Alias"   class="alignnone size-full wp-image-664" /></a></p>
<p>On this screen (screen shot above) select Alias and click Next and then fill it out as below (based on your domain name):</p>
<p><a href="http://jasear.files.wordpress.com/2012/09/shareheaven-alias.png"><img src="http://jasear.files.wordpress.com/2012/09/shareheaven-alias.png?w=584" alt="Creating an alias" title="shareheaven alias"   class="alignnone size-full wp-image-671" /></a></p>
<p><strong>Configuring Central Administration</strong></p>
<p>Next we need to setup Central Administration to enable incoming emails in our SharePoint Farm, in Central Admin browse to System Settings &gt; Configure incoming e-mail settings and set it up as below:</p>
<p><a href="http://jasear.files.wordpress.com/2012/09/central-admin-setup.png"><img src="http://jasear.files.wordpress.com/2012/09/central-admin-setup.png?w=584" alt="Central Administration Setup" title="Central Admin setup"   class="alignnone size-full wp-image-665" /></a></p>
<p><strong>Configuring a SharePoint List</strong></p>
<p>Finally, we can now setup a SharePoint List to receive incoming emails. In this example I will be setting up a Document Library to receive incoming emails. Browse to Library Settings &gt; Incoming e-mail settings of the SharePoint List you would like to setup to receive incoming emails. Fill out the form as below and click &#8216;OK&#8217;:</p>
<p><a href="http://jasear.files.wordpress.com/2012/09/setup-list.png"><img src="http://jasear.files.wordpress.com/2012/09/setup-list.png?w=584" alt="Configure the SharePoint List" title="setup list"   class="alignnone size-full wp-image-670" /></a></p>
<p><strong>Testing the Solution</strong></p>
<p>To test the solution send an email to the email address we setup to receieve incoming emails which in our example was: test@shareheaven.co.uk (replace shareheaven with your domain name of course!):</p>
<p><a href="http://jasear.files.wordpress.com/2012/09/sending-an-email.png"><img src="http://jasear.files.wordpress.com/2012/09/sending-an-email.png?w=584" alt="Sending the email" title="sending an email"   class="alignnone size-full wp-image-669" /></a></p>
<p>Screen shot below shows the .eml file arriving in the drop folder of the SMTP Server:</p>
<p><a href="http://jasear.files.wordpress.com/2012/09/drop-folder.png"><img src="http://jasear.files.wordpress.com/2012/09/drop-folder.png?w=584" alt="Mail drop folder" title="drop folder"   class="alignnone size-full wp-image-666" /></a></p>
<p>A SharePoint Timer Job picks up this email, processes it and then adds an item in the Document Library:</p>
<p><a href="http://jasear.files.wordpress.com/2012/09/library2.png"><img src="http://jasear.files.wordpress.com/2012/09/library2.png?w=584" alt="Document Library Item Added" title="library"   class="alignnone size-full wp-image-684" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jasear.wordpress.com/657/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jasear.wordpress.com/657/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jasear.wordpress.com&#038;blog=4155040&#038;post=657&#038;subd=jasear&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jasear.wordpress.com/2012/09/17/sharepoint-2010-configuring-incoming-emails-on-a-production-environment-non-exchange-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c1b64111045e82b6dda5c652ed445c9f?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">jasear</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/09/a-record.png" medium="image">
			<media:title type="html">a record</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/09/mx-record.png" medium="image">
			<media:title type="html">mx record</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/09/alias.png" medium="image">
			<media:title type="html">Alias</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/09/shareheaven-alias.png" medium="image">
			<media:title type="html">shareheaven alias</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/09/central-admin-setup.png" medium="image">
			<media:title type="html">Central Admin setup</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/09/setup-list.png" medium="image">
			<media:title type="html">setup list</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/09/sending-an-email.png" medium="image">
			<media:title type="html">sending an email</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/09/drop-folder.png" medium="image">
			<media:title type="html">drop folder</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/09/library2.png" medium="image">
			<media:title type="html">library</media:title>
		</media:content>
	</item>
		<item>
		<title>Archiving documents in SharePoint 2010 OTB</title>
		<link>http://jasear.wordpress.com/2012/09/13/archiving-documents-in-sharepoint-2010/</link>
		<comments>http://jasear.wordpress.com/2012/09/13/archiving-documents-in-sharepoint-2010/#comments</comments>
		<pubDate>Thu, 13 Sep 2012 16:01:01 +0000</pubDate>
		<dc:creator>jasear</dc:creator>
				<category><![CDATA[MOSS 2007]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[ASP.net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[c#. .net]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[Information management policy]]></category>
		<category><![CDATA[send to connection]]></category>
		<category><![CDATA[sharepoint]]></category>
		<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[SharePoint 2010; MOSS 2007; C#; ASP.NET]]></category>
		<category><![CDATA[sp2010]]></category>
		<category><![CDATA[web application]]></category>

		<guid isPermaLink="false">http://jasear.wordpress.com/?p=690</guid>
		<description><![CDATA[There might be other ways of setting this up but I thought I should write about a way of achieving this by purely utilising SharePoint 2010 out-of-the-box features. Scenario You have a document library, we will call it Documents, that has a custom Content Type (we will call it ER Documents). Based on a certain &#8230; &#8230; <a href="http://jasear.wordpress.com/2012/09/13/archiving-documents-in-sharepoint-2010/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jasear.wordpress.com&#038;blog=4155040&#038;post=690&#038;subd=jasear&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>There might be other ways of setting this up but I thought I should write about a way of achieving this by purely utilising SharePoint 2010 out-of-the-box features.</p>
<p><strong>Scenario</strong></p>
<p>You have a document library, we will call it Documents, that has a custom Content Type (we will call it ER Documents). Based on a certain criteria, lets say 6 months after a document has been approved, you would like to archive the document by moving it to another document library called &#8216;ER Compliance Archived Documents&#8217;.</p>
<p><strong>Assumptions</strong></p>
<p>You have two identical document libraries setup with the same content type enabled.</p>
<p><strong>The Solution</strong></p>
<p>The solution involves:</p>
<ul>
<li>Enabling the Content Organizer Feature</li>
<li>Creating a Content Organizer Rule</li>
<li>Configuring a &#8216;send to&#8217; connection</li>
<li>Configuring the Document Library</li>
</ul>
<p><strong>Enabling the Content Organizer Feature</strong></p>
<p>On the root web of your Site Collection browse to Site Actions &gt; Site Settings &gt; Manage Site Features and activate the &#8216;Content Organizer&#8217; Feature.</p>
<p>After this feature is activated you will notice two new options in Site Settings (highlighted in the screenshot below) and a new document library called &#8216;Drop Off Library&#8217;:</p>
<p><a href="http://jasear.files.wordpress.com/2012/09/content-organizor-options.png"><img src="http://jasear.files.wordpress.com/2012/09/content-organizor-options.png?w=584" alt="Content Organizor Options" title="Content Organizor Options" class="alignnone size-full wp-image-696" /></a></p>
<p>Click on &#8216;Content Organizer Settings&#8217; and make a note of the Web Service URL:</p>
<p><a href="http://jasear.files.wordpress.com/2012/09/web-service-url1.png"><img src="http://jasear.files.wordpress.com/2012/09/web-service-url1.png?w=584" alt="Web Service URL" title="Web Service URL" class="alignnone size-full wp-image-699" /></a></p>
<p><strong>Creating a Content Organizer Rule</strong></p>
<p>Click on the &#8216;Content Organizer Rules&#8217; link and add a new item to create a new rule and set it up as below (click on the image if it appears a bit blurred):</p>
<p><a href="http://jasear.files.wordpress.com/2012/09/content-organizer-rule2.png"><img src="http://jasear.files.wordpress.com/2012/09/content-organizer-rule2.png?w=584" alt="Content organizer rule" title="Content Organizer Rule"   class="alignnone size-full wp-image-733" /></a></p>
<p>This rule basically specifies where and how to route the archived documents.</p>
<p><strong>Configuring a &#8216;send to&#8217; connection</strong></p>
<p>Browse to Central Administration &gt; General Application Settings &gt; Configure send to connections. Select the correct Web Application and create a new send to connection by filling out the form as below pasting the Web Service URL you copied earlier:</p>
<p><a href="http://jasear.files.wordpress.com/2012/09/send-to-connection3.png"><img src="http://jasear.files.wordpress.com/2012/09/send-to-connection3.png?w=584" alt="Send To Connection" title="send to connection"   class="alignnone size-full wp-image-727" /></a></p>
<p>Click on &#8216;Add Connection&#8217; and then &#8216;OK&#8217;.</p>
<p><strong>Configuring the Document Library</strong></p>
<p>Browse to the main &#8216;Documents&#8217; document library &gt; Library Settings &gt; Information management policy settings &gt; ER Documents (this is our content type) &gt; Check &#8216;Enable Retention&#8217; and fill the form out as below:</p>
<p><a href="http://jasear.files.wordpress.com/2012/09/enable-retention.png"><img src="http://jasear.files.wordpress.com/2012/09/enable-retention.png?w=584" alt="Enable Retention" title="Enable Retention" class="alignnone size-full wp-image-697" /></a></p>
<p><strong>Testing the solution</strong></p>
<p>Add a document that matches the archiving criteria (i.e. Approval Date more than 6 months ago).</p>
<p>Go to Central Administration &gt; Monitoring &gt; Review job definitions &gt; select your Web Application and manually run the &#8216;Information management policy&#8217; timer job. This job process and marks the documents, that match the criteria we have setup, for transfer. After the job has completed manually run the &#8216;Expiration policy&#8217; timer job this timer job does the actual transfer of the marked documents.</p>
<p>After this the relevant documents that match the Information management policy criteria will be moved to the archived library. </p>
<p>You can also test this manually by browsing to the &#8216;Documents&#8217; document library&gt; Accessing the context menu &gt; Send to &gt; ER Compliance Archive (screenshot below).</p>
<p><a href="http://jasear.files.wordpress.com/2012/09/manual-send-to.png"><img src="http://jasear.files.wordpress.com/2012/09/manual-send-to.png?w=584" alt="Manually archive document" title="manual send to"   class="alignnone size-full wp-image-723" /></a></p>
<p>The document should then appear in the archive document library. Please note that the manual send to method moves the document immediately but it is a useful way of testing whether you have configured the routing correctly.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jasear.wordpress.com/690/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jasear.wordpress.com/690/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jasear.wordpress.com&#038;blog=4155040&#038;post=690&#038;subd=jasear&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jasear.wordpress.com/2012/09/13/archiving-documents-in-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c1b64111045e82b6dda5c652ed445c9f?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">jasear</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/09/content-organizor-options.png" medium="image">
			<media:title type="html">Content Organizor Options</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/09/web-service-url1.png" medium="image">
			<media:title type="html">Web Service URL</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/09/content-organizer-rule2.png" medium="image">
			<media:title type="html">Content Organizer Rule</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/09/send-to-connection3.png" medium="image">
			<media:title type="html">send to connection</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/09/enable-retention.png" medium="image">
			<media:title type="html">Enable Retention</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/09/manual-send-to.png" medium="image">
			<media:title type="html">manual send to</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint 2010: Exaction SharePoint User Manager</title>
		<link>http://jasear.wordpress.com/2012/08/22/sharepoint-2010-exaction-sql-user-manager/</link>
		<comments>http://jasear.wordpress.com/2012/08/22/sharepoint-2010-exaction-sql-user-manager/#comments</comments>
		<pubDate>Wed, 22 Aug 2012 22:51:11 +0000</pubDate>
		<dc:creator>jasear</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[AD]]></category>
		<category><![CDATA[ASP.net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Delete Users]]></category>
		<category><![CDATA[fba]]></category>
		<category><![CDATA[Forgot Password]]></category>
		<category><![CDATA[Manager User Account]]></category>
		<category><![CDATA[Notify All Users]]></category>
		<category><![CDATA[sharepoint]]></category>
		<category><![CDATA[SharePoint 2010; MOSS 2007; C#; ASP.NET]]></category>
		<category><![CDATA[SharePoint User Manager]]></category>
		<category><![CDATA[Unlock User Account]]></category>
		<category><![CDATA[User Manager]]></category>
		<category><![CDATA[Window Authentication]]></category>

		<guid isPermaLink="false">http://jasear.wordpress.com/?p=340</guid>
		<description><![CDATA[I have developed two commercial SharePoint User Manager Products for Exaction: Exaction (AD) SharePoint User Manager Exaction (SQL) SharePoint User Manager This product is also available in MOSS 2007. Please click here to go to the Exaction site and view more details. The Exaction SharePoint User Manager solutions provide a set of user friendly SharePoint web &#8230; &#8230; <a href="http://jasear.wordpress.com/2012/08/22/sharepoint-2010-exaction-sql-user-manager/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jasear.wordpress.com&#038;blog=4155040&#038;post=340&#038;subd=jasear&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I have developed two commercial SharePoint User Manager Products for Exaction:</p>
<ul>
<li>Exaction (AD) SharePoint User Manager</li>
<li>Exaction (SQL) SharePoint User Manager</li>
</ul>
<p><strong>This product is also available in MOSS 2007.</strong></p>
<p>Please <strong><a title="click here" href="http://www.exaction.co.uk/13/user-manager"> click here</a></strong> to go to the Exaction site and view more details.</p>
<p>The Exaction SharePoint User Manager solutions provide a set of user friendly SharePoint web parts that allow the end-user the ability to easily manage SharePoint user accounts. The Exaction (SQL) SharePoint User Manager solution is designed to typically work in an FBA enabled site with ASP.NET Membership as the provider where the users are stored in an SQL database (please view<a title="view this" href="http://jasear.wordpress.com/2012/03/16/sharepoint-2010-setting-up-form-based-authentication-fba-using-asp-net-sql-membership-provider/"><strong> this</strong></a> post to see how this can be setup) whereas the Exaction (AD) SharePoint User Manager solution is designed to typically work in a site that uses Windows Authentication.</p>
<p>Below are some of the key features it has to offer:</p>
<ul>
<li>Ability to view a complete list of users</li>
<li>Ability to sort and filter User data</li>
<li>Ability to add, edit and delete FBA Users</li>
<li>Ability to Reset passwords, unlock, enable and disable accounts</li>
<li>Configurable password policy settings</li>
<li>Ability to retrieve forgotten password</li>
<li>Configurable auto-generated email notifications</li>
<li>Ability to send out bulk email notifications to all system active or inactive users</li>
<li>Export user data to excel</li>
<li>Configurable security</li>
<li>Easy to use and intuitive user interface</li>
<li>Quick installation and configuration</li>
<li>Easily customisable UI</li>
<li>Several built in skins</li>
</ul>
<p>The solution contains the following three web parts:</p>
<ol>
<li>User Manager web part</li>
<li>Manage My Account web part</li>
<li>Forgot My Password web part</li>
</ol>
<div>
<div>
<h2>1            User Manager web part</h2>
</div>
</div>
<p>The User Manager web part uses a Telerik RadGrid to display a list of Users. Apart from providing the ability to view a list of all users the web part also provides the ability to:</p>
<ul>
<li>Filter the data</li>
<li>Sort the data by any column</li>
<li>Paginate data and  to specify page size</li>
<li>Edit existing User accounts</li>
<li>Add new users</li>
<li>Delete a user account (Admin function)</li>
<li>Unlock user accounts</li>
<li>Activate and de-activate user accounts</li>
<li>Export data to excel (Admin function)</li>
<li>Notify All Active And Inactive Users (Admin function)</li>
</ul>
<p>As it uses the Telerik RadGrid to display the data it comes with several built in Skins and is fully customisable (please refer to <a href="http://demos.telerik.com/aspnet-ajax/grid/examples/overview/defaultcs.aspx">http://demos.telerik.com/aspnet-ajax/grid/examples/overview/defaultcs.aspx</a> to see an overview of the features provided by the Telerik RadGrid)</p>
<p>The screen shot below shows the initial view seen by the end user when accessing the Web Part:</p>
<p><a href="http://jasear.files.wordpress.com/2012/07/maingrid.png"><img class="alignnone size-full wp-image-357" title="MainGrid" src="http://jasear.files.wordpress.com/2012/07/maingrid.png?w=584" alt=""   /></a></p>
<div>
<h2>1.1            Adding a new User</h2>
</div>
<p>The User Manager web part provides an easy and convenient way of adding new users to the system and adding them to SharePoint groups at the same time to grant them access to the Site.</p>
<p><a href="http://jasear.files.wordpress.com/2012/08/add20new20user20-20new.png"><img src="http://jasear.files.wordpress.com/2012/08/add20new20user20-20new.png?w=584" alt="" title="Add%20new%20user%20-%20new"   class="alignnone size-full wp-image-647" /></a><br />
When a user is successfully created a password is automatically generated and the details are emailed to the newly created user.</p>
<div>
<h2>1.2            Deleting existing Users</h2>
</div>
<p>Users can be easily deleted by clicking on the <a href="http://jasear.files.wordpress.com/2012/03/deleteicon.png"><img class="alignnone size-full wp-image-349" title="DeleteIcon" src="http://jasear.files.wordpress.com/2012/03/deleteicon.png?w=584" alt="Delete icon"   /></a> icon on the Grid. Clicking on the cross prompts the end user to confirm that they would like to delete this record. Upon confirmation the account is deleted, please look at the screen shot below:</p>
<p><a href="http://jasear.files.wordpress.com/2012/07/deleteuser.png"><img class="alignnone  wp-image-350" title="DeleteUser" src="http://jasear.files.wordpress.com/2012/07/deleteuser.png?w=600&#038;h=92" alt="Deleting a user account" width="600" height="92" /></a></p>
<p>This feature i.e. Deleting a User can be enabled, disabled and you can specify the SharePoint Group that will have permissions to perform this action.</p>
<div>
<h2>1.3            Activating and Deactivating User Accounts</h2>
</div>
<p>Based on the status of the User account the Grid will display an action that will allow the end user to Activate or Deactivate an account. For example if the user account is active then it will display the ‘Deactivate’ action. Clicking on this action will de-activate the user account. On the other hand if the user account has already been deactivated then it will display the ‘Activate’ action. Clicking on this action will activate the User Account. Please note that attempting to deactiviate an account will first prompt the end user to confirm that they are sure they want to proceed with the action.</p>
<p><a href="http://jasear.files.wordpress.com/2012/07/deactivateuser.png"><img class="alignnone size-full wp-image-348" title="DeactivateUser" src="http://jasear.files.wordpress.com/2012/07/deactivateuser.png?w=584" alt="Deactivating a user account"   /></a></p>
<div>
<h2>1.4            Editing existing user accounts</h2>
</div>
<p>Clicking on the edit <a href="http://jasear.files.wordpress.com/2012/03/editicon.gif"><img class="alignnone size-full wp-image-351" title="EditIcon" src="http://jasear.files.wordpress.com/2012/03/editicon.gif?w=584" alt="Edit account icon"   /></a> icon opens up a modal dialog box that allows the end user to edit existing user account details.</p>
<p><a href="http://jasear.files.wordpress.com/2012/08/edit20user20-20new.png"><img src="http://jasear.files.wordpress.com/2012/08/edit20user20-20new.png?w=584" alt="" title="Edit%20User%20-%20new"   class="alignnone size-full wp-image-648" /></a></p>
<p>The form also provides the means to change a user’s password and a means to modify the user’s SharePoint Group memberships.</p>
<div>
<h2>1.5            Unlocking User Accounts</h2>
</div>
<p>If a user’s account has been locked out due to repeated login failures then the <a href="http://jasear.files.wordpress.com/2012/03/lockicon.png"><img class="alignnone size-full wp-image-356" title="LockIcon" src="http://jasear.files.wordpress.com/2012/03/lockicon.png?w=584" alt="Locked account icon"   /></a> icon will appear on the Grid for that User Account. Clicking on the icon will unlock the user account.</p>
<p><a href="http://jasear.files.wordpress.com/2012/07/unlockaccount.png"><img class="alignnone size-full wp-image-366" title="UnlockAccount" src="http://jasear.files.wordpress.com/2012/07/unlockaccount.png?w=584" alt="Unlock a locked account"   /></a></p>
<div>
<h2>1.6            Filtering Data</h2>
</div>
<p>By default the User Manager Grid allows the end user to filter the data by First name, surname, username, email address and full name.</p>
<p><a href="http://jasear.files.wordpress.com/2012/07/filteringdata.png"><img class="alignnone size-full wp-image-354" title="FilteringData" src="http://jasear.files.wordpress.com/2012/07/filteringdata.png?w=584" alt="Filtering user account data"   /></a></p>
<div>
<h2>1.7            Export data to excel</h2>
</div>
<p>Clicking on the export to excel button will export the data to an excel spreads heet. The data that will be exported will take into consideration the filters that have been applied to the view i.e. only data that matches the filtering criteria will be exported.</p>
<p><a href="http://jasear.files.wordpress.com/2012/03/exportdata.png"><img class="alignnone  wp-image-353" title="ExportData" src="http://jasear.files.wordpress.com/2012/03/exportdata.png?w=600&#038;h=196" alt="Export user account data to an excel spreadsheet" width="600" height="196" /></a></p>
<div>
<h2>1.8            Notify System Users</h2>
</div>
<p>Clicking on the ‘Notify Users’ button allows you to send notifications to all system users.</p>
<p><a href="http://jasear.files.wordpress.com/2012/07/notifyallusers.png"><img class="alignnone size-full wp-image-361" title="NotifyAllUsers" src="http://jasear.files.wordpress.com/2012/07/notifyallusers.png?w=584" alt="Notify all system users"   /></a></p>
<p>While the notifications are being generated:</p>
<p><a href="http://jasear.files.wordpress.com/2012/03/processingpage.png"><img class="alignnone  wp-image-364" title="ProcessingPage" src="http://jasear.files.wordpress.com/2012/03/processingpage.png?w=585&#038;h=290" alt="Processing notifying users" width="585" height="290" /></a></p>
<p>After the process is complete the screen shot below displays a confirmation that the notifications were sent successfully to x number of users:</p>
<div>
<h2><a href="http://jasear.files.wordpress.com/2012/03/notifyalluserscomplete.png"><img class="alignnone size-full wp-image-362" title="NotifyAllUsersComplete" src="http://jasear.files.wordpress.com/2012/03/notifyalluserscomplete.png?w=584" alt="Notifying all users completed"   /></a></h2>
</div>
<div>
<div>
<div>
<h2>2            Manage my account web part</h2>
</div>
</div>
</div>
<p>The Manage Account Web Part allows the logged in user to manage their account details. Changing the email address, first name and surname also updates the SharePoint profile as well as updating the membership provider store.</p>
<p><a href="http://jasear.files.wordpress.com/2012/08/manageaccount.png"><img class="alignnone  wp-image-358" title="ManageMyAccount" src="http://jasear.files.wordpress.com/2012/08/manageaccount.png?w=600&#038;h=148" alt="Manage my account web part" width="600" height="148" /></a></p>
<p>The Web Part also allows the user the means to change their password.</p>
<div>
<div>
<h2>3           Forgotten my password web part</h2>
</div>
</div>
<p>This web part allows a user to retrieve their password by filling out the form below:</p>
<p><a href="http://jasear.files.wordpress.com/2012/08/forgotmypassword.png"><img class="alignnone size-full wp-image-624" title="ForgotMyPassword" src="http://jasear.files.wordpress.com/2012/08/forgotmypassword.png?w=584" alt="Forgot My Password"   /></a></p>
<p>Once the end user provides the username and the email address for the account an email is sent out to the registered account’s email address confirming the password.</p>
<div></div>
<p>If you require more information on the product then please <strong><a title="click here" href="http://www.exaction.co.uk/13/user-manager">click here</a></strong> to go to the Exaction site and view more details.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jasear.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jasear.wordpress.com/340/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jasear.wordpress.com&#038;blog=4155040&#038;post=340&#038;subd=jasear&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jasear.wordpress.com/2012/08/22/sharepoint-2010-exaction-sql-user-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c1b64111045e82b6dda5c652ed445c9f?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">jasear</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/07/maingrid.png" medium="image">
			<media:title type="html">MainGrid</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/08/add20new20user20-20new.png" medium="image">
			<media:title type="html">Add%20new%20user%20-%20new</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/03/deleteicon.png" medium="image">
			<media:title type="html">DeleteIcon</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/07/deleteuser.png" medium="image">
			<media:title type="html">DeleteUser</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/07/deactivateuser.png" medium="image">
			<media:title type="html">DeactivateUser</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/03/editicon.gif" medium="image">
			<media:title type="html">EditIcon</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/08/edit20user20-20new.png" medium="image">
			<media:title type="html">Edit%20User%20-%20new</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/03/lockicon.png" medium="image">
			<media:title type="html">LockIcon</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/07/unlockaccount.png" medium="image">
			<media:title type="html">UnlockAccount</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/07/filteringdata.png" medium="image">
			<media:title type="html">FilteringData</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/03/exportdata.png" medium="image">
			<media:title type="html">ExportData</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/07/notifyallusers.png" medium="image">
			<media:title type="html">NotifyAllUsers</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/03/processingpage.png" medium="image">
			<media:title type="html">ProcessingPage</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/03/notifyalluserscomplete.png" medium="image">
			<media:title type="html">NotifyAllUsersComplete</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/08/manageaccount.png" medium="image">
			<media:title type="html">ManageMyAccount</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/08/forgotmypassword.png" medium="image">
			<media:title type="html">ForgotMyPassword</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint 2010: Basic List search / filter WebPart</title>
		<link>http://jasear.wordpress.com/2012/04/19/sharepoint-2010-basic-list-search-filter-webpart/</link>
		<comments>http://jasear.wordpress.com/2012/04/19/sharepoint-2010-basic-list-search-filter-webpart/#comments</comments>
		<pubDate>Thu, 19 Apr 2012 13:27:09 +0000</pubDate>
		<dc:creator>jasear</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[MOSS 2007]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[ASP.net]]></category>
		<category><![CDATA[c#. .net]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[sharepoint]]></category>
		<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[SharePoint 2010; MOSS 2007; C#; ASP.NET]]></category>

		<guid isPermaLink="false">http://jasear.wordpress.com/?p=283</guid>
		<description><![CDATA[I have created a very simple SharePoint list search / filter WebPart which was inspired by the following blog post. This WebPart allows you to search records in a list where a selected field contains a specified text. It is useful in scenarios where you dont have SharePoint Search setup and just need a simple &#8230; &#8230; <a href="http://jasear.wordpress.com/2012/04/19/sharepoint-2010-basic-list-search-filter-webpart/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jasear.wordpress.com&#038;blog=4155040&#038;post=283&#038;subd=jasear&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I have created a very simple SharePoint list search / filter WebPart which was inspired by the following <a title="Wildcard list search" href="http://praveenbattula.blogspot.com/2009/10/sharepoint-list-view-web-part-wild-card.html" target="_blank">blog post</a>. This WebPart allows you to search records in a list where a selected field contains a specified text. It is useful in scenarios where you dont have SharePoint Search setup and just need a simple way of performing some search operations in a SharePoint List.</p>
<p><strong>Adding the web part to SharePoint List View</strong></p>
<p>Simply drop this web part on top of a page that contains a SharePoint View and it will allow you to apply a very simple search criteria.</p>
<p>The screenshot below shows the WebPart in action:</p>
<p><a title="Click to view full size image" href="http://jasear.files.wordpress.com/2012/01/mainview5.png"><img src="http://jasear.files.wordpress.com/2012/01/mainview5.png?w=584" alt="Main view of the List Search WebPart" /><br />
</a></p>
<p>The field name DropDownList allows you to select from the fields that are present in the view. Once you select the field and add the text to search by, the relevant results are displayed:</p>
<p><a title="Click to view full size image" href="http://jasear.files.wordpress.com/2012/01/singlesearch1.png"><img src="http://jasear.files.wordpress.com/2012/01/singlesearch1.png?w=584" alt="Screenshot showing search results" /></a></p>
<p>You can also specify multiple text values by seperating the text with a semi-colon (;):</p>
<p><a title="Click to view full size image" href="http://jasear.files.wordpress.com/2012/01/orsearchpage11.png"><img src="http://jasear.files.wordpress.com/2012/01/orsearchpage11.png?w=584" alt="Screenshot showing search results, multiple text criteria" /></a></p>
<p>In the above example the specified criteria will display all the records where the manufacturer&#8217;s name contains &#8216;Honda&#8217; <strong>OR</strong> &#8216;Audi&#8217;. The screenshot below shows the pagination working as expected:</p>
<p><a title="Click to view full size image" href="http://jasear.files.wordpress.com/2012/01/orsearchpage21.png"><img src="http://jasear.files.wordpress.com/2012/01/orsearchpage21.png?w=584" alt="Screenshot showing search results, multiple text criteria" /><br />
</a></p>
<p><strong>Adding the web part to a page with an XsltListViewWebPart</strong></p>
<p>You can also add this web part to a page that contains an XsltListViewWebPart. The web part will automatically detect that it has been added to a page (rather than a List View) and display a message asking you to select an XsltListViewWebPart that you would like to apply the filters to:</p>
<p><a href="http://jasear.files.wordpress.com/2012/09/click-toolpane.png"><img src="http://jasear.files.wordpress.com/2012/09/click-toolpane.png?w=584" alt="" title="click toolpane" class="alignnone size-full wp-image-652" /></a></p>
<p>The screen shot below shows how to select the XsltListViewWebPart:</p>
<p><a href="http://jasear.files.wordpress.com/2012/09/select-xsltvwp.png"><img src="http://jasear.files.wordpress.com/2012/09/select-xsltvwp.png?w=584" alt="" title="select xsltvwp" class="alignnone size-full wp-image-653" /></a></p>
<p>You can download the solution by clicking on the link below:</p>
<p><a href="http://splistfilter.codeplex.com/downloads/get/483502" title="Solution download" target="_blank">SharePoint WSP Download link</a></p>
<p>You can view the codeplex project site by clicking on the link below:</p>
<p><a href="http://splistfilter.codeplex.com/" title="Codeplex Project Site" target="_blank">Codeplex Project Site</a></p>
<p><strong><span style="color:#ff0000;">Please note that this is setup as a Farm Solution and not a Sandboxed Solution therefore it will not work if you deploy it to the SharePoint Solutions Gallery, you need to deploy the SharePoint Solution via Central Administration, via stsadm commands or via PowerShell commands.</span></strong></p>
<p><strong>How to it works</strong></p>
<p>On a page that contains a ListViewWebPart you can apply filter by adding a couple of query strings:</p>
<ul>
<li>FilterName</li>
<li>FilterMultiValue</li>
</ul>
<p>In our example, when a user types &#8216;honda&#8217; and then clicks on the search button we simply append &#8216;?FilterName=LinkTitle&amp;FilterMultiValue=*honda*;&#8217; to the query string and redirect the user to that page. Please note that &#8216;LinkTitle&#8217; is the internal name of the &#8216;Manufacturer&#8217; field.</p>
<p>The * in the *honda* is used to do a wildcard search (contains). If you would like to search for multiple texts you can seperate them by a semi-colon for example &#8216;FilterMultiValue=*honda*;*audi*;&#8217; will search for records where the &#8216;Manufacturer&#8217; name either contains &#8216;honda&#8217; or &#8216;audi&#8217;. If you would like to search for an exact match rather than apply a contains filter then simply remove the *&#8217;s from the filter value text.</p>
<p>Although, this WebPart does not allow you to filter / search by more than one field this is very much possible. To apply filters on additional fields you simply need to append &#8216;FilterField1=Model&amp;FilterValue1=Accord&#8217; to the URL. You can apply further filters by incrementing the number i.e. FilterField2, FilterField3 &#8230;. and so on. I am not sure if there is a limit on this.</p>
<p><strong><span style="color:#ff0000;">Please note that I haven&#8217;t found a way to get the wildcard search to work with this (multiple filters) approach.</span></strong></p>
<p><strong>Building the WebPart</strong></p>
<p>In your Visual Studio solution (assuming you have created a Blank SharePoint Project) add a &#8216;Visual WebPart&#8217;. A Visual WebPart loads a UserControl that contains most of the code. Below is the code of the .ascx file:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;%@ Assembly Name=&quot;$SharePoint.Project.AssemblyFullName$&quot; %&gt;
&lt;%@ Assembly Name=&quot;Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&quot; %&gt;
&lt;%@ Register TagPrefix=&quot;SharePoint&quot; Namespace=&quot;Microsoft.SharePoint.WebControls&quot;
    Assembly=&quot;Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&quot; %&gt;
&lt;%@ Register TagPrefix=&quot;Utilities&quot; Namespace=&quot;Microsoft.SharePoint.Utilities&quot; Assembly=&quot;Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&quot; %&gt;
&lt;%@ Register TagPrefix=&quot;asp&quot; Namespace=&quot;System.Web.UI&quot; Assembly=&quot;System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&quot; %&gt;
&lt;%@ Import Namespace=&quot;Microsoft.SharePoint&quot; %&gt;
&lt;%@ Register TagPrefix=&quot;WebPartPages&quot; Namespace=&quot;Microsoft.SharePoint.WebPartPages&quot;
    Assembly=&quot;Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&quot; %&gt;
&lt;%@ Control Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; CodeBehind=&quot;ListSearchUserControl.ascx.cs&quot;
    Inherits=&quot;Exaction.ListSearch.WebParts.ListSearch.ListSearchUserControl&quot; %&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;/_layouts/Exaction.ListSearch.Javascripts/jquery.min.js&quot;&gt;&lt;/script&gt;
&lt;table&gt;
    &lt;tr&gt;
        &lt;td&gt;
            &lt;strong&gt;Search Criteria:&lt;/strong&gt;
        &lt;/td&gt;
        &lt;td&gt;
            &lt;asp:TextBox ID=&quot;TbSearchText&quot; runat=&quot;server&quot; Width=&quot;300px&quot;&gt;&lt;/asp:TextBox&gt;
        &lt;/td&gt;
        &lt;td&gt;
            &amp;nbsp;
        &lt;/td&gt;
        &lt;td&gt;
            &lt;strong&gt;Field name:&lt;/strong&gt;
        &lt;/td&gt;
        &lt;td&gt;
            &lt;asp:DropDownList ID=&quot;DdlListFields&quot; runat=&quot;server&quot;&gt;
            &lt;/asp:DropDownList&gt;
        &lt;/td&gt;
        &lt;td&gt;
            &amp;nbsp;
        &lt;/td&gt;
        &lt;td&gt;
            &lt;div align=&quot;right&quot;&gt;
                &lt;asp:Button ID=&quot;BtnSearch&quot; runat=&quot;server&quot; OnClick=&quot;BtnSearch_Click&quot; Text=&quot;Search&quot; /&gt;
                &lt;asp:Button ID=&quot;BtnClearFilter&quot; runat=&quot;server&quot; Visible=&quot;false&quot; OnClick=&quot;BtnClearFilter_Click&quot;
                    Text=&quot;Clear Criteria&quot; /&gt;
            &lt;/div&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
    $(document).ready(function () {
        var base_RefreshPageTo = RefreshPageTo;
        RefreshPageTo = function (event, url) {

            var filterName = getQuerystring('FilterName');
            var filterValue = getQuerystring('FilterMultiValue');
            var newUrl = url + '&amp;FilterName=' + filterName + '&amp;FilterMultiValue=' + filterValue;
            if (filterName != '' &amp;&amp; filterValue != '') {
                base_RefreshPageTo(event, newUrl);
            }
            else {
                base_RefreshPageTo(event, url);
            }
            return;
        }
    });
    function getQuerystring(key, default_) {
        if (default_ == null) default_ = &quot;&quot;;
        key = key.replace(/[\[]/, &quot;\\\[&quot;).replace(/[\]]/, &quot;\\\]&quot;);
        var regex = new RegExp(&quot;[\\?&amp;]&quot; + key + &quot;=([^&amp;#]*)&quot;);
        var qs = regex.exec(window.location.href);
        if (qs == null)
            return default_;
        else
            return qs[1];
    }
&lt;/script&gt;
</pre>
<p>The code above is pretty self-explanatory but very briefly it contains the UI elements (TextBox, Labels, DropDownList and Buttons) and some jQuery. The jQuery code overrides the &#8216;RefreshPageTo&#8217; SharePoint javascript function. This is basically to get our filtering to work with pagination. If you have a SharePoint List View that is displaying paginated date to you then clicking on the next or previous page calls the &#8216;RefreshPageTo&#8217; JavaScript function. The problem is that when this function is called it clears the querystrings we use to filter the data. To ensure that the filtering is maintained we override this function, modify the URL ensuring the filtering querystrings are present and then pass it in as the second parameter to the function.</p>
<pre class="brush: csharp; title: ; notranslate">
using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Collections.Specialized;
using Microsoft.SharePoint;
using System.Collections.Generic;
using Exaction.ListSearch.UI.Entities;
using System.Text;

namespace Exaction.ListSearch.WebParts.ListSearch
{

    /// &lt;summary&gt;
    /// User control that deals with the registration process
    /// &lt;/summary&gt;
    public partial class ListSearchUserControl : UserControl
    {

        /// &lt;summary&gt;
        /// Gets the share point list field items.
        /// &lt;/summary&gt;
        /// &lt;param name=&quot;filterCriteria&quot;&gt;The filter criteria.&lt;/param&gt;
        private List&lt;OptionEntity&gt; GetSharePointListFieldItems()
        {
            List&lt;OptionEntity&gt; fieldItems = new List&lt;OptionEntity&gt;();
            fieldItems = new List&lt;OptionEntity&gt;();
            OptionEntity item;
            SPField field;
            StringCollection viewFieldCollection = SPContext.Current.ViewContext.View.ViewFields.ToStringCollection();
            foreach (string viewField in viewFieldCollection)
            {
                field = SPContext.Current.List.Fields.GetFieldByInternalName(viewField);
                item = new OptionEntity();
                item.Id = field.InternalName;
                item.Title = field.Title;
                fieldItems.Add(item);
            }
            return fieldItems;
        }
        protected override void CreateChildControls()
        {
            base.CreateChildControls();
            List&lt;OptionEntity&gt; items = GetSharePointListFieldItems();
            DdlListFields.DataSource = items;
            DdlListFields.DataTextField = &quot;Title&quot;;
            DdlListFields.DataValueField = &quot;Id&quot;;
            DdlListFields.DataBind();
        }
        /// &lt;summary&gt;
        /// Raises the &lt;see cref=&quot;E:System.Web.UI.Control.Load&quot;/&gt; event.
        /// &lt;/summary&gt;
        /// &lt;param name=&quot;e&quot;&gt;The &lt;see cref=&quot;T:System.EventArgs&quot;/&gt; object that contains the event data.&lt;/param&gt;
        protected override void  OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            if (!IsPostBack)
            {
                if (Request.QueryString[&quot;FilterName&quot;] != null)
                {
                    DdlListFields.SelectedValue = Request.QueryString[&quot;FilterName&quot;].ToString();
                }

                if (Request.QueryString[&quot;FilterMultiValue&quot;] != null)
                {
                    TbSearchText.Text = Request.QueryString[&quot;FilterMultiValue&quot;].ToString().Replace(&quot;*&quot;, &quot;&quot;);
                    BtnClearFilter.Visible = true;
                }
            }
        }
        /// &lt;summary&gt;
        /// Handles the Click event of the BtnSearch control.
        /// &lt;/summary&gt;
        /// &lt;param name=&quot;sender&quot;&gt;The source of the event.&lt;/param&gt;
        /// &lt;param name=&quot;e&quot;&gt;The &lt;see cref=&quot;System.EventArgs&quot;/&gt; instance containing the event data.&lt;/param&gt;
        protected void BtnSearch_Click(object sender, EventArgs e)
        {
            string redirectUrlFormat = &quot;{0}?FilterName={1}&amp;FilterMultiValue={2}&quot;;
            string[] selectionCollection = TbSearchText.Text.ToString().Split(new string[] { &quot;;&quot; }, StringSplitOptions.RemoveEmptyEntries);
            StringBuilder sbValues = new StringBuilder();
            foreach (string selection in selectionCollection)
            {
                sbValues.Append(&quot;*&quot; + selection.Trim() + &quot;*;&quot;);
            }

            string urlToRedirectTo = string.Format(redirectUrlFormat, Request.Url.GetLeftPart(UriPartial.Path), DdlListFields.SelectedValue, sbValues.ToString());
            Response.Redirect(urlToRedirectTo);
        }
        /// &lt;summary&gt;
        /// Handles the Click event of the BtnClearFilter control.
        /// &lt;/summary&gt;
        /// &lt;param name=&quot;sender&quot;&gt;The source of the event.&lt;/param&gt;
        /// &lt;param name=&quot;e&quot;&gt;The &lt;see cref=&quot;System.EventArgs&quot;/&gt; instance containing the event data.&lt;/param&gt;
        protected void BtnClearFilter_Click(object sender, EventArgs e)
        {
            Response.Redirect(Request.Url.GetLeftPart(UriPartial.Path));
        }
    }
}

</pre>
<p>The code behind above initialises the controls and handles the Search and Clear Search Criteria Button click events.</p>
<pre class="brush: csharp; title: ; notranslate">
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Exaction.ListSearch.UI.Entities
{
    public class OptionEntity
    {
        #region &quot;Fields&quot;
        public string Id { get; set; }
        /// &lt;summary&gt;
        /// Gets or sets the title.
        /// &lt;/summary&gt;
        /// &lt;value&gt;The title.&lt;/value&gt;
        public string Title { get; set; }
        #endregion

        #region &quot;Constructor&quot;
        public OptionEntity()
        {
        }
        #endregion
    }
}
</pre>
<p>We set a collection of the OptionEntity items as the DataSource of the Field name DropDownList.</p>
<p>That is basically it. In this simple manner you have a WebPart that you can drop on top of any List View and apply some basic free text Filterting.</p>
<p><strong>Known issues</strong></p>
<p>There are two minor known issues which I haven&#8217;t found a solution for yet:</p>
<ul>
<li>Adding the WebPart on top of the page of a List View takes the focus away from the ListViewWebPart which in turn hides the ribbon. Once you click on the ListViewWebPart and focus on it then the ribbon becomes visible.</li>
<li>This WebPart does not work properly with Views that use groupings that are collapsed by default, it works if the groupings are expanded by default</li>
<li>As pointed out by Goran (see comments) it might not work with External SharePoint Lists</li>
</ul>
<p>I hope you find this WebPart useful. Please post your comments and feedback and it would be helpful if you can rate this post.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jasear.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jasear.wordpress.com/283/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jasear.wordpress.com&#038;blog=4155040&#038;post=283&#038;subd=jasear&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jasear.wordpress.com/2012/04/19/sharepoint-2010-basic-list-search-filter-webpart/feed/</wfw:commentRss>
		<slash:comments>61</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c1b64111045e82b6dda5c652ed445c9f?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">jasear</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/01/mainview5.png" medium="image">
			<media:title type="html">Main view of the List Search WebPart</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/01/singlesearch1.png" medium="image">
			<media:title type="html">Screenshot showing search results</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/01/orsearchpage11.png" medium="image">
			<media:title type="html">Screenshot showing search results, multiple text criteria</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/01/orsearchpage21.png" medium="image">
			<media:title type="html">Screenshot showing search results, multiple text criteria</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/09/click-toolpane.png" medium="image">
			<media:title type="html">click toolpane</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/09/select-xsltvwp.png" medium="image">
			<media:title type="html">select xsltvwp</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint 2010 FBA: Enable search by part or full name in People Picker</title>
		<link>http://jasear.wordpress.com/2012/03/18/sharepoint-2010-fba-enable-search-by-part-or-full-name-in-people-picker/</link>
		<comments>http://jasear.wordpress.com/2012/03/18/sharepoint-2010-fba-enable-search-by-part-or-full-name-in-people-picker/#comments</comments>
		<pubDate>Sun, 18 Mar 2012 01:33:01 +0000</pubDate>
		<dc:creator>jasear</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[ASP.net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Enable display name search]]></category>
		<category><![CDATA[fba]]></category>
		<category><![CDATA[Forms Based Authentication]]></category>
		<category><![CDATA[membership database]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[MOSS2007]]></category>
		<category><![CDATA[People Picker]]></category>
		<category><![CDATA[sharepoint]]></category>
		<category><![CDATA[sp2010]]></category>
		<category><![CDATA[web application]]></category>

		<guid isPermaLink="false">http://jasear.wordpress.com/?p=549</guid>
		<description><![CDATA[&#160; Please refer to this post of mine on how to configure Forms Based Authentication (FBA) on a SharePoint Web Application using ASP.NET SQL Membership Provider. After you setup FBA the People Picker control by default will only search for user&#8217;s by using the username. However, if you would like to search for users by &#8230; &#8230; <a href="http://jasear.wordpress.com/2012/03/18/sharepoint-2010-fba-enable-search-by-part-or-full-name-in-people-picker/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jasear.wordpress.com&#038;blog=4155040&#038;post=549&#038;subd=jasear&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>&nbsp;<br />
Please refer to <a href="http://jasear.wordpress.com/2012/03/16/sharepoint-2010-setting-up-form-based-authentication-fba-using-asp-net-sql-membership-provider/" title="How to configure FBA">this post</a> of mine on how to configure Forms Based Authentication (FBA) on a SharePoint Web Application using ASP.NET SQL Membership Provider. </p>
<p>After you setup FBA the People Picker control by default will only search for user&#8217;s by using the username. However, if you would like to search for users by part or full display name then you will need to carry out the following changes to the Membership Database:</p>
<ul>
<li>Add a column &#8220;ProfileNames&#8221; of type nvarchar(255) in the table: aspnet_Users</li>
<li>Update the stored procedure: aspnet_Membership_FindUsersByName by replacing the following where clause:
<pre class="brush: xml; title: ; notranslate">
WHERE  u.ApplicationId = @ApplicationId AND m.UserId = u.UserId AND u.LoweredUserName LIKE LOWER(@UserNameToMatch) 
</pre>
<p><strong>with:</strong><br />
&nbsp;</p>
<pre class="brush: xml; title: ; notranslate">
WHERE  u.ApplicationId = @ApplicationId AND m.UserId = u.UserId AND u.ProfileNames LIKE '%' + LOWER(@UserNameToMatch) + '%'
</pre>
</li>
<li>Create the following Trigger on the &#8220;aspnet_Profile&#8221; table:
<pre class="brush: xml; title: ; notranslate">
CREATE TRIGGER [dbo].[ProfileProperty_Trigger] 
   ON   [dbo].[aspnet_Profile] 
   AFTER INSERT,UPDATE
AS 
BEGIN
SET NOCOUNT ON;
DECLARE @Names nvarchar(50)
DECLARE @UID nvarchar(50)

SELECT 
@Names = p.PropertyValuesString,
@UID = p.UserId
FROM aspnet_Profile p
INNER JOIN inserted i
ON p.UserId = i.UserId

UPDATE aspnet_Users SET ProfileNames = @Names WHERE aspnet_Users.UserId = @UID
END
</pre>
</li>
<ul>
&nbsp;<br />
That is it, after making these changes the People Picker control should  now match by username as well as display name.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jasear.wordpress.com/549/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jasear.wordpress.com/549/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jasear.wordpress.com&#038;blog=4155040&#038;post=549&#038;subd=jasear&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jasear.wordpress.com/2012/03/18/sharepoint-2010-fba-enable-search-by-part-or-full-name-in-people-picker/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c1b64111045e82b6dda5c652ed445c9f?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">jasear</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint 2010: Limit People Picker to search only FBA Users</title>
		<link>http://jasear.wordpress.com/2012/03/16/sharepoint-2010-limit-people-picker-to-search-only-fba-users/</link>
		<comments>http://jasear.wordpress.com/2012/03/16/sharepoint-2010-limit-people-picker-to-search-only-fba-users/#comments</comments>
		<pubDate>Fri, 16 Mar 2012 22:02:25 +0000</pubDate>
		<dc:creator>jasear</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[ASP.net]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[check names]]></category>
		<category><![CDATA[fba]]></category>
		<category><![CDATA[Forms Based Authentication]]></category>
		<category><![CDATA[Limit People Picker]]></category>
		<category><![CDATA[Mixed Mode Authentication]]></category>
		<category><![CDATA[People Picker]]></category>
		<category><![CDATA[People Picker Search Results]]></category>
		<category><![CDATA[setproperty]]></category>
		<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[web application]]></category>
		<category><![CDATA[Windows Authentication]]></category>

		<guid isPermaLink="false">http://jasear.wordpress.com/?p=533</guid>
		<description><![CDATA[&#160; Please refer to this post of mine on how to configure Forms Based Authentication (FBA) on a SharePoint Web Application. Consider the following scenario: You have configured FBA on a Web Application and created a Site Collection that uses FBA. Your Web Application uses mixed mode authentication (FBA and Windows Authentication). When you search &#8230; &#8230; <a href="http://jasear.wordpress.com/2012/03/16/sharepoint-2010-limit-people-picker-to-search-only-fba-users/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jasear.wordpress.com&#038;blog=4155040&#038;post=533&#038;subd=jasear&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>&nbsp;<br />
Please refer to <a href="http://jasear.wordpress.com/2012/03/16/sharepoint-2010-setting-up-form-based-authentication-fba-using-asp-net-sql-membership-provider/" title="How to configure FBA">this post</a> of mine on how to configure Forms Based Authentication (FBA) on a SharePoint Web Application. </p>
<p><strong>Consider the following scenario:</strong></p>
<p>You have configured FBA on a Web Application and created a Site Collection that uses FBA. Your Web Application uses mixed mode authentication (FBA and Windows Authentication). When you search for users in People Picker it shows you matches for both FBA and AD users. You would like to restrict People Picker to only show matches for FBA Users.</p>
<p>You can achieve this by running the following stsadm command:</p>
<pre class="brush: xml; title: ; notranslate">
stsadm -o setproperty -pn peoplepicker-onlysearchwithinsitecollection -url http://www.nameOfMySiteCollection.co.uk/ -pv yes
</pre>
<p>The &#8216;peoplepicker-onlysearchwithinsitecollection&#8217; part in there is misleading and doesnt really do what it implies, however, it does get rid of the AD user mataches from People Picker. </p>
<p><strong>Before running the stsadm command:</strong><br />
&nbsp;<br />
<a href="http://jasear.files.wordpress.com/2012/03/people-picker-before-1.png"><img src="http://jasear.files.wordpress.com/2012/03/people-picker-before-1.png?w=584" alt="People picker showing AD users" title="people picker before 2"   class="alignnone size-full wp-image-536" /></a><br />
&nbsp;<br />
<a href="http://jasear.files.wordpress.com/2012/03/people-picker-before-2.png"><img src="http://jasear.files.wordpress.com/2012/03/people-picker-before-2.png?w=584" alt="People picker showing AD users" title="people picker before 2"   class="alignnone size-full wp-image-536" /></a><br />
&nbsp;<br />
<strong>After running the stsadm command:</strong><br />
&nbsp;<br />
<a href="http://jasear.files.wordpress.com/2012/03/pp-b-1.png"><img src="http://jasear.files.wordpress.com/2012/03/pp-b-1.png?w=584" alt="People Picker after running stsadm command" title="pp b 1"   class="alignnone size-full wp-image-538" /></a><br />
&nbsp;<br />
<a href="http://jasear.files.wordpress.com/2012/03/pp-after-2.png"><img src="http://jasear.files.wordpress.com/2012/03/pp-after-2.png?w=584" alt="People Picker after running stsadm" title="pp after 2"   class="alignnone size-full wp-image-537" /></a></p>
<p>Please note that if you type in the full username of an AD user and click on the Check Names icon it will still resolve the user.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jasear.wordpress.com/533/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jasear.wordpress.com/533/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jasear.wordpress.com&#038;blog=4155040&#038;post=533&#038;subd=jasear&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jasear.wordpress.com/2012/03/16/sharepoint-2010-limit-people-picker-to-search-only-fba-users/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c1b64111045e82b6dda5c652ed445c9f?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">jasear</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/03/people-picker-before-1.png" medium="image">
			<media:title type="html">people picker before 2</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/03/people-picker-before-2.png" medium="image">
			<media:title type="html">people picker before 2</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/03/pp-b-1.png" medium="image">
			<media:title type="html">pp b 1</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/03/pp-after-2.png" medium="image">
			<media:title type="html">pp after 2</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint 2010: Setting up Form Based Authentication (FBA) using ASP.NET SQL Membership Provider</title>
		<link>http://jasear.wordpress.com/2012/03/16/sharepoint-2010-setting-up-form-based-authentication-fba-using-asp-net-sql-membership-provider/</link>
		<comments>http://jasear.wordpress.com/2012/03/16/sharepoint-2010-setting-up-form-based-authentication-fba-using-asp-net-sql-membership-provider/#comments</comments>
		<pubDate>Fri, 16 Mar 2012 18:26:21 +0000</pubDate>
		<dc:creator>jasear</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[ASP.net]]></category>
		<category><![CDATA[ASP.NET Membership Provider]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[fba]]></category>
		<category><![CDATA[form based authentication]]></category>
		<category><![CDATA[sharepoint]]></category>
		<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[SQL Memebership Provider]]></category>

		<guid isPermaLink="false">http://jasear.wordpress.com/?p=410</guid>
		<description><![CDATA[&#160; There are a few different ways of setting up Forms Based Authentication on a Web Application using ASP.NET SQL Membership as the Provider and in this post I will explain the approach I have used time and time again over the years. Please note that the method I use involves modifying the config files &#8230; &#8230; <a href="http://jasear.wordpress.com/2012/03/16/sharepoint-2010-setting-up-form-based-authentication-fba-using-asp-net-sql-membership-provider/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jasear.wordpress.com&#038;blog=4155040&#038;post=410&#038;subd=jasear&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>&nbsp;<br />
There are a few different ways of setting up Forms Based Authentication on a Web Application using ASP.NET SQL Membership as the Provider and in this post I will explain the approach I have used time and time again over the years. Please note that the method I use involves modifying the config files manually, however, there is another approach where this is done purely via IIS which I plan to blog about some time in the future.</p>
<p>We can break down the setup process into 7 steps (I am assuming here that we are setting it all up from scratch):</p>
<ul>
<li>Create the new Web Application</li>
<li>Set up the Membership Database</li>
<li>Modify the Web Application Web.config</li>
<li>Modify the Web.Config of the Central Admin</li>
<li>Modify the Web.Config of the STS (Security Token Service) Application</li>
<li>Add a new .NET User</li>
<li>Create the new Site Collection</li>
</ul>
<div>
<h2>1  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;           Create the new Web Application</h2>
</div>
<p>Go to Central Administration and create a new Web Application. Use the following information to create the Web Application:</p>
<ul>
<li>For Authentication select ‘Claims Based’</li>
<li>Claims Authentication Types
<ul>
<li>Uncheck ‘Enable Windows Authentication’ (optional: if you purely want to use FBA)</li>
<li>Check ‘Enable Forms Based Authentication (FBA)
<ul>
<li>ASP.NET Membership provider name: <span style="color:blue;font-weight:bold;">MyMembershipProvider</span></li>
<li>ASP.NET Role manager name : <span style="color:blue;font-weight:bold;">MyRoleProvider</span></li>
</ul>
</li>
</ul>
</li>
</ul>
<p>Fill out the rest of the form as per your requirement and create the Web Application.</p>
<p><span style="color:blue;font-weight:bold;">Please note that the Membership provider and Role Manager names used above are just examples and you can name them according to your requirements.</span><br />
&nbsp;</p>
<div>
<h2>2    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;         Setup the Membership Database</h2>
</div>
<p>Carry out the following steps to create the membership database:</p>
<ol>
<li>Go to C:\Windows\Microsoft.NET\Framework64\v2.0.50727 and run “aspnet_regsql.exe”</li>
<li>Select “Configure SQL Server for Application Services”</li>
<p><a title="Click to view full size image" href="http://jasear.files.wordpress.com/2012/03/fbadb.png"><img src="http://jasear.files.wordpress.com/2012/03/fbadb.png?w=584" alt="Creating the Membership Database" /><br />
</a></p>
<li>Choose Windows Authentication</li>
<li>Specify the Database name, this can be anything in our example we will use <span style="color:blue;font-weight:bold;">‘MyWebAppUsers’</span></li>
<p><a title="Click to view full size image" href="http://jasear.files.wordpress.com/2012/03/databasename.png"><img src="http://jasear.files.wordpress.com/2012/03/databasename.png?w=584" alt="Creating the Membership Database" /><br />
</a>
</ol>
<p><span style="color:red;font-weight:bold;">To ensure form based authentication works smoothly it is important that the application pool identity account of SharePoint Central Admin, The Web Application we created above and the SecurityTokenServiceApplication have the appropriate rights on the Membership database (MyWebAppUsers). I usually grant them db_owner rights.</span><br />
&nbsp;</p>
<div>
<h2>3   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;          Modify the Web Application Web.Config</h2>
</div>
<p>Add the following element after the &lt;/sharePoint&gt; and before the &lt;system.web&gt; element as below and change the value of <span style="color:blue;font-weight:bold;">&#8216;DbServername&#8217;</span> with the relevant database server name:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;connectionStrings&gt;
  &lt;add name=&quot;MyDbConnectionString&quot; connectionString=&quot;data source=DbServername;Integrated Security=SSPI;Initial Catalog=MyWebAppUsers&quot; providerName=&quot;System.Data.SqlClient&quot; /&gt;
&lt;/connectionStrings&gt;
</pre>
<p>Find the &lt;membership&gt; element and add your own provider as below:</p>
<pre class="brush: xml; title: ; notranslate">&lt;membership defaultProvider=&quot;i&quot;&gt;
&lt;providers&gt;
.....
&lt;add name=&quot;MyMembershipProvider&quot; type=&quot;System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&quot; connectionStringName=&quot;MyDbConnectionString&quot; enablePasswordReset=&quot;false&quot; enablePasswordRetrieval=&quot;true&quot; passwordFormat=&quot;Clear&quot; requiresQuestionAndAnswer=&quot;false&quot; requiresUniqueEmail=&quot;false&quot; applicationName=&quot;/&quot; /&gt;
&lt;/providers&gt;
&lt;/membership&gt;
</pre>
<p>Find the &lt; roleManager&gt; element and add your own provider as below:</p>
<pre class="brush: xml; title: ; notranslate">&lt;roleManager cacheRolesInCookie=&quot;false&quot; defaultProvider=&quot;c&quot; enabled=&quot;true&quot;&gt;
&lt;providers&gt;
   ......
   &lt;add name=&quot;MyRoleProvider&quot; type=&quot;System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&quot; applicationName=&quot;/&quot; connectionStringName=&quot;MyDbConnectionString&quot; /&gt;
&lt;/providers&gt;
&lt;/roleManager&gt;
</pre>
<p>Locate the &lt;PeoplePickerWildcards&gt; element and add the following element as below:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;PeoplePickerWildcards&gt;
   ......
   &lt;add Key=&quot;MyMembershipProvider&quot; value=&quot;*&quot; /&gt;
&lt;/PeoplePickerWildcards&gt;
</pre>
<p>This enables partial matches when you type in a username in a people picker control. Without this a user will only be matched if you type the exact username. We are basically telling SharePoint here the character to use (asterisk) to do the wilcard search in SQL.</p>
<div>
<h2>4  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;           Modify the Web.Config of the Central Admin</h2>
</div>
<p>Add the following after &lt;/sharePoint&gt; and before &lt;system.web&gt; element replacing <span style="color:red;font-weight:bold;">&#8216;DbServername&#8217;</span> with the relevant database server name.</p>
<pre class="brush: xml; title: ; notranslate">&lt;connectionStrings&gt;
&lt;add name=&quot;MyDbConnectionString&quot; connectionString=&quot;data source=DbServername;Integrated Security=SSPI;Initial Catalog=MyWebAppUsers&quot; providerName=&quot;System.Data.SqlClient&quot; /&gt;
&lt;/connectionStrings&gt;
</pre>
<p>Find the element &lt;membership&gt; and add your own provider as below:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;membership defaultProvider=&quot;MyMembershipProvider&quot;&gt;
&lt;providers&gt;
   .......
   &lt;add name=&quot;MyMembershipProvider&quot; type=&quot;System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&quot; applicationName=&quot;/&quot; connectionStringName=&quot;MyDbConnectionString&quot; enablePasswordReset=&quot;true&quot; enablePasswordRetrieval=&quot;true&quot; passwordFormat=&quot;Clear&quot; requiresQuestionAndAnswer=&quot;false&quot; requiresUniqueEmail=&quot;false&quot; /&gt;
&lt;/providers&gt;
&lt;/membership&gt;
</pre>
<p>Find the element &lt;roleManager&gt; and add your own provider as below:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;roleManager defaultProvider=&quot;AspNetWindowsTokenRoleProvider&quot; enabled=&quot;true&quot; cacheRolesInCookie=&quot;false&quot;&gt;
&lt;providers&gt;
 ......
 &lt;add name=&quot;MyRoleProvider&quot; type=&quot;System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&quot; applicationName=&quot;/&quot; connectionStringName=&quot;MyDbConnectionString&quot; /&gt;
&lt;/providers&gt;
&lt;/roleManager&gt;
</pre>
<p>Locate the &lt;PeoplePickerWildcards&gt; element and add the following element as below:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;PeoplePickerWildcards&gt;
&lt;clear /&gt;
   ......
   &lt;add Key=&quot;MyMembershipProvider&quot; value=&quot;*&quot; /&gt;
&lt;/PeoplePickerWildcards&gt;
</pre>
<p>&nbsp;</p>
<div>
<h2>5 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;           Modify the Web.Config of the STS Application</h2>
</div>
<p>Go to the root directory of the “SecurityTokenServiceApplication” which is typically located at: “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebServices\SecurityToken” and open the web.config.</p>
<p>Just before the &lt;/configuration&gt; element add the following ensuring you change the database server name to match the details of your database server.</p>
<pre class="brush: xml; title: ; notranslate">
  &lt;connectionStrings&gt;
    &lt;add connectionString=&quot;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=MyWebAppUsers;Data Source=DbServername&quot; name=&quot;MyDbConnectionString&quot; providerName=&quot;System.Data.SqlClient&quot; /&gt;
  &lt;/connectionStrings&gt;
    &lt;system.web&gt;
      &lt;membership defaultProvider=&quot;i&quot;&gt;
            &lt;providers&gt;
                &lt;add name=&quot;i&quot; type=&quot;Microsoft.SharePoint.Administration.Claims.SPClaimsAuthMembershipProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&quot; /&gt;
                &lt;add name=&quot;MyMembershipProvider&quot; type=&quot;System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&quot; connectionStringName=&quot;MyDbConnectionString&quot; enablePasswordReset=&quot;true&quot; enablePasswordRetrieval=&quot;true&quot; passwordFormat=&quot;Clear&quot; requiresQuestionAndAnswer=&quot;false&quot; requiresUniqueEmail=&quot;false&quot; applicationName=&quot;/&quot; /&gt;
            &lt;/providers&gt;
        &lt;/membership&gt;
      &lt;roleManager defaultProvider=&quot;c&quot; enabled=&quot;true&quot; cacheRolesInCookie=&quot;false&quot;&gt;
        &lt;providers&gt;
                &lt;add name=&quot;c&quot; type=&quot;Microsoft.SharePoint.Administration.Claims.SPClaimsAuthRoleProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&quot; /&gt;
                &lt;add name=&quot;MyRoleProvider&quot; type=&quot;System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&quot; applicationName=&quot;/&quot; connectionStringName=&quot;MyDbConnectionString&quot; /&gt;
            &lt;/providers&gt;
        &lt;/roleManager&gt;
    &lt;/system.web&gt;
</pre>
<p>Please note that I am making the assumption here that you dont have any other Web Applications in your farm with FBA enabled, if you do then a lot of these elements will already exist and all you need to do is to add the relevant parts from above to the relevant elements.<br />
&nbsp;</p>
<div>
<h2>6 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;           Add a new .NET User</h2>
</div>
<p>Now we need to add a user that we will use to login to the FBA site. To do this we need to carry out the following steps:</p>
<ul>
<li>Open up IIS (Start &gt; Run &gt; type inetmgr) </li>
<li>Select the SharePoint Central Administration v4 site from the list of sites</li>
<li>Double click on .NET Users from the right hand side (as in the screeshot below).</li>
<p><a title="Click to view full size image" href="http://jasear.files.wordpress.com/2012/03/addnewuser.png"><img src="http://jasear.files.wordpress.com/2012/03/addnewuser.png?w=584" alt="Add .NET user" /></a></p>
<li>From the actions menu on the right click on &#8216;Set Default Provider&#8217; and select &#8216;MyMembershipProvider&#8217; from the DropDownList (or whatever name you used to name the MembershipProvider)</li>
<li>From the actions menu click on &#8216;Add&#8217; and fill out the form (screenshot below)</li>
<p><a title="Click to view full size image" href="http://jasear.files.wordpress.com/2012/03/addingauser.png"><img src="http://jasear.files.wordpress.com/2012/03/addingauser.png?w=584" alt="Adding a new .NET user" /></a></p>
<li>After adding the user reset the Default Provider to what it was originally</li>
</ul>
<p>&nbsp;</p>
<div>
<h2>7 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;           Create the new Site Collection</h2>
</div>
<p>Create a new Site Collection under the Web Application we created in step 1 and set the user we created in step 6 as the Site Collection Administrator (screenshot below).</p>
<p><a title="Click to view full size image" href="http://jasear.files.wordpress.com/2012/03/createsitecollection.png"><img src="http://jasear.files.wordpress.com/2012/03/createsitecollection.png?w=584" alt="Adding a new .NET user" /></a></p>
<p>Once the Site Collection is created successfully, browse to it and login using the credentials of the user we created in step 6.</p>
<p><a title="Click to view full size image" href="http://jasear.files.wordpress.com/2012/03/loginpage.png"><img src="http://jasear.files.wordpress.com/2012/03/loginpage.png?w=584" alt="Login to the newly created Site Collection" /></a></p>
<p>Thats it! We have now successfully setup Forms Based Authentication on our Web Application. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jasear.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jasear.wordpress.com/410/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jasear.wordpress.com&#038;blog=4155040&#038;post=410&#038;subd=jasear&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jasear.wordpress.com/2012/03/16/sharepoint-2010-setting-up-form-based-authentication-fba-using-asp-net-sql-membership-provider/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c1b64111045e82b6dda5c652ed445c9f?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">jasear</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/03/fbadb.png" medium="image">
			<media:title type="html">Creating the Membership Database</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/03/databasename.png" medium="image">
			<media:title type="html">Creating the Membership Database</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/03/addnewuser.png" medium="image">
			<media:title type="html">Add .NET user</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/03/addingauser.png" medium="image">
			<media:title type="html">Adding a new .NET user</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/03/createsitecollection.png" medium="image">
			<media:title type="html">Adding a new .NET user</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/03/loginpage.png" medium="image">
			<media:title type="html">Login to the newly created Site Collection</media:title>
		</media:content>
	</item>
		<item>
		<title>ASP.NET LinkedListBoxes UserControl</title>
		<link>http://jasear.wordpress.com/2012/01/05/asp-net-linkedlistboxes-usercontrol/</link>
		<comments>http://jasear.wordpress.com/2012/01/05/asp-net-linkedlistboxes-usercontrol/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 02:02:26 +0000</pubDate>
		<dc:creator>jasear</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[ASP.net]]></category>
		<category><![CDATA[c#. .net]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[Linked ListBoxes]]></category>
		<category><![CDATA[ListBox]]></category>
		<category><![CDATA[MOSS 2007]]></category>
		<category><![CDATA[sharepoint]]></category>
		<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[SharePoint 2010; MOSS 2007; C#; ASP.NET]]></category>

		<guid isPermaLink="false">http://jasear.wordpress.com/?p=265</guid>
		<description><![CDATA[I needed a simple Linked ListBox control for a project but couldnt find one that was available for free so I ended up developing one myself. I have created a project for it on codeplex and published it. Please feel free to use/modify the control as you require. If you have any suggestions or feedback &#8230; &#8230; <a href="http://jasear.wordpress.com/2012/01/05/asp-net-linkedlistboxes-usercontrol/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jasear.wordpress.com&#038;blog=4155040&#038;post=265&#038;subd=jasear&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I needed a simple Linked ListBox control for a project but couldnt find one that was available for free so I ended up developing one myself.</p>
<p>I have created a project for it on codeplex and published it. Please feel free to use/modify the control as you require. If you have any suggestions or feedback then please feel free to leave a comment.</p>
<p>The control uses two ListBoxes with two buttons (add, remove) in between that allows you to add and remove items by using some Javascript. The screen shot below shows the control in action:</p>
<p><img src="http://jasear.files.wordpress.com/2012/01/linkedlistoxes.png?w=584" alt="LinkedListBox UserControl" /></p>
<p>You can download the complete source code from the link below:</p>
<p><a href="http://linkedlistboxes.codeplex.com/SourceControl/changeset/changes/66998" title="LinkedListBox UserControl sourcecode." target="_blank">LinkedListBox UserControl sourcecode.</a></p>
<p>You can also download a sample Visual Studio 2010 project that shows the control in action by going to the project home page and clicking on the Download button:</p>
<p><a href="http://linkedlistboxes.codeplex.com/" title="Project homepage" target="_blank">Project homepage</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jasear.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jasear.wordpress.com/265/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jasear.wordpress.com&#038;blog=4155040&#038;post=265&#038;subd=jasear&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jasear.wordpress.com/2012/01/05/asp-net-linkedlistboxes-usercontrol/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c1b64111045e82b6dda5c652ed445c9f?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">jasear</media:title>
		</media:content>

		<media:content url="http://jasear.files.wordpress.com/2012/01/linkedlistoxes.png" medium="image">
			<media:title type="html">LinkedListBox UserControl</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint 2010: List Fields not showing up in Edit, Display or New Forms</title>
		<link>http://jasear.wordpress.com/2011/12/28/sharepoint-2010-list-fields-not-showing-up-in-edit-display-or-new-forms/</link>
		<comments>http://jasear.wordpress.com/2011/12/28/sharepoint-2010-list-fields-not-showing-up-in-edit-display-or-new-forms/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 19:11:06 +0000</pubDate>
		<dc:creator>jasear</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[ASP.net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[caml]]></category>
		<category><![CDATA[fields]]></category>
		<category><![CDATA[list definition]]></category>
		<category><![CDATA[sharepoint]]></category>
		<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[splist]]></category>

		<guid isPermaLink="false">http://jasear.wordpress.com/?p=256</guid>
		<description><![CDATA[I have seen a lot of people get stuck on this issue. Look at the CAML markup in the list definition&#8217;s Schema.xml file below (this was auto-generated by the Visual Studio SharePoint &#8216;List Definition&#8217; template selecting Custom List as the list type): Looking at the list definition you would assume that the edit, display and &#8230; &#8230; <a href="http://jasear.wordpress.com/2011/12/28/sharepoint-2010-list-fields-not-showing-up-in-edit-display-or-new-forms/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jasear.wordpress.com&#038;blog=4155040&#038;post=256&#038;subd=jasear&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I have seen a lot of people get stuck on this issue.</p>
<p>Look at the CAML markup in the list definition&#8217;s Schema.xml file below (this was auto-generated by the Visual Studio SharePoint &#8216;List Definition&#8217; template selecting Custom List as the list type):</p>
<pre class="brush: xml; title: ; notranslate">
&lt;List xmlns:ows=&quot;Microsoft SharePoint&quot; Title=&quot;Custom List&quot; FolderCreation=&quot;FALSE&quot; Direction=&quot;$Resources:Direction;&quot; Url=&quot;Lists/ACustomList&quot; BaseType=&quot;0&quot; xmlns=&quot;http://schemas.microsoft.com/sharepoint/&quot;&gt;
  &lt;MetaData&gt;
    &lt;ContentTypes&gt;
      &lt;ContentTypeRef ID=&quot;0x01&quot;&gt;
        &lt;Folder TargetName=&quot;Item&quot; /&gt;
      &lt;/ContentTypeRef&gt;
    &lt;/ContentTypes&gt;
    &lt;Fields&gt;
      &lt;Field ID=&quot;{fa564e0f-0c70-4ab9-b863-0177e6ddd247}&quot; Type=&quot;Text&quot; Name=&quot;Title&quot; DisplayName=&quot;Title&quot; Required=&quot;TRUE&quot; StaticName=&quot;Title&quot; FromBaseType=&quot;TRUE&quot; /&gt;
      &lt;Field ID=&quot;{AACF7B24-80FC-4EB6-8C73-381626D056C6}&quot; Name=&quot;Value&quot; StaticName=&quot;Value&quot; Type=&quot;Note&quot; DisplayName=&quot;Value&quot; NumLines=&quot;6&quot; RichText=&quot;TRUE&quot; /&gt;
    &lt;/Fields&gt;
......
.............
</pre>
<p>Looking at the list definition you would assume that the edit, display and new forms would display two fields (Title and Value) but in actual fact it only displays the Title field.</p>
<p>The reason for this is that in the markup we have specified that the list uses the Item (0&#215;01) content type but the additional field is not part of that content type hence it does not appear in the forms.</p>
<p>To ensure they appear we either need to:</p>
<ul>
<li> Remove the content type reference from the markup</li>
<li> Or we could create a new content type that inherits from the Item content type and include this additional field as part of its definition. We can then reference that content type in our list definition instead of the Item content type.</li>
</ul>
<p>Other reasons that might cause your fields to not appear in edit, new and/or display forms of your list could be:</p>
<ul>
<li>Field&#8217;s ShowInEditForm, ShowInDisplayForm, ShowInNewForm attributes are set to FALSE</li>
<li>Field is Hidden</li>
<li>Field is set as ReadOnly</li>
<ul>
<p></p>
<p>Please note that this is not an exhaustive list. Hope this helps someone.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jasear.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jasear.wordpress.com/256/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jasear.wordpress.com&#038;blog=4155040&#038;post=256&#038;subd=jasear&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jasear.wordpress.com/2011/12/28/sharepoint-2010-list-fields-not-showing-up-in-edit-display-or-new-forms/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c1b64111045e82b6dda5c652ed445c9f?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">jasear</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint 2010 Login issue only using IE (Internet Explorer) on an FBA enabled Site</title>
		<link>http://jasear.wordpress.com/2011/12/27/sharepoint-2010-login-issue-only-using-ie-internet-explorer-on-an-fba-enabled-site/</link>
		<comments>http://jasear.wordpress.com/2011/12/27/sharepoint-2010-login-issue-only-using-ie-internet-explorer-on-an-fba-enabled-site/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 01:39:26 +0000</pubDate>
		<dc:creator>jasear</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[browser settings]]></category>
		<category><![CDATA[fba]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[microsoft sharepoint]]></category>
		<category><![CDATA[persistent cookie]]></category>
		<category><![CDATA[SharePoint 2010; MOSS 2007; C#; ASP.NET]]></category>

		<guid isPermaLink="false">http://jasear.wordpress.com/?p=245</guid>
		<description><![CDATA[Recently I bought a new laptop (OS: Windows 7 Professional). Using IE9 I opened up one of our SharePoint 2010 sites and tried to login and it just refreshed the login page with no error messages displayed. Using IE9 on my old laptop had never caused this issue. I searched a lot on the interwebs &#8230; &#8230; <a href="http://jasear.wordpress.com/2011/12/27/sharepoint-2010-login-issue-only-using-ie-internet-explorer-on-an-fba-enabled-site/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jasear.wordpress.com&#038;blog=4155040&#038;post=245&#038;subd=jasear&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Recently I bought a new laptop (OS: Windows 7 Professional). Using IE9 I opened up one of our SharePoint 2010 sites and tried to login and it just refreshed the login page with no error messages displayed. Using IE9 on my old laptop had never caused this issue.</p>
<p>I searched a lot on the interwebs to see if other people had encountered this issue and I found a lot of people in a similar situation but all the suggestions I found to solve this issue a) did not work for me, b) were unacceptable in any case. They included suggestions like adding the site as a trusted site and then making x,y and z changes to your browser settings.</p>
<p>One of our SharePoint 2010 site is a public facing site where people register and can gain access to the site. Imagine telling those 1000&#8242;s of users you need to make x,y,z changes to your browser settings in order to gain access to our site. </p>
<p>What I noticed was that I was having this issue when I clicked on the &#8220;remember me&#8221; checkbox on the login page (selecting this option issues a persistent cookie). If I did not check this option then I was able to login without any problems.</p>
<p>To cut a long story short, by a complete freak accident, I was able to fix this issue by making a small change in the web.config of the Web Application. If your site uses Claims Based Authentication you will see the following section in your web.config file:</p>
<pre class="brush: xml; title: ; notranslate">
 &lt;microsoft.identityModel&gt;
    &lt;service saveBootstrapTokens=&quot;true&quot;&gt;
      &lt;audienceUris /&gt;
      &lt;issuerNameRegistry type=&quot;Microsoft.SharePoint.IdentityModel.SPPassiveIssuerNameRegistry, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&quot; /&gt;
      &lt;securityTokenHandlers&gt;
        &lt;clear /&gt;
        &lt;add type=&quot;Microsoft.IdentityModel.Tokens.X509SecurityTokenHandler, Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&quot; /&gt;
        &lt;add type=&quot;Microsoft.SharePoint.IdentityModel.SPSaml11SecurityTokenHandler, Microsoft.SharePoint.IdentityModel, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&quot;&gt;
          &lt;samlSecurityTokenRequirement&gt;
            &lt;nameClaimType value=&quot;http://schemas.microsoft.com/sharepoint/2009/08/claims/userid&quot; /&gt;
          &lt;/samlSecurityTokenRequirement&gt;
        &lt;/add&gt;
        &lt;add type=&quot;Microsoft.SharePoint.IdentityModel.SPTokenCache, Microsoft.SharePoint.IdentityModel, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&quot; /&gt;
      &lt;/securityTokenHandlers&gt;
      &lt;federatedAuthentication&gt;
        &lt;wsFederation passiveRedirectEnabled=&quot;false&quot; issuer=&quot;https://none&quot; realm=&quot;https://none&quot; /&gt;
        &lt;cookieHandler mode=&quot;Custom&quot; path=&quot;/&quot; &gt;
          &lt;customCookieHandler type=&quot;Microsoft.SharePoint.IdentityModel.SPChunkedCookieHandler, Microsoft.SharePoint.IdentityModel, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&quot; /&gt;
        &lt;/cookieHandler&gt;
      &lt;/federatedAuthentication&gt;
    &lt;/service&gt;
  &lt;/microsoft.identityModel&gt;
</pre>
<p>I made the following change (<strong>persistentSessionLifetime=&#8221;60&#8243;</strong>):</p>
<pre class="brush: xml; title: ; notranslate">
&lt;cookieHandler mode=&quot;Custom&quot; path=&quot;/&quot; persistentSessionLifetime=&quot;60&quot;&gt;
</pre>
<p>I am not sure why but this fixed the issue for me.</p>
<p>Hope this helps someone else.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jasear.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jasear.wordpress.com/245/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jasear.wordpress.com&#038;blog=4155040&#038;post=245&#038;subd=jasear&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jasear.wordpress.com/2011/12/27/sharepoint-2010-login-issue-only-using-ie-internet-explorer-on-an-fba-enabled-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c1b64111045e82b6dda5c652ed445c9f?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">jasear</media:title>
		</media:content>
	</item>
	</channel>
</rss>
