Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. DomainServices adn [RequiresRoles()]

DomainServices adn [RequiresRoles()]

Scheduled Pinned Locked Moved WPF
asp-netdatabasesecuritydebuggingquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    picasso2
    wrote on last edited by
    #1

    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.

    L 1 Reply Last reply
    0
    • P picasso2

      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.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Does this have anything to do with Silverlight or WPF?

      P 1 Reply Last reply
      0
      • L Lost User

        Does this have anything to do with Silverlight or WPF?

        P Offline
        P Offline
        picasso2
        wrote on last edited by
        #3

        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.

        L 1 Reply Last reply
        0
        • P picasso2

          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.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          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.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups