On a brand new installation, I've tested creating several users and none of them can see their profile page. Some things I've noticed, yaf_UserProfile table is empty, although the yaf_User, yaf_prov_Membership and yaf_prov_Profile tables are populated. Is that by design? I'm using your membership and profile providers with my own custom site. To ME, it looks like an issue of providerkey (guid/nvarchar(64)) trying to be read as an int like the yaf_User key. See the error:

[FormatException: Input string was not in a correct format.]
System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +14501304
System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +172
System.ComponentModel.Int32Converter.FromString(String value, NumberFormatInfo formatInfo) +62
System.ComponentModel.BaseNumberConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) +367

[Exception: 38FF80D3-9818-4090-9AE9-8F64735ECB13 is not a valid value for Int32.]
System.ComponentModel.BaseNumberConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) +588
YAF.Types.Extensions.ObjectExtensions.ConvertObjectToType(Object value, String type) +91
YAF.Core.UserMembershipHelper.GetMembershipUserByKey(Object providerUserKey) +24

This happens whether I use my own custom signup form or the forum register page.

Any thoughts?
Version, .NET Framework 4.6.1.

Thank you!
Did you change the Setting for the YAF.ProviderKeyType in the app.config?
May you live to be a thousand years old, sir! Thank you!

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

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved