Last post Jul 07, 2015 10:05 PM by gtscdsi
Jun 17, 2015 04:42 AM|Danish woman|LINK
I am building a Identityserver3 with AspNet.Identity and MySql database.
I have build the identityserver stand alone, and it worked. Then I build the AspNet.Identity with Mysql and it worked.
Now I am trying to join them together but I got a weird error during login:
Could not load type 'CultureAwaiter`1' from assembly 'Microsoft.AspNet.Identity.Core, Version=188.8.131.52, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
The nuget package Microsoft.AspNet.Identity.Core is version 2.2.1 . I opened the cproj file and changed the version manually, but still I get this error.
Jun 17, 2015 10:18 PM|Li Wang|LINK
Hi Danish woman,
Thank you for your post.
It seems that you used CultureAwaiter<T> type in your project.
CultureAwaiter<T> is providered by EntityFramework.dll.
Please check you have added this dll to your project reference.
Hoping my reply could be helpful to you.
Jun 18, 2015 03:28 AM|Danish woman|LINK
Hi Li Wang
Thanks for you answer.
I have EntityFramework.dll in my project and the strange thing is that aspnet.identity project not throw errors when I use it without identityserver3.
It is the same code now with the identityserver3 embedden but with another startup.cs file.
Jul 07, 2015 10:05 PM|gtscdsi|LINK
Hi Danish woman,
I did some research based on your description but no luck to find much useful information about the assembly load issue.
Meanwhile I find a sample talking about ASP.NET Identity Support for IdentityServer3 (https://github.com/IdentityServer/IdentityServer3.AspNetIdentity).
You may try to post at
https://github.com/IdentityServer/IdentityServer3/issues to see if any other comments.
Hope the information useful to you!