I should also add, here is the section of my web.config file that is relevant.
 
<configuration>

<appSettings/>

<connectionStrings>

<add

name="AspNetDbFbaConnectionString"

connectionString="Data Source=YVR-SQL\YVRSQL1;Initial Catalog=FBA_1;Integrated 
Security=True" />

</connectionStrings>

<system.web>

<!--membership provider -->

<membership defaultProvider="FbaMember">

<providers>

<add

connectionStringName="AspNetDbFbaConnectionString"

enablePasswordRetrieval="false"

enablePasswordReset="true"

requiresQuestionAndAnswer="false"

applicationName="/"

requiresUniqueEmail="false"

passwordFormat="Hashed"

maxInvalidPasswordAttempts="5"

minRequiredPasswordLength="15"

minRequiredNonalphanumericCharacters="2"

passwordAttemptWindow="5"

passwordStrengthRegularExpression=""

description="Stores and retrieves membership data from the Microsoft SQL Server 
database"

name="FbaMember"

type="System.Web.Security.SqlMembershipProvider,System.Web,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a"
 />

</providers>

</membership>

<roleManager enabled="true" defaultProvider="FbaRole">

<providers>

<add

name="FbaRole"

connectionStringName="AspNetDbFbaConnectionString" applicationName="/"

description="Stores and retrieves roles data from the local Microsoft SQL 
Server database" 

type="System.Web.Security.WindowsTokenRoleProvider,System.Web,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a"
 />

</providers>

</roleManager>

 

  ________________________ 

Norm Bernard, Network Manager / Gestionnaire de réseaux 

tel/tél: 604-221-3023| facsimile/télécopieur: 604-221-3001 | [EMAIL PROTECTED] 
NRC Institute for Fuel Cell Innovation | 4250 Wesbrook Mall, Vancouver, B.C. 
V6T 1W5 
Institut d'innovation en piles à combustible du CNRC | 3250 East Mall, 
Vancouver (C.-B.) V6T 1W5 
Government of Canada | Gouvernement du Canada 

 

________________________________

From: Bernard, Norm [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 22, 2008 12:25 PM
To: NT System Admin Issues
Subject: MOSS and FBA problem.



Hello Folks 

Has anyone here managed to get Forms Based Authentication working with MOSS? 

I have followed the online guides to configure FBA with .Net 2.0 Everything 
LOOKS right and the VB2005 ASP.Net configuration tool runs and connects to the 
DB, but when I try to add roles, manage users, anything really, I get the 
following error:

An error was encountered. Please return to the previous page and try again. 
The following message may help in diagnosing the problem: Attribute not 
recognized 'connectionStringName' (C:\Documents and Settings\XXXXXXXXXX\My 
Documents\Visual Studio 2005\WebSites\mossFBA\web.config line 46) at 
System.Web.Administration.WebAdminPage.CallWebAdminHelperMethod(Boolean 
isMembership, String methodName, Object[] parameters, Type[] paramTypes) at 
ASP.security_roles_manageallroles_aspx.BindGrid() at 
ASP.security_roles_manageallroles_aspx.Page_Load() at 
System.Web.Util.CalliHelper.ArglessFunctionCaller(IntPtr fp, Object o) at 
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, 
EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at 
System.Web.UI.Control.LoadRecursive() at 
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, 
Boolean includeStagesAfterAsyncPoint) 

Any ideas? 

All help appreciated, Thanks! 

  ________________________ 

Norm Bernard, Network Manager / Gestionnaire de réseaux 

tel/tél: 604-221-3023| facsimile/télécopieur: 604-221-3001 | [EMAIL PROTECTED] 
NRC Institute for Fuel Cell Innovation | 4250 Wesbrook Mall, Vancouver, B.C. 
V6T 1W5 
Institut d'innovation en piles à combustible du CNRC | 3250 East Mall, 
Vancouver (C.-B.) V6T 1W5 
Government of Canada | Gouvernement du Canada 




~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~

Reply via email to