Using a Devforce 2012 Silverlight template and enabling Cocktail, I encounter this error when trying to access the AuthenticationService:
---
IdeaBlade.EntityModel.EntityServerConnectionException was unhandled by user code
Cancelled=False
Message=Unable to connect to EntityServer. Unable to start EntityServer-03032de2-fe20-4ec3-8a4e-8a868fdbffaa.svc service: The service '/EntityServer-03032de2-fe20-4ec3-8a4e-8a868fdbffaa.svc' cannot be activated due to an exception during compilation. The exception message is: Unable to find a compositionContext with the name: 03032de2-fe20-4ec3-8a4e-8a868fdbffaa.
StackTrace:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at SilverlightApplication1.ViewModels.ShellViewModel.VB$StateMachine_0_Login.MoveNext()
InnerException: System.ServiceModel.FaultException(Of IdeaBlade.EntityModel.EntityServerFault)
Message=Unable to start EntityServer-03032de2-fe20-4ec3-8a4e-8a868fdbffaa.svc service: The service '/EntityServer-03032de2-fe20-4ec3-8a4e-8a868fdbffaa.svc' cannot be activated due to an exception during compilation. The exception message is: Unable to find a compositionContext with the name: 03032de2-fe20-4ec3-8a4e-8a868fdbffaa.
StackTrace:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at IdeaBlade.EntityModel.RemoteEntityServiceProxyBase.<ExecuteOnServerAsync>d__1`1.MoveNext()
InnerException:
---
Any assistance would be appreciated it.