J
John K
I have created CustomPrincipal and CustomIdentity classes. Everything works
great on my WinForms application, but as soon as i run my ASP.NET client I
get a System.InvalidCastException: Specified cast is not valid error on the
following line.
CustomIdentity id = (CustomIdentity)Thread.CurrentPrincipal.Identity;
The same exact code works in WinForms.
Help !
Thanks.
John
great on my WinForms application, but as soon as i run my ASP.NET client I
get a System.InvalidCastException: Specified cast is not valid error on the
following line.
CustomIdentity id = (CustomIdentity)Thread.CurrentPrincipal.Identity;
The same exact code works in WinForms.
Help !
Thanks.
John