I'm using Sitefinity 4.1. I'm writing my own custom asp.net membership provider with an existing database. This existing database doesn't have a Guid for identifying each record. I just implemented the GetallUsers method. When I return an empty MembershipUserCollection it works. If return a filled MembershipUserCollection I get an exception on the login page:
[FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).]
System.Guid.TryParseGuidWithNoStyle(String guidString, GuidResult& result) +3916597
System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result) +245
System.Guid.Parse(String input) +73
Telerik.Sitefinity.Security.UserWrapper.CopyFrom(MembershipUser user, String applicationName) +140
Telerik.Sitefinity.Security.MembershipProviderWrapper.GetUsers() +196
Telerik.Sitefinity.Security.Web.UI.LoginForm.InitializeProvidersList() +366
Telerik.Sitefinity.Security.Web.UI.LoginForm.CreateChildControls() +116
System.Web.UI.Control.EnsureChildControls() +102
System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +20
System.Web.UI.Control.FindControl(String id) +12
Telerik.Sitefinity.Security.Web.UI.LoginForm.get_ChangePasswordLink() +30
Telerik.Sitefinity.Security.Web.UI.LoginForm.UpdateVisibilityOfLinks() +121
Telerik.Sitefinity.Security.Web.UI.LoginForm.set_ShowChangePasswordLink(Boolean value) +60
Telerik.Sitefinity.Web.LoginRouteHandler.SetLoginLogoutFroms(Page handler, RequestContext requestContext, String view) +289
Telerik.Sitefinity.Web.LoginRouteHandler.InitializeHttpHandler(Page handler, RequestContext requestContext) +202
Telerik.Sitefinity.Web.RouteHandlerBase.Handler_PreInit(Object sender, EventArgs e) +199
System.Web.UI.Page.OnPreInit(EventArgs e) +8897726
System.Web.UI.Page.PerformPreInit() +31
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +328
|
I'd gues the Sitefinity security wrapper expects the ProviderUserKey to be a Guid which isn't the case. Or am I doing something wrong here?