Currently we have a silverlight application that works out of browser, somethimes the silverlight application cannot connect to the server via the RIA services, if I log the error on the server I get following error:
Access to operation 'XXXX' was denied.:
at System.ServiceModel.DomainServices.Server.DomainService.ValidateMethodPermissions(DomainOperationEntry domainOperationEntry, Object entity)
at System.ServiceModel.DomainServices.Server.DomainService.ValidateMethodCall(DomainOperationEntry domainOperationEntry, Object[] parameters, List`1 validationResults)
at System.ServiceModel.DomainServices.Server.DomainService.Query(QueryDescription queryDescription, IEnumerable`1& validationErrors, Int32& totalCount)Inner Exception:
The annoying part is that this error is not reproducable, it occurs sometimes.