Hi everybody,
I' trying implement an authentication in my project. Every call to LoginAsync returns the error :
throw new Error("Unhandled Error in Silverlight 3 Application Call Connect() before doing a Login. em IdeaBlade.EntityModel.EntityManager.<LoginCoreAsync>b__8a(LoginOperation op)\n em IdeaBlade.EntityModel.AsyncProcessor`1.Execute()\n em IdeaBlade.EntityModel.EntityManager.<>c__DisplayClass8e.<LoginCoreAsync>b__8d()\n em IdeaBlade.EntityModel.EntityManager.DoAsyncAction(Action action)\n em IdeaBlade.EntityModel.EntityManager.LoginCoreAsync(AsyncProcessor`1 processor)\n em IdeaBlade.EntityModel.EntityManager.LoginAsync(ILoginCredential credential, Action`1 userCallback, Object userState)\n em AspAuthentication.LoginWindow.DoLogin()\n em AspAuthentication.LoginWindow.LoginButton_Click(Object sender, RoutedEventArgs e)\n em System.Windows.Controls.Primitives.ButtonBase.OnClick()\n em System.Windows.Controls.Button.OnClick()\n em System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)\n em System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)\n em MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)");
The most interesting is that i've downloaded the samples provided by IdeaBlade and this error also occurs in their projects:
ASP.NET Membership and Roles
ASP.NET Membership with Registration
I've read all documentation provided by ideablade and i can't find the cause neither a solution for this issue.
I'm using:
DevStudio 2010
SilverLight 4
.Net Framwork 4
SqlServer 2008 R2
Is there any clues?
Thanks in advance
João Salgado