Login language issue

Posted by Community Admin on 04-Aug-2018 20:42

Login language issue

All Replies

Posted by Community Admin on 17-Sep-2013 00:00

Hello,

I am running into an issue whenever a user tries to log in to our site (Sitefinity 5.4) when the user has Arabic set as the default language in his browser. The stack trace is:

System.FormatException: String was not recognized as a valid DateTime.   at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)   at System.DateTime.Parse(String s, IFormatProvider provider, DateTimeStyles styles)   at Telerik.Sitefinity.Security.Claims.ClaimsResolver.ParseSitefinityClaims(ClaimCollection claims, String& tokenId, Guid& userId, String& name, String& membership, DateTime& issueDate, DateTime& lastLoginDate, IEnumerable`1& roles, Boolean& isUnrestricted, Boolean& isBackendUser)   at Telerik.Sitefinity.Security.Claims.ClaimsIdentityProxy.Initialize(IClaimsIdentity identity)   at Telerik.Sitefinity.Security.Claims.ClaimsPrincipalProxy.Initialize(IClaimsPrincipal principal, String primaryIdentityLabel)   at Telerik.Sitefinity.Security.Claims.ClaimsResolver.GetPrincipal(HttpContext context)   at Telerik.Sitefinity.Security.Claims.SitefinityClaimsAuthenticationModule.OnPostAuthenticateRequest(Object sender, EventArgs e)   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Does anyone know of a fix for this, other than setting another language as default?

Posted by Community Admin on 20-Sep-2013 00:00

Hello Josh,

This issue should be fixed in Sitefinity 6.0 release. Here is a link to the release notes:
http://www.sitefinity.com/developer-network/forums/general-discussions-/sitefinity-6-0-released

And here is an excerpt from 6.0 release notes:
Authentication
Unable to authenticate when the culture is set to "ar" (Arabic)


We recommend that you upgrade your project following the official upgrade path and instructions on how to upgrade from one version to another. Here is a link to our documentation page on upgrades:
http://www.sitefinity.com/documentation/documentationarticles/installation-and-administration-guide/upgrade 
Please, follow the instructions since there are changes that are needed to be done in web.config file in order to upgrade correct your project.

Regards,
Miroslava
Telerik
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed