Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Edited Issue: WebSecurity.CreateUserAndAccount Sql Collation Issue [480]

$
0
0
Hello,

If Sql Server database collation is Turkish_CI_AS, I get that error at below cause UPPER function in SELECT Query in "GetUserId" method in SimpleMembershipProvider.cs class.

SQL UPPER('info') is not equal to "info".ToUpperInvariant() in Turkish_CI_AS

Exception Details: System.Web.Security.MembershipCreateUserException: The Provider encountered an unknown error.

Sql Server Database Collation : Turkish_CI_AS

C# code for trying : WebSecurity.CreateUserAndAccount("info", "123456");


Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>