ASP.NET Context.User.IsInRole XP Problem

From: Jim McLeod (anonymous_at_discussions.microsoft.com)
Date: 06/07/04


Date: Mon, 7 Jun 2004 09:06:04 -0700

Hi guys,

I am having a problem with the following line of code on Windows XP Pro. The variable userRole is a string depicting my role on the local machine.

Context.User.IsInRole(userRole)

Basically when the ASP.NET page that is calling this code is refreshed the IsInRole method returns false when it should be returning true. It's not a consistent error, but it shouldn't be failing all the same.

Any ideas?

Jim...



Relevant Pages

  • Re: Form To Database
    ... accessing the server via remote desktop. ... you are working on your local machine ... running Windows XP Pro or Windows 2000 Pro ... >>I have tried to allow front page to create the database ...
    (microsoft.public.frontpage.client)
  • Re: The request failed with HTTP status 401: Unauthorized
    ... I am running on Windows XP Pro, ... You can use this code to send the "default credentials" to the ... machine) using another Web application (on the local machine) ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • WIndows XP vs Windows 2000
    ... I am going to upgrade my secured sever workstations that ... allowing someone to access the local machine. ... Does XP Pro ...
    (microsoft.public.windowsxp.security_admin)
  • Rights on Xp in 2000 Domain
    ... A few PC run XP pro, ... privelages when they login in to local machine, ... Application install issue. ...
    (microsoft.public.win2000.active_directory)
  • Application layer printing/spooler problems
    ... On Win2k pro and NT4 workstations the spooler is going crazy everytime we try ... percentage of processor time on the local machine and does nothing. ... machines are affected, some running Office XP Pro, some running Office 97 ...
    (microsoft.public.office.misc)