Having serious difficulty with the Membership section of the web.config. No one can log in. Have tried multiple permutations of the readme instructions and still getting no joy.
I've having the same issue on my site.
I want to interface .4 into a full site I am developing, and attempting to step through each part one at a time.
I am upgrading from YAF 22.214.171.124 and cannot lose my user base as is.
Here is what I've done so far:
:!: Downloaded the source files for 1.9.4 Beta 3.
:!: opened the Beta 3 source and compiled without error
:!: created a new web site in VS Web Express 2008
:!: Created a sub directory for my forums on my main site
:!: copied all files from the YetAnotherForum.Net Web Site into the sub directory of my main site.
:!: Deleted the default web.config created by VS 2008 when creating a new web site
:!: copied v191-upgrade-web.config from YetAnotherForum.NET\webconfigs to my root website
:!: renamed that config to web.config
:!: changed the connection string to point to my 126.96.36.199 database
:!: built the new website
:!: launched Firefox and opened http://localhost/newsite/forums/install/default.aspx
:!: ran through the installation package, with success.
:!: open http://localhost/newsite/forums/default.aspx and see the posts and what not
:!: attempt to log in as myself, receive "The user name or password entered is incorrect. Please try again."--insert random head to keyboard smash--
:!: Next I open SQL Server (2005 btw) and open the yaf_user tables...and see all the users listed in there
:!: I create a quick login page at the root site...and step through the code...It seems the Membership object cannot find any users.
Any ideas on what I did wrong?
Here is my web.config:
<roleManager enabled="true" defaultProvider="YafRoleProvider">
<add connectionStringName="yafnet" applicationName="Table Top Gamers" name="YafRoleProvider" type="YAF.Providers.Roles.YafRoleProvider"/>
<membership defaultProvider="YafMembershipProvider" hashAlgorithmType="MD5">
<add connectionStringName="yafnet" applicationName="Table Top Gamers" name="YafMembershipProvider" requiresUniqueEmail="false" type="YAF.Providers.Membership.YafMembershipProvider" hashHex="true" hashCase="upper"/>
<profile enabled="true" defaultProvider="YafProfileProvider" inherits="YAF.Classes.Utils.YafUserProfile">
<add connectionStringName="yafnet" applicationName="Table Top Gamers" name="YafProfileProvider" type="YAF.Providers.Profile.YafProfileProvider"/>
The end Goal is to make it possible to use the ASP.Net default membership functionality...but I wanted to step through one step at a time.