Posted by: Mesmashu - Thursday, 14 August 2008 06:59:48 |
---|
I'm trying to install 1.9.3 on my employee portal. (.net 2.0) I use the ActiveDirectoryMembershipProvider. I can get to the install/default.aspx page just fine and I get to the Create Forum screen but when I tell it to use an existing user and put in my account for the admin I get the error. "Existing user name is invalid and does not represent a current user in the membership store." For the username I put in my domainname/username If I try to create a new user I get this error. [code]"Schema mapping for password question has not been specified." Stack Trace: [NotSupportedException: Schema mapping for password question has not been specified.] System.Web.Security.ActiveDirectoryMembershipProvider.CreateUser(String username, String password, String email, String passwordQuestion, String passwordAnswer, Boolean isApproved, Object providerUserKey, MembershipCreateStatus& status) +2371924 System.Web.Security.Membership.CreateUser(String username, String password, String email, String passwordQuestion, String passwordAnswer, Boolean isApproved, Object providerUserKey, MembershipCreateStatus& status) +224 System.Web.Security.Membership.CreateUser(String username, String password, String email, String passwordQuestion, String passwordAnswer, Boolean isApproved, MembershipCreateStatus& status) +28 YAF.Install._default.CreateForum() +552 YAF.Install._default.Wizard_NextButtonClick(Object sender, WizardNavigationEventArgs e) +552 System.Web.UI.WebControls.Wizard.OnNextButtonClick(WizardNavigationEventArgs e) +105 System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e) +453 System.Web.UI.WebControls.WizardChildTable.OnBubbleEvent(Object source, EventArgs args) +17 System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +35 System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +115 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +163 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102[/code] Any ideas? Thanks. |
Posted by: test2005 - Thursday, 14 August 2008 07:31:28 |
---|
I don't know much about the ActiveDirectoryMembershipProvider Class, but have you tried setting the "require question and answer" flag to false? |
Posted by: Mesmashu - Thursday, 14 August 2008 08:02:43 |
---|
trying to figure out why the Membership.GetUser is returning null. [code]// try to get data for the existing user... user = Membership.GetUser( ExistingUserName.Text.Trim() ); if ( user == null ) { AddLoadMessage( "Existing user name is invalid and does not represent a current user in the membership store." ); return false; }[/code] |
Posted by: Mesmashu - Thursday, 14 August 2008 08:24:17 |
---|
here's my ultimate goal. My users login to the employee portal which is validated through Active Directory. I want to have a forum link that takes them right into the yaf forums without having to log in again. Is this going to be possible? Will yaf "know" who the users are? |
Posted by: test2005 - Thursday, 14 August 2008 09:01:01 |
---|
[quote=Mesmashu]where do i change that?[/quote]
In your web.config file. Here's an example of the ASPNETSQLMembershipProvider
[code]
|
Posted by: Mesmashu - Thursday, 14 August 2008 09:07:35 |
---|
[code] |
Posted by: test2005 - Thursday, 14 August 2008 11:48:24 |
---|
Well this is outside my expertise. Out of curiosity, can you add/edit/delete posts? |
Posted by: Mesmashu - Thursday, 14 August 2008 12:03:52 |
---|
can't even get that far... this is during initial setup. if i try to go to yaf/default.aspx i get System.Exception: No data for board with id: 1 so it hasn't even created the forum yet because of the errors above. |
Posted by: test2005 - Thursday, 14 August 2008 12:23:08 |
---|
well this does sound like a configuration problem. Does your YAF test machine have rights to access AD? |
Posted by: Mesmashu - Friday, 15 August 2008 07:57:49 |
---|
It does have access because I have to login to the portal before I even get to the yaf/install page. So it's running off the same web.config file. |
Posted by: test2005 - Friday, 15 August 2008 15:41:53 |
---|
Your portal might have access...but YAF obviously doen't. Re-check your web.config file....got to be in there somewhere. |
Posted by: Mesmashu - Tuesday, 19 August 2008 13:26:00 |
---|
[code] |
Posted by: Mesmashu - Wednesday, 3 September 2008 12:22:26 |
---|
bumpity bump. |