Help - WindowsIdentity.Name is Null?

M

Matt

Hi -

We have two different web applications that have just started showing
an error that we can't quite track down. Both applications are hosted
in II6, and both are setup to use Windows Authentication. A few users
have changed their passwords according to our password policy, and now
the following code throws an "Value Cannot be null" exception:

string s;
s =
System.Security.Prinicipal.WindowsIdentity.GetCurrent().Name.ToString();

It appears that the name property is null.

Yup, simply requesting the current users name causes the exception.
We've inspected all of the other properties off of the WindowsIdentity
instance, and they seem to be set (including "IsAuthenticated" is set
to True). Does anyone have ANY idea what's going on here? Or even a
thought about how to begin to track this down? It's a real
puzzler. . . .

-Matt and Noam
 

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

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top