MOSS 2007: form authentication error
- From: jetli <jetli@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 8 Sep 2006 03:53:01 -0700
Hi all,
I implemented the MOSS multiple authentication as follows: I created 1 web
application and then extended to 2 sharepoint sites (2 zones) from this
application. One is in the Default zone and other is Extranet zone
+ The site in Default zone work well with Windows Authentication (by default)
+ The Extranet one I configured as follows:
(I did all steps as in this tutorial:
http://blogs.msdn.com/sharepoint/archive/2006/08/16/702010.aspx )
1) Change code to the web.config file of the extranet site & the central
admin site:
<!-- CODE ENTERED-->
<connectionStrings>
<add name="AspNetSqlProvider" connectionString="server=dpt-sps01;
database=aspnetdb; Trusted_Connection=True" />
</connectionStrings>
<system.web>
<membership defaultProvider="AspNetSqlMembershipProvider">
<providers>
<remove name="AspNetSqlMembershipProvider" />
<add connectionStringName="AspNetSqlProvider"
passwordAttemptWindow="10" enablePasswordRetrieval="false"
enablePasswordReset="true" requiresQuestionAndAnswer="true"
applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed"
description="Stores and retrieves membership data from the Microsoft SQL
Server database" name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider, System.Web,
Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</providers>
</membership>
<roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
<providers>
<remove name="AspNetSqlRoleProvider" />
<add connectionStringName="AspNetSqlProvider" applicationName="/"
description="Stores and retrieves roles data from the local Microsoft SQL
Server database" name="AspNetSqlRoleProvider"
type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.3600.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</providers>
</roleManager>
..............
<!-- END OF CODE-->
2)Then I change the authentication provider of Extranet zone to Form and
AspNetSqlMembershipProvider ( aspnetdb was created with some users & roles)
3)Enable "Anonymous" to the entire website
------------------------------------------------------
Result:
However when I access the Extranet site, the web login form appear (not
allow anonymous access? ). When I try to enter the credential which is the
admin account of the site (this account created inaspnetdb), I got the HTTP
403 Fobbiden error: You are not authorized to view this page
What should I do to fix these errors?
Thank you very much,
.
- Follow-Ups:
- RE: MOSS 2007: form authentication error
- From: RRFreeman
- RE: MOSS 2007: form authentication error
- Prev by Date: Default rights when creating a site
- Next by Date: How to upload more than 100 mb MP3 files into Sharepoint Portal Server document library with out effecting the Perofrmance
- Previous by thread: Default rights when creating a site
- Next by thread: RE: MOSS 2007: form authentication error
- Index(es):
Relevant Pages
|