Unable to retrieve the user sid from context.

I

ipramod

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
 
S

Steve

Can you please post the code snippet, and give any details about how
your authentication is configured?


Steve C.
MCSD,MCAD,MCSE,MCP+I,CNE,CNA,CCNA
 
I

ipramod

I am using a third party control and I have created a simple web
application. I dont have any new code which is used for security
purpose.

Regards.
PI
 
S

Steve

It sounds like the user isn't authenticated in any way before the sid
check is made. If the 3rd party control is causing this error, it may be
that Windows authentication is needed, or that *some* authentication is
expected before this control runs. I would contact the control's author
for support.


Steve C.
MCSD,MCAD,MCSE,MCP+I,CNE,CNA,CCNA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,737
Latest member
Georgeengab

Latest Threads

Top