YAFLogo

startstop.me
11 years ago
😞

I have installed YAF and managed to get everything up and running. I'm using two databases because the solution is to be integrated into an existing site. I've copied my membership, role providers from the working site and authentication now seems to work. However, there seems to be a problem with the profiles, or something. I get an error message when I try to save the host settings, ditto for changing profiles online and when posting a message (even tho the message posts correctly).

Here's my config settings;





















and here's the error;

Exception information:
Exception type: NullReferenceException
Exception message: Object reference not set to an instance of an object.
at YAF.Pages.profile.SetupUserProfileInfo(Int32 userID, MembershipUser user, CombinedUserDataHelper userData, String userDisplayName)
at YAF.Pages.profile.BindData()
at YAF.Pages.profile.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Sponsor

bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer
11 years ago
You should tell your profile provider about field names in a manner.
startstop.me
11 years ago
Hi -

Thank you for responding, what field names do I need to add and how should this be done?

All the best,

Phil.
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button