Welcome Guest! To enable all features please Login or Register.
Options
View
Go to last post Go to first unread
Offline MichaelKB  
#1 Posted : 30 May 2018 19:08:56(UTC)
MichaelKB


Rank: YAF Forumling

Reputation:

Joined: 30/05/2018(UTC)
Posts: 8
United States
Location: Tulsa, Oklahoma

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 2.2.4.12, .NET Framework 4.6.1.

Thank you!
Michael

Edited by user 30 May 2018 19:10:39(UTC)  | Reason: Not specified

Sponsor
Offline tha_watcha  
#2 Posted : 01 June 2018 14:52:54(UTC)
tha_watcha


Rank: YAF.NET Project Lead

Reputation:

Medals: Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.

Joined: 06/03/2010(UTC)
Posts: 3,880
Germany

Thanks: 73 times
Was thanked: 1181 time(s) in 1011 post(s)
Did you change the Setting for the YAF.ProviderKeyType in the app.config?
Offline MichaelKB  
#3 Posted : 01 June 2018 18:52:09(UTC)
MichaelKB


Rank: YAF Forumling

Reputation:

Joined: 30/05/2018(UTC)
Posts: 8
United States
Location: Tulsa, Oklahoma

May you live to be a thousand years old, sir! Thank you!
Rss Feed  Atom Feed
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Notification

Icon
Error