RE: MOSS 2007: form authentication error
- From: jetli <jetli@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 8 Sep 2006 19:12:02 -0700
Thank you for your reply
I have double checked my configuration:
- Portal site allows anonymous to entire site
- form admin user has been added to: Portal site owner group, site
collection admin group and web application full access (in policy for web
app). When I try login with this user, it is sucessfully validated (right
username & pwd), but then it return http 403 forbidden (mean no right to
access the site)
What do you mean by "unpublished page"? All of the pages has been approved
after modification.
Thank you,
"RRFreeman" wrote:
If you get prompted for a login, then the site you are accessing is not using.
Anonymous or the site/page is denying access to anonymous. Maybe an
unpublished page?
For the second error,
Did you add the Forms Auth user to the appropriate Sharepoint Groups?
Note that the AD users are completely separate from the other provider logins.
"jetli" wrote:
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,
- References:
- MOSS 2007: form authentication error
- From: jetli
- RE: MOSS 2007: form authentication error
- From: RRFreeman
- MOSS 2007: form authentication error
- Prev by Date: Re: Customization Best Practices
- Next by Date: Re: Business Data Catalog (BDC) -- Does Not Work -- Sharepoint 2007 Beta
- Previous by thread: RE: MOSS 2007: form authentication error
- Next by thread: How to upload more than 100 mb MP3 files into Sharepoint Portal Server document library with out effecting the Perofrmance
- Index(es):
Relevant Pages
|