Помогите Silverlight и FormAuthentication
От: Досяра  
Дата: 07.03.11 16:35
Оценка:
Здравствуйте!

Помогите пожалуйста в решении проблемы. Захостил Silverlight Bussines Application на IIS 7. При авторизации пользователя получаю exception :

There was a failure using the default 'MembershipProvider'. Please make sure it is configured correctly.
У пользователя нет разрешений на выполнение данного действия. Inner exception message: У пользователя нет разрешений на выполнение данного действия.


в System.ServiceModel.DomainServices.Server.ApplicationServices.AuthenticationBase`1.ValidateUser(String userName, String password)
в System.ServiceModel.DomainServices.Server.ApplicationServices.AuthenticationBase`1.Login(String userName, String password, Boolean isPersistent, String customData)
в Login(DomainService , Object[] )
в System.ServiceModel.DomainServices.Server.ReflectionDomainServiceDescriptionProvider.ReflectionDomainOperationEntry.Invoke(DomainService domainService, Object[] parameters)
в System.ServiceModel.DomainServices.Server.DomainOperationEntry.Invoke(DomainService domainService, Object[] parameters, Int32& totalCount)
в System.ServiceModel.DomainServices.Server.DomainService.Query(QueryDescription queryDescription, IEnumerable`1& validationErrors, Int32& totalCount)
в System.ServiceModel.DomainServices.Hosting.QueryProcessor.Process[TEntity](DomainService domainService, DomainOperationEntry queryOperation, Object[] parameters, ServiceQuery serviceQuery, IEnumerable`1& validationErrors, Int32& totalCount)
в System.ServiceModel.DomainServices.Hosting.QueryOperationBehavior`1.QueryOperationInvoker.InvokeCore(Object instance, Object[] inputs, Object[]& outputs)

На веб сервере VisualStudio 2010 все работает нормально.

Заранее благодарю.
http://doslab.ru Разработка и внедрение автоматизированных информационных систем

Пользователь не знает, чего он хочет, пока не увидит то, что он получил. (Э. Йодан)
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.