目前我们有一个silverlight应用程序在浏览器之外工作,有时silverlight应用程序无法通过RIA服务连接到服务器,如果我在服务器上记录错误,我会收到以下错误:
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:
烦人的部分是这个错误是不可重现的,它有时会发生。