Unable to retrieve the user sid from context



Hi,

I have a code snippet C# when executed gives the following exception
on IE.

___________________________________________________________________
Unable to retrieve the user sid from context. This is typically caused
by the context not yet being set.

Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.

Exception Details: System.Exception: Unable to retrieve the user sid
from context. This is typically caused by the context not yet being
set.
_____________________________________________________________________

Why this exception is raised?

Thanks in adv.,
PI

.



Relevant Pages

  • Unable to retrieve the user sid from context.
    ... I have a code snippet C# when executed gives the following exception ... Unable to retrieve the user sid from context. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Unable to retrieve the user sid from context.
    ... Can you please post the code snippet, and give any details about how your authentication is configured? ... I have a code snippet C# when executed gives the following exception ... Unable to retrieve the user sid from context. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: GetThreadContext doesnt return the correct Eip value
    ... > You will always see this address in the context of a thread that has ... You must use the exception record to retrieve the address ...
    (microsoft.public.win32.programmer.kernel)
  • Re: SharePoint Services Authentication problem (after SharePoint Server removal)
    ... Exception Details: System.UnauthorizedAccessException: Access to the path ... granting access rights to the resource to the ASP.NET request identity. ... System.IO.StreamWriter.CreateFile(String path, Boolean append) +55 ... context) +98 ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Exchange OWA 2003 "Server Error in /OWAAdmin Application"
    ... I can right click elsewhere within the outlook window but not on the ... Exception Details: System.UnauthorizedAccessException: Access to the path ... granting access rights to the resource to the ASP.NET request identity. ... context) +85 ...
    (microsoft.public.exchange.admin)