MOSS 2007: form authentication error

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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,

.



Relevant Pages

  • RE: IE automatic logon does not work after XP SP2
    ... IIS security on the web servers involved. ... > users that try to access company web sites that require authentication. ... > intranet zone and zone specific settings tell IE to try automatic logon. ...
    (microsoft.public.windowsxp.general)
  • MOSS 2007 Extranet Authentication problem
    ... I have a web application in Sharepoint 2007. ... zone Extranet ... For the default zone I have set the authentication to Windows - ... and for the extranet zone I have set it to Forms (the ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Sharepoint authentication
    ... Under Internet Options> Security ... Settings for the zone the site is in make sure that User Authentication is ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Getting 401.1 when using DNS, okay using NETBIOS and Localhost
    ... Internet address, hence why you recieve a prompt for login box. ... make sure your DNS name is included within your Intranet ... zone in IE. ... Integrated Windows Authentication may not work over the Internet - ...
    (microsoft.public.inetserver.iis.security)
  • Re: Getting prompted on IIS web
    ... Add the FQDN to the intranet or trusted zone and the problem ought to go ... > We have run a .NET app on a test and prod server for months. ... > Authentication method has not changed, only the URL now uses the entire> domain name. ...
    (microsoft.public.inetserver.iis.security)