Documente Academic
Documente Profesional
Documente Cultură
1.
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>
2.
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>
3.
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>
4.
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)
5.
On the Application Tab, these are the different links that need to be modified (as shown in the successive steps)1
6.
Click on Authentication providers link. Select the application in point# 4a. Set the values appropriately as shown in the figure.
7.
Click on SiteCollectionAdministrators link. Select the same application as mentioned above. Add the user of aspnetdb as site collection administrator.
8.
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.
9.
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).
Click on Authentication Providers link in Application Management for the Shared Services application. Replace the Forms authentication with the Windows Authentication as shown below:
12.
13.
Add the FBA User and give all the permissions for the FBA User as mentioned below.
14.
15.
Go back to Shared Services Applications 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.
16.