DomainServices adn [RequiresRoles()]
-
I am using a [RequiresRole("MANAGERS")] in my domainServices to restrict the use of a RIA services. Users are configured via the ASPNET Web administrative tool.
When publish the website, the authentication does not work. I can verify that access to the DB and all files work fine by just removing the [RequiresRole("MANAGERS")] statement
However, If I run the project in debug mode (VS2010) then it works as expected.
May be I am missing something in the web.config. Any other files I need to copy from my project to the website? Any ideas are greatly appreciated.
-
I am using a [RequiresRole("MANAGERS")] in my domainServices to restrict the use of a RIA services. Users are configured via the ASPNET Web administrative tool.
When publish the website, the authentication does not work. I can verify that access to the DB and all files work fine by just removing the [RequiresRole("MANAGERS")] statement
However, If I run the project in debug mode (VS2010) then it works as expected.
May be I am missing something in the web.config. Any other files I need to copy from my project to the website? Any ideas are greatly appreciated.
-
I thinks so,…It is a silverlight application that uses domainservies and RIA!!!! In any case, it is always nicer to refrain making comments if there is no benefit to it. There are always nicer users willing to help.
picasso2 wrote:
I thinks so
So you don't actually know then? And the only technology you have mentioned in your question is ASPNET(sic) Web administrative tool.. Perhaps you should add more detail about the actual problem, and explain what it has to do with Silverlight or WPF.