Logo 
Search:

MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

Forms Based Authentication

  Asked By: Deangelo    Date: Apr 06    Category: MOSS    Views: 818

I'm sure i'm staring at the problem/solutions, but cannot figure out
what it is. I have followed both sites, and i'm still having trouble with
the configuration. The FBA site is now displaying the login screen, but the
Central Admin Site is now giving me an application error. How does the
web.config for the Central Admin Site differ from the web.config of the FBA
site? The connection seems to be correct, but the connection settings for
the Central Admin web.config seem to be causing the site to fail.

www.codeproject.com/.../moss_enableforms.aspx
vivekthangaswamy.blogspot.com/.../moss-2007-no-match-found-when-tryin\
g-to.html


<!-- This is for the Central Admin -->
</MergedActions>
<connectionStrings>
<clear/>
<add name="fbaSqlServer" connectionString="data
source=.\SQLEXPRESS;Initial Catalog=fbaMembership;Integrated
Security=true" providerName="System.Data.SqlClient" />
</connectionStrings>
</SharePoint>

<machineKey
validationKey="B06F70FFC39FFF319817805444214A9D4110B3ACDD116C11"
decryptionKey="D4C07B04933D3AD1A5194C867C3F4BCED0F5A2495861FD2F"
validation="SHA1" />
<membership>
<providers>
<add name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider, System.Web,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="fbaSqlServer" enablePasswordRetrieval="false"
enablePasswordReset="true" requiresQuestionAndAnswer="true"
applicationName="/" requiresUniqueEmail="false"
passwordFormat="Hashed" maxInvalidPasswordAttempts="5"
minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1"
passwordAttemptWindow="10" passwordStrengthRegularExpression="" />
</providers>
</membership>
<profile>
<providers>
<add name="AspNetSqlProfileProvider"
connectionStringName="fbaSqlServer" applicationName="/"
type="System.Web.Profile.SqlProfileProvider, System.Web,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</providers>
</profile>
<roleManager>
<providers>
<add name="AspNetWindowsTokenRoleProvider"
applicationName="/"
type="System.Web.Security.WindowsTokenRoleProvider, System.Web,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</providers>
</roleManager>
</system.web>

<!-- This is for the FBA -->
<machineKey validationKey="C2FEAA597231BDA6BC9562091910D9115FE4D0FB39AB8AEB"
decryptionKey="6CA98C6E9AF04B3B9300CC3E93E15133AF82D15233DBA633"
validation="SHA1" />
<membership>
<providers>
<add name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider, System.Web,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="fbaSqlServer" enablePasswordRetrieval="false"
enablePasswordReset="true" requiresQuestionAndAnswer="true"
applicationName="/" requiresUniqueEmail="false"
passwordFormat="Hashed" maxInvalidPasswordAttempts="5"
minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1"
passwordAttemptWindow="10" passwordStrengthRegularExpression="" />
</providers>
</membership>
<profile>
<providers>
<add name="AspNetSqlProfileProvider"
connectionStringName="fbaSqlServer" applicationName="/"
type="System.Web.Profile.SqlProfileProvider, System.Web,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</providers>
</profile>
<roleManager>
<providers>
<add name="AspNetSqlRoleProvider"
connectionStringName="fbaSqlServer" applicationName="/"
type="System.Web.Security.SqlRoleProvider, System.Web,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="AspNetWindowsTokenRoleProvider"
applicationName="/"
type="System.Web.Security.WindowsTokenRoleProvider, System.Web,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</providers>
</roleManager>
</system.web>

</SharePoint>
<connectionStrings>
<clear/>
<add name="fbaSqlServer" connectionString="data
source=.\SQLEXPRESS;Initial Catalog=fbaMembership;Integrated
Security=true" providerName="System.Data.SqlClient" />
</connectionStrings>
<system.web>

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Forms Based Authentication Or get search suggestion and latest updates.




Tagged: