locked
Role Status on Hosted Account RRS feed

  • Question

  • User-1909038188 posted

    I've combined all the related tables, Views and SPs into a single SQL2000 hosted database and changed web.config to point to that. It all works fine when I test it from my local machine. When I copy my web site files to my hosted web service and run it from there, the "IsAdmin" status is never True? Everything else seems to work fine  I created a debug.aspx page to display the user name, role etc. of the user and all looks fine.

    Any thoughts on what I did wrong here?

    Thursday, February 9, 2006 7:39 AM

All replies

  • User-1909038188 posted

    A little more information:

    After logging in as a user who has the "Administrators" role, if I fudge the code to set the IsAdmin variable to True, and then click on something like the "Add New Event" button on the Events link, it takes me to the login page. Again, as if the fact I am logged in is not seen. From what I can figure out, I think that when I get to the Events_Edit.aspx page, the Login_Banner.ascx LoginView1 control does not see the user as logged in?

    Does anyone know where/how that is determined?

    Saturday, February 11, 2006 10:33 AM