|
Hi Im trying to authenticate a user using AuthenticationService and an implementation of IEntityLoginManager My users have different database so I had to implement IDataSourceKeyResolver, all this works using aspx pages, but when i try the same thing in Silverlight i get this error {System.MethodAccessException: Attempt by method 'Microsoft.Internal.ReflectionInvoke.SafeInvoke(System.Reflection.ConstructorInfo, System.Object[])' to access method 'ClientService.Authentication.DealerliveConnectionOptionsResolver..ctor()' failed. at IdeaBlade.EntityModel.CoroutineOperation.HandleError(INotifyCompletedArgs notifyCompletedArgs) at IdeaBlade.EntityModel.CoroutineOperation.OnCompleted(INotifyCompletedArgs notifyCompletedArgs) at IdeaBlade.EntityModel.CoroutineOperation.OnError(Exception error) at IdeaBlade.EntityModel.CoroutineSerialProcessor.Process() at IdeaBlade.EntityModel.CoroutineProcessor.Start() at IdeaBlade.EntityModel.Coroutine.Start(Func`1 coroutine, Action`1 completedHandler) at Cocktail.AuthenticationService.LoginAsync(ILoginCredential credential, Action onSuccess, Action`1 onFail) at DealerLive.MainPage.Login() at DealerLive.MainPage..ctor() at DealerLive.App.Application_Startup(Object sender, StartupEventArgs e) at MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32 typeIndex, Delegate handlerDelegate, Object sender, Object args) at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)} Any help will be appreciated, thanks
------------- Jean
"If You are Not Making Mistakes, then You are Not Doing Anything.”
|