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

<channel>
	<title>FBA Archives - Blog IT</title>
	<atom:link href="https://blogit.create.pt/category/web/fba/feed/" rel="self" type="application/rss+xml" />
	<link>https://blogit.create.pt/category/web/fba/</link>
	<description>Create IT blogger community</description>
	<lastBuildDate>Thu, 10 Jan 2019 12:46:24 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>
	<item>
		<title>Super short guide to a successful SharePoint 2013 FBA Pack Installation</title>
		<link>https://blogit.create.pt/antoniobrisson/2014/12/17/super-short-guide-to-a-successful-experience-with-sharepoint-2013-fba-pack/</link>
					<comments>https://blogit.create.pt/antoniobrisson/2014/12/17/super-short-guide-to-a-successful-experience-with-sharepoint-2013-fba-pack/#respond</comments>
		
		<dc:creator><![CDATA[António Brisson]]></dc:creator>
		<pubDate>Wed, 17 Dec 2014 13:01:47 +0000</pubDate>
				<category><![CDATA[SharePoint 2013]]></category>
		<category><![CDATA[FBA]]></category>
		<category><![CDATA[SharePoint]]></category>
		<guid isPermaLink="false">http://blogit.create.pt/antoniobrisson/?p=111</guid>

					<description><![CDATA[<p>If you need a super-short reference to get FBA authentication rolling in your SharePoint application, you&#8217;ll find it here. This is a super short guide to a successful experience with Sharepoint 2013 FBA Pack.  For a fully detailed process please refer to Chris Coulson&#8217;s life saving article. Our goal? Provide FBA authentication in our SahrePoint [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/antoniobrisson/2014/12/17/super-short-guide-to-a-successful-experience-with-sharepoint-2013-fba-pack/">Super short guide to a successful SharePoint 2013 FBA Pack Installation</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you need a super-short reference to get FBA authentication rolling in your SharePoint application, you&#8217;ll find it here.</p>
<p>This is a super short guide to a successful experience with <a href="http://sharepoint2013fba.codeplex.com/">Sharepoint 2013 FBA Pack. </a> For a fully detailed process please refer to <a href="http://blogs.visigo.com/chriscoulson/configuring-forms-based-authentication-in-sharepoint-2013-part-1-creating-the-membership-database/http://">Chris Coulson&#8217;s life saving article.</a></p>
<p><strong>Our goal?</strong></p>
<p>Provide FBA authentication in our SahrePoint application</p>
<p><strong>What we need?</strong></p>
<p>The<a href="http://sharepoint2013fba.codeplex.com/"> SharePoint2013FBAPack zip file </a>with the Activate.ps1, Deploy.ps1, UnDeploy.ps1and Visigo.Sharepoint.FormsBasedAuthentication.wsp files.</p>
<p><strong>Our three simple steps?</strong></p>
<ol>
<li>Create users database</li>
<li>Install the <a href="http://sharepoint2013fba.codeplex.com/">Sharepoint 2013 FBA Pack</a></li>
<li>Configure web application</li>
</ol>
<p><strong>1. Create users database</strong></p>
<ol>
<li>Go to c:\windows\Microsoft.NET\Framework64\v4.0.30319\</li>
<li>Run “aspnet_regsql.exe”
<ol>
<li>Choose “Configure SQL Server for application services” -&gt; click Next</li>
</ol>
</li>
<li>Now that you have created your users database, you must make sure that the the identity running you SharePoint application pool can access it.
<ol>
<li>Where can you find this identity?  In IIS -&gt;“Application Pools”. Check the value in the Identity column of you SharePoint application pool. Take a note, you&#8217;ll need it later.
<ol>
<li>Open SQL server as an Administrator -&gt; Go to Security/Logins -&gt; Select the user that matches the identity identified earlier -&gt; Right click -&gt; Select Properties -&gt; Check the &#8220;Map&#8221; box for the database created previously and check the &#8220;db_owner&#8221; role. -Now the db is ready!</li>
</ol>
</li>
</ol>
</li>
</ol>
<p><strong>2 . Install the <a href="http://sharepoint2013fba.codeplex.com/">Sharepoint 2013 FBA Pack</a></strong></p>
<ol>
<li>If you haven&#8217;t download -the pack zip file do it now 🙂 and extract its content</li>
<li>Open a Powershell and navigate to the pack extraction path.</li>
<li>Run &#8220;Set-ExecutionPolicy Unrestricted&#8221; and &#8220;.\deploy [Site Collection URL]</li>
</ol>
<p><strong>3. Configure Web Application</strong></p>
<p>Now that we have a membership database,  that our SharePoint pool identity can access it and that the FBA pack is installed, we need to configure the membership provider in the config files.</p>
<p>From the approaches described in <a href="http://blogs.visigo.com/chriscoulson/configuring-forms-based-authentication-in-sharepoint-2013-part-1-creating-the-membership-database/http://">Chris Coulson&#8217;s life saving article.</a> I would recommend to avoid the approach that involves machine.config editing, because unless  you&#8217;re doing something very special you don&#8217;t really want to disseminate your apps specifics beyond its scope.</p>
<p>With this in mind, also make sure you always backup  your .config files before editing any &#8220;tiniest&#8221; change to avoid spending hours trying to resolve a character typo our encoding mistakes.</p>
<p>We are going to add the same changes to three different config files. You can find each of these by navigate through IIS -&gt; right click the application -&gt; Explore -&gt; Double click the &#8220;web.config&#8221; file :</p>
<ul>
<li>SharePoint Central Administration</li>
<li>SecurityTokenServiceApplication</li>
<li>Your SharePoint application web application</li>
</ul>
<ol>
<li>In the &lt;ConnectionString&gt; section add the following line, make sure that [SERVER NAME] matches the fully-qualified name of your db server:
<pre>&lt;add connectionString="Server=<strong>[SERVER NAME]</strong>;Database=aspnetdb;Integrated Security=true" name="<strong>[CONNECTION STRING NAME]</strong>" /&gt;</pre>
</li>
<li>In the &lt;membership&gt;&lt;providers&gt; section add the following and make sure that [CONNECTION STRING NAME]  matches the value of the previous step:
<pre>&lt;add name="<strong>[MEMBERSHIP PROVIDER NAME]"</strong>
 type="System.Web.Security.SqlMembershipProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
 connectionStringName=<strong>"[CONNECTION STRING NAME]"</strong>
 enablePasswordRetrieval="false"
 enablePasswordReset="true"
 requiresQuestionAndAnswer="false"
 applicationName="/"
 requiresUniqueEmail="true"
 passwordFormat="Hashed"
 maxInvalidPasswordAttempts="5"
 minRequiredPasswordLength="7"
 minRequiredNonalphanumericCharacters="1"
 passwordAttemptWindow="10"
 passwordStrengthRegularExpression="" /&gt;</pre>
</li>
<li>In the &lt;roleManager&gt;&lt;providers&gt; section add and make sure that [MEMBERSHIP PROVIDER NAME] and [CONNECTION STRING PROVIDER NAME] match the values of the previous steps.:
<pre>&lt;add name=<strong>"[MEMBERSHIP PROVIDER NAME]"</strong> connectionStringName="<strong>[CONNECTION STRING NAME]</strong>" applicationName="/"
 type="System.Web.Security.SqlRoleProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /&gt;</pre>
</li>
</ol>
<p>Now  you&#8217;ll be able to add the Membership Provider to your web application when enabling the Forms Based Authentication.</p>
<p>Ok, so&#8230; this might not be super-short, but it is short enough. Just be extra careful when editing the config files and you won&#8217;t have to worry about anything else.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a href="https://blogit.create.pt/antoniobrisson/2014/12/17/super-short-guide-to-a-successful-experience-with-sharepoint-2013-fba-pack/">Super short guide to a successful SharePoint 2013 FBA Pack Installation</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/antoniobrisson/2014/12/17/super-short-guide-to-a-successful-experience-with-sharepoint-2013-fba-pack/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
