P. 1


|Views: 8|Likes:
Published by Abhi

More info:

Published by: Abhi on Mar 12, 2012
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less





Various Steps to provide Forms authentication for Portal & its associated Shared Services


Run the aspnet_regsql from the dotnet command prompt to setup the aspnet db in the sql server.
C:\WINDOWS\Microsof t .NET\Framework\<vers ionNumber>


Open a new website from the visual studio and change the web.config file to include the connection string:
<connectionStrings> <remove name="LocalSqlServer" /> <add name="LocalSqlServer" connectionString="Server=Madan;Database=aspnetdb;uid=sa;pwd=sa;" providerName="System.Data.SqlClient" /> </connectionStrings>

Then click on the configuration prompt to add the users.


Change the web.config file of the Central Administration site to include the connection string as follows:
<connectionStrings> <remove name="LocalSqlServer" /> <add name="LocalSqlServer" connectionString="Server=Madan;Database=aspnetdb;uid=sa;pwd=sa;" providerName="System.Data.SqlClient" /> </connectionStrings>


The following are the applications created: a. SharePoint80 – A Web Application created with one of its Site Collection Template as Team Site. b. SharepointServices80 – Share point Services application (ssp application) c. SharepointSites80 – The web application created for all personal sites in Sharepoint80 Site. (created during ssp creation)


On the Application Tab, these are the different links that need to be modified (as shown in the successive steps)1


Click on Authentication providers link. Select the application in point# 4a. Set the values appropriately as shown in the figure.


Click on SiteCollectionAdministrators link. Select the same application as mentioned above. Add the user of aspnetdb as site collection administrator.


Go to Policy for Web Application link. Select the appropriate application as above. Click on Add User. Choose the default zone. Enter the FBA user set up in the aspnetdb. See the figure below for various values.

Repeat the steps 6,7,8 for the other applications mentioned in the point#4b and point#4c. 10. From the steps above, we have setup the forms authentication for the Portal Application, personal sites portal of the parent portal and Shared Services associated with the Portal.

We will not be able to access the features marked below from the Sharepoint services with the above setup. (Though logged into Shared Services with Forms authentication).

So proceed to execute the steps below.

Click on Authentication Providers link in Application Management for the Shared Services application. Replace the Forms authentication with the Windows Authentication as shown below:


Now go to SharedServices80  PersonalizationServices.


Add the FBA User and give all the permissions for the FBA User as mentioned below.


Go to SharedServices80  Business Data Catalog Permissions


Add the FBA User and give permissions as shown below:

Go back to Shared Services Application’s Authentication Provider. Repeat point#6 to set up the Forms authentication for the Shared Services. 17. The FBA setup using aspnet membership is completed with this. 18. The user will be able to login to the application or Shared services with forms authentication from aspnet sql membership.

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->