ForumsIndexing task failing - Username not found in membership store

rated by 0 users
This post has 3 Replies | 2 Followers

Not Ranked
Posts 7
Points 95
jbabco Posted: Wed, May 7 2008 3:54 PM

I've imported my users and forums posts from another application.  Everything seems fine except the forum indexing is getting stuck at around 500 posts (we have 38,000).  I've trapped the error as it being written to the excpetion log:

exec dbo.cs_Exceptions_Log @SettingsID = 1000, @ExceptionHash = '281903749', @Category = 999, @Exception =
N'CommunityServer.Components.CSException: User Username not found in membership store does not exist.
   at CommunityServer.Users.AddMembershipDataToUser(UserSet users)
   at CommunityServer.Users.GetUsers(IList`1 userIds, Boolean isCacheable, Boolean fromCache)
   at CommunityServer.Users.AddUsersToCache(IList`1 userIds)
   at CommunityServer.Data.ForumsSqlDataProvider.SearchIndexPosts(Int32 setsize, ForumThreadQuery query)
   at CommunityServer.Data.ForumsSqlDataProvider.SearchReindexPosts(Int32 setsize, Int32 settingsID)
   at CommunityServer.Components.SearchBarrel.ForumsSearchJob.IndexPosts(Int32 setSize, Int32 settingsID)
   at CommunityServer.Components.SearchBarrel.SearchJob.IndexPosts(Int32 settingsID)
   at CommunityServer.Components.SiteSettingsManager.IterateSiteSettings(SiteSettingsListIterator iter)
   at CommunityServer.Components.SearchBarrel.SearchJob.Execute(XmlNode node)
   at Telligent.Tasks.Task.ᐁ()', @ExceptionMessage = N'Error occurred while running background task ForumsIndexing', @UserAgent = N'',
@IPAddress = '', @HttpReferrer = N'', @HttpVerb = N'', @PathAndQuery = N''

 

I've tried looking around the db for orphaned users (like userids in cs_Posts but not in cs_Users or aspnet_Membership) but couldn't find any.

  • Filed under:
  • | Post Points: 5
Not Ranked
Posts 7
Points 95
jbabco replied on Thu, May 8 2008 12:58 PM

Found it.  One of the PostAuthor usernames had a comma character in it.

  • | Post Points: 20
Top 200 Contributor
Posts 127
Points 1,650

what is the name of table you find it? I have same issue..

Thanks..

  • | Post Points: 20
Top 10 Contributor
Posts 4,039
Points 61,280
TelligentSupportTeam

I suspect it'll be cs_posts.

  • | Post Points: 5
Page 1 of 1 (4 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com