Hello i am a new IT student i just start with c# and Active Directory and i made a Web Application on it but i am not able to connect it with my Active Directory , i will be glad if anyone helpd me throw it
Thanks
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Nilesh ShahPosted May 1, 2017, 10:28 AM
Nilesh ShahPosted May 2, 2017, 10:19 AM
"Unable to cast object of type 'System.Security.Principal.GenericIdentity' to type 'System.Web.Security.FormsIdentity'. ".
However, once authenticated, the cast is valid. Hope that helps.
I TPosted May 2, 2017, 4:55 AM
This is my code :
Cookie Path: " + ticket.CookiePath);
Ticket Expiration: " +
Expired: " + ticket.Expired.ToString());
Persistent: " + ticket.IsPersistent.ToString());
IssueDate: " + ticket.IssueDate.ToString());
UserData: " + ticket.UserData);
Version: " + ticket.Version.ToString());
The Application uses Form Authentication at the moment.